Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

Trying to open form to display certain types of records

I'm using this code in an attempt to open a form to display only records where InventoryType is 1.  It is not working.  I get an error...

Database can't find the field '|1' referred to in your expression.  


DoCmd.OpenForm "frmInventoryRecordsInbound", acNormal, , [InventoryType] = 1, acFormEdit, acWindowNormal
ASKER CERTIFIED SOLUTION
Avatar of Fabrice Lambert
Fabrice Lambert
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial