jeffwest21
IS-IT--Management
I have a series of forms that after a user has entered some data, on submit also prints out a report, there are times when the report doesn't always print out the data (text fields and bar chart) it just comes out blank.
I am using this in my vba code
DoCmd.OpenReport "Agent_Report_Nodd_Com", acPreViewReport, , "Report_Mon_ID = " & Me.ID.Value
The Me.id is a form identity field that is picked up, the report then queries the backend SQL database to get the data. This is consistent, in that it does pull it back except for a few users.
If I add a pause will this solve the issue?? or do I need to do something else to make this work everytime?
'Clever boy...'
I am using this in my vba code
DoCmd.OpenReport "Agent_Report_Nodd_Com", acPreViewReport, , "Report_Mon_ID = " & Me.ID.Value
The Me.id is a form identity field that is picked up, the report then queries the backend SQL database to get the data. This is consistent, in that it does pull it back except for a few users.
If I add a pause will this solve the issue?? or do I need to do something else to make this work everytime?
'Clever boy...'