D
Dan Cole
I have an unbound textbox on my main switchboard named
OrderLookUp. I have the AfterUpdate event set to a macro
called OrderLookUp, which has the action OpenForm, Form
Name is Orders, Where Condition is [Forms]![Orders]!
[OrderID]=[Forms]![Main Switchboard]![OrderLookUp].
However, when I enter a value into OrderLookUp, it runs
the macro and opens the form called Orders, but it's a
blank form, even though the value I entered definetely
corresponds to a value on the form Orders.
Basically, I want to be able to enter an order number on
the main switchboard, hit enter, and have the database
open the order form to that particular order. What am I
doing wrong? Thanks.
OrderLookUp. I have the AfterUpdate event set to a macro
called OrderLookUp, which has the action OpenForm, Form
Name is Orders, Where Condition is [Forms]![Orders]!
[OrderID]=[Forms]![Main Switchboard]![OrderLookUp].
However, when I enter a value into OrderLookUp, it runs
the macro and opens the form called Orders, but it's a
blank form, even though the value I entered definetely
corresponds to a value on the form Orders.
Basically, I want to be able to enter an order number on
the main switchboard, hit enter, and have the database
open the order form to that particular order. What am I
doing wrong? Thanks.