Gogargirl Posted April 6, 2001 Posted April 6, 2001 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...
PinnWal Posted April 6, 2001 Posted April 6, 2001 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...
Recommended Posts
This topic is 8672 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 accountSign in
Already have an account? Sign in here.
Sign In Now