A
Aaron G
Using Access 2003,
I'm trying to create a command button on a form (frmBase) that will open a
popup form (frmPopup) with related data (linked relationship of "ID" and
"ForeignID"). I can get this to work fine, HOWEVER, if there is no data (ie.
the ForeignID does not exist) then I want to open the form in DataEntry =
True mode. I know how to open a form in DataEntry mode, but I'm having
difficulty with the IF/Then.
So, what conditional code do I need to see if a record exists?
TIA
Aaron G
Philadelphia, PA
I'm trying to create a command button on a form (frmBase) that will open a
popup form (frmPopup) with related data (linked relationship of "ID" and
"ForeignID"). I can get this to work fine, HOWEVER, if there is no data (ie.
the ForeignID does not exist) then I want to open the form in DataEntry =
True mode. I know how to open a form in DataEntry mode, but I'm having
difficulty with the IF/Then.
So, what conditional code do I need to see if a record exists?
TIA
Aaron G
Philadelphia, PA