[RESOLVED] INSERT INTO Report
Really could use some help on this one...
Is it possible to INSERT data into a report on microsoft access?
I have the report already created and data gets moved into the table that links with the report and it seems to show the data, but I would like to add two more pieces of data to it but it seems not to be working.
I would like to add the min and max time to the report which is taken from another table called MainDataLog.
VB Code:
Connect.Execute "INSERT INTO Shift_Totals (" & _
"MaxTime ," & _
"MinTime ," & _
"Select ," & _
"MIN([TIME]) , " & _
"MAX([TIME]), " & _
"FROM MainDataLog"
The error I am getting is syntax error in insert into statement
Re: [RESOLVED] INSERT INTO Report
Thanks for all the help...
I added the code posted the access report vba, didn't work at first but went to tools references and enabled activeX... works like a charm....thanks again