M
maureen
I have a macro that I would like to ad a condition to on
the RUNCOMMAND - SAVERECORD line. Or where ever it makes
sense to --
What's happening on this form is I am creating, sometimes
recreating, product item numbers. The PRODITEMNUM field
index property is set to 'yes - no duplicates' so all
product item numbers will be unique.
Since the likelyhood of duplicate product numbers
attempting to be created by the users is great, I need to
first do a "TEST SAVE" or a comparison to see if the
current PRODITEMNUM will generate a duplicate values
error upon saving the record. I need to do this "test"
before or immediately after the users LEAVES the
PRODITEMNUM field and BEFORE he/she can do anything else
on the form. I can not put a SAVERECORD command on the
On Change nor on the on exit events for other reasons.
Can you help?
the RUNCOMMAND - SAVERECORD line. Or where ever it makes
sense to --
What's happening on this form is I am creating, sometimes
recreating, product item numbers. The PRODITEMNUM field
index property is set to 'yes - no duplicates' so all
product item numbers will be unique.
Since the likelyhood of duplicate product numbers
attempting to be created by the users is great, I need to
first do a "TEST SAVE" or a comparison to see if the
current PRODITEMNUM will generate a duplicate values
error upon saving the record. I need to do this "test"
before or immediately after the users LEAVES the
PRODITEMNUM field and BEFORE he/she can do anything else
on the form. I can not put a SAVERECORD command on the
On Change nor on the on exit events for other reasons.
Can you help?