Quantcast
Channel: Best Method
Browsing latest articles
Browse All 5 View Live

Best Method

You could use the Before Update event of the form to check whether the combination of the 5 fields occurs in the table for values of the autonumber field <> the value of the autonumber field in...

View Article


Best Method

Hans,Thanks for your information.  If I don't like the access generated message as a result of not being unique, can I use a on error event to replace it?  So where would I use that event?

View Article


Best Method

Since everyone suggested that my primary key was not a good idea, I don't have any idea how to do this check.  Any suggestions?Hi tkosel,For creating new records, I use an unbound New-form for entering...

View Article

Image may be NSFW.
Clik here to view.

Best Method

As others have suggested, use an AutoNumber field as primary key.Then create a composite index on the 5 fields, and set the Unique property of this index to Yes. Users won't be able to enter duplicate...

View Article

Best Method

I have a table with 5 fields that I am concerned with.  I was going to concatenate the data in those five fields to create a new field.  I was going to make this new field the primary key, as that...

View Article

Browsing latest articles
Browse All 5 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>