access+course - access data
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » access+course - Access 2003 Data Validation

access+course - Access 2003 Data Validation

resolvedResolved · Low Priority · Version Standard

replyReply Thu 24 May 2007, 12:26Delegate Steve said...

Steve has attended:
Access Introduction course

Access 2003 Data Validation

When entering a record, can I format a field so that the entered information (in this case it happens to be a part number) cannot be a duplicate of an existing entry in that particular field? If so how? Null entries must be permissable however.
(NB The purpose being to avoid someone duplicating an entry at some point in the future.)
Thanks.

For upcoming training course dates see: Pricing & availability

replyReply Mon 4 Jun 2007, 15:54Trainer Tracy said...

RE: Access 2003 Data Validation

Hi Steve,

Thanks for the question.

One way of restricting duplicates is in the design view of the table click into the field you want to restrict. In the Field Properties section make sure the General tab is highlighted and use the Index option at the bottom, change the Index to Yes (No Duplicates). This will flag up a problem if you want to keep entering 0, you could try setting the Required field to "No" and not entering any data instead of putting a 0.
Tracy

 

Access tip:

Run with the total

Often when creating reports with lists of transactions it can be useful to have a column which totals the transactions as the report progresses.

Using the Sum function gives the total for the whole group, not a running total.



Access provides an easy method of achieving a running total.



Click on the text box containing the data you wish to contain the running total.
Select the Data tab
Click in the Running sum option
Click the down arrow to view three options

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard