Jump to content

Validation problem?


This topic is 8442 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hmmmmm.....

I've got a dbase where the records are people. There is text field called CODE into which, when required, the user can input an alphanumeric code (which gets used for all kinds of other things). The text field has a Strict, Unique validation. Fine.

The problem occurs when I want to create a new record. The easy way is usually to duplicate an existing record where 80 per cent of the contact details are the same, and then just change the name and any other relevant data. But doing this duplicates the CODE field exactly, and no error message shows up indicating that it's no longer unique - even with the cursor in the field, or having just clicked out of it. This is a bit dangerous for my purposes... shocked.gif" border="0

Link to comment
Share on other sites

Alison-

Instead of manually duplicating the record, do it via Script. Then end the script with a dialog that goes something like this...

Duplicate Record

Clear Field (CODE)

Goto Field (CODE)

That should accomplish what you're trying to do. Hope it's helpful... smile.gif" border="0

Link to comment
Share on other sites

This topic is 8442 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.