Hiya,
I'm scratching my head on this one. :banghead:
I have a button on my "Customers" Form to open the "CustomerReport" Report. I've put the standard DoCmd with a where condition in the OnClick of the button on the form.
If i'm on record number one, the report opens fine. If i'm on any other record, the report opens with only the labels in place, and no actual data is displayed. I don't get it, help!
The Cust_ID field is an autonumber if that helps, i suspect that is causing the issue but can't for the life of me remember how to get access to handle it!
TIA
I'm scratching my head on this one. :banghead:
I have a button on my "Customers" Form to open the "CustomerReport" Report. I've put the standard DoCmd with a where condition in the OnClick of the button on the form.
Code:
DoCmd.OpenReport "CustomerReport", acViewPreview, , "Cust_ID = " & Me.Cust_ID
If i'm on record number one, the report opens fine. If i'm on any other record, the report opens with only the labels in place, and no actual data is displayed. I don't get it, help!
The Cust_ID field is an autonumber if that helps, i suspect that is causing the issue but can't for the life of me remember how to get access to handle it!
TIA