ProfReynolds
Programmer
I have a Microsoft Access application (local machine) that writes records to a table in a second Access database (on another computer). I then immediately generate a report via Crystal Reports in a separate (local) application. The problem is that the last record does not print in the report.
Any ideas???
Program sequence:
Any ideas???
Program sequence:
Code:
set db = OpenDatabase(...) ' remote database
set rsin = db.OpenRecordset(..., dbOpenDynaset)
set rsout = db.OpenRecordset(..., dbOpenTable) ' same table
' replicate all of the rsin into rsout, with
' rsout.AddNew and rsout.Update
rsout.Close
rsin.Cose
set rsout = nothing
set rsin = nothing
set db = nothing
' start Crystal Reports application