chamill
07-11-2001, 05:17 AM
I am trying to kick off a report through VBA using a where clause which I can get to work for a numeric but I can't seem to get it to work for a literal.
Below is the syntax I am using for a numeric could anyone please tell me what I have to change for it to work with a literal ie "Marsh"
DoCmd.OpenReport stDocName, acPreview, , "[qryNotificationsByBroker]![BrokerAddressID] = 112"
I would be grateful for any help
Thanks
Conor M Hamill
Below is the syntax I am using for a numeric could anyone please tell me what I have to change for it to work with a literal ie "Marsh"
DoCmd.OpenReport stDocName, acPreview, , "[qryNotificationsByBroker]![BrokerAddressID] = 112"
I would be grateful for any help
Thanks
Conor M Hamill