mikewood1980
Registered User.
- Local time
- Today, 11:23
- Joined
- May 14, 2008
- Messages
- 45
Hi
I am trying to execute the following query in my VBA code:
You will see that tblVerticalTests has a field called "Airborne/Impact" - when I change this in the code to another field without a slash it works ok... So I am assuming that the "/" is the problem - does anyone know how i can refer to this field in a way that will not upset the code (I cant change the name of the field not as its used in other parts of the program and will take far too long to rectify!)
Thanks in advance for your help
Mike Wood
I am trying to execute the following query in my VBA code:
Code:
sQuery = "select * from tblVerticalTests where ((tblVerticalTests.chrReportID) = '" & Me.cboReportID & "') and ((tblVerticalTests.Airborne/Impact) = 'Airborne')"
Thanks in advance for your help
Mike Wood