Looking for some help on a issue I haven't been able to solve.
I have a form used to create purchase orders. On this form I have a list box that is based off a querie to show the user all the other items ordered under the same purchase order number. I want the user to be able to click on the item in the list box and the form will go to that record. I tried to copy the code for a normal search box but end up getting a "type mismatch" error. The code is in macro builder and is as follows
search for record
object type Form
Object name parts order
record first
where condition= ="[id] = "&Str(Nz([screen].[activecontrol],0))
Thank you for your help