J
John Martin
I wish to create an input box into which the user can type all or part of a
field to open a form which will show all the fields matching the criteria.
According to "Help" a SQL expression (without the word WHERE) should do the
trick. I imagined that one of the following would work where, but neither does:
DoCmd.Openform "Table Name", acViewnormal, , Field Name = InputBoxStr & "*"
DoCmd.Openform "Table Name", acViewnormal, , Field Name LIKE InputBoxstr
Or am I going about this the wrong way? This must be a common procedure. You
will appreciate that I am more than eligible for "gettingstarted"
field to open a form which will show all the fields matching the criteria.
According to "Help" a SQL expression (without the word WHERE) should do the
trick. I imagined that one of the following would work where, but neither does:
DoCmd.Openform "Table Name", acViewnormal, , Field Name = InputBoxStr & "*"
DoCmd.Openform "Table Name", acViewnormal, , Field Name LIKE InputBoxstr
Or am I going about this the wrong way? This must be a common procedure. You
will appreciate that I am more than eligible for "gettingstarted"