I have a "bridge" I've created (3 separate Append queries, controlled by a macro) to take data from a Read Only SQL database, and move it to another SQL database that our ERP system uses.
There is a field in the first database that is an open text field. In order for the "bridge" to work correctly, it must have a valid Product Code (as determined by the second SQL Database, we have about 30 codes currently) . What I really need is to have in my macro some sort of data validation occur on this field, then let the user know that it is incorrect. My trouble is coming up with the right way to throw up a flag.....not sure if I need to incorporate Dcount or not, as there are multiple records that would need to be validated per append query (could be 1, or could be 100 records)....
There is a field in the first database that is an open text field. In order for the "bridge" to work correctly, it must have a valid Product Code (as determined by the second SQL Database, we have about 30 codes currently) . What I really need is to have in my macro some sort of data validation occur on this field, then let the user know that it is incorrect. My trouble is coming up with the right way to throw up a flag.....not sure if I need to incorporate Dcount or not, as there are multiple records that would need to be validated per append query (could be 1, or could be 100 records)....