I have a form with a query linked subform. Also on the form is a
textbox.
I want to pull up an AddItem subform if the data in the textbox does
not exsist in the table, and a UpdateItem subform if the item does
exsist.
I believe I would put the code in the AfterUpdate part of the textbox
function. With something like
If(Me.txtItem = "") Then
DoCmd.Openform("AddItem_subform")
Else
DoCmd.Openform("UpdateItem_subform")
Obviously this is psuedo-code, or I wouldn't be asking for help :)