Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

access+training+courses - returning order number form

Forum home » Delegate support and help forum » Microsoft Access Training and help » access+training+courses - Returning an order number on a form when a part number is entere

access+training+courses - Returning an order number on a form when a part number is entere

ResolvedVersion Standard

Paul has attended:
Access Intermediate course
Access Advanced course

Returning an order number on a form when a part number is entere

Hi all,

I have a form whereby I want to create a default value in the order number box from the parts table.

What I want is when I enter the part number (from a drop down) into my form, the I want the order number, which is a field in it's own in my parts table.

Carlos helped me work out something similar to this on my course using a macro, but I can't work out how to do this.

Please help!

Thanks - Paul

RE: Returning an order number on a form when a part number is en

i suggest you contact the office to enrol on our access vba course

Access tip:

Random sampling

Data is th key to a good database, therefore checking is essential.

A good way of checking data is by random sampling. You can do this in a query, by typing the follow:
1) In the Field box create a RandonID field eg. Randon Id: Rnd(fieldname])

2) sort the field
3)Right click and chage the properties for To value to be the number of randon records you want to see.

4) Change the set to Show row for Randon ID to be False, add all the other fields you want to see and the run the query.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.