Hello all, I have a database with 2 tables each having a common field "actID". I am trying to select everything from table1 where the date = date+7, this is all fine, in addition I would like to select the info from table2 where actID=actID from table1 and then loop through all the data and display info from both tables in the single loop..?? I'm sure it can be done but I am at the edge of the cliff at this point without the safety net.... I have tried joins, query's and still no luck (type mis-match).. Here is one of the sql statements I have tried with no luck..
sql = "SELECT accounts.*, calendar.* FROM accounts INNER JOIN calendar ON calendar.actID = accounts.actID"
Here is another that works, but does not give all the info I need...
sql = "SELECT * FROM calendar WHERE calendarDate = #" & dtToday & "#"
Any help would be greatly appreciated, thanks...
-Roland
sql = "SELECT accounts.*, calendar.* FROM accounts INNER JOIN calendar ON calendar.actID = accounts.actID"
Here is another that works, but does not give all the info I need...
sql = "SELECT * FROM calendar WHERE calendarDate = #" & dtToday & "#"
Any help would be greatly appreciated, thanks...
-Roland