Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditional Expression when running Macro

Status
Not open for further replies.

ITbeast

IS-IT--Management
Jul 25, 2006
67
US
Hello,

Does anyone have a way I can halt a Macro if it determines that records in one table already exist in another table. I have been introduced to conditional expressions, but I'm not sure exactly how it works.

Pretty much, I want to check the formid field in the dump_table and check it against the formid in the house_table and if there are any matches, I don't want the macro to do anything besides give a cryptic error message.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top