microsoft access training - updating data on a
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » microsoft access training - Updating Data On A Form Automatically

microsoft access training - Updating Data On A Form Automatically

The UK's most regular instructor-led training courses.
Training information: microsoft access training · Microsoft access courses · Microsoft Access Training London
See also · microsoft access training · access vba courses · access database course

resolvedResolved · Low Priority · Version Standard

Updating Data On A Form Automatically

Paul has attended:
Access Intermediate course
Access Advanced course

by - delegate Paul gold contributer[121 posts] (2007 Oct 9 Tue, 14:21) replyReply

I have a form for entering sales orders and would like to make, as a default value, the umbrella order number to display from a different table when the part number is entered/selected (haven't decided yet if I want to have a combo box or have the user enter the data)

How would I do this?

Cheers
Paul

Access Advanced 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Dec 3 Wed Southwark 5 book now £219 £235
2003 2008 Dec 19 Fri Bloomsbury 5 book now £219 £235
2003 2008 Dec 24 Wed Bayswater 0 FULL    
2003 2009 Jan 7 Wed Southwark 7 book now £203 £230
2003 2009 Jan 14 Wed Bloomsbury 8 book now £187 £224
2003 2009 Jan 23 Fri Bloomsbury 7 book now £203 £230
Full Schedule: See all 45 Access Advanced course dates.
Bookings currently available until 25th November 2009.

RE: Updating Data On A Form Automatically

by - trainer Richard platinum contributer[818 posts] (2007 Oct 9 Tue, 15:53) replyReply

So you want to add or update your order number when you enter a part number?

what do you mean by umbrella order number?

Is there one main order number, and many part numbers?

RE: Updating Data On A Form Automatically

by - delegate Paul gold contributer[121 posts] (2007 Oct 9 Tue, 15:58) replyReply

the form I want to have this on is my main input form.

to one part number, there is one order number

to one order number, there is one part number.

unless there is a special type of order which won't often happen.
As a result, I want to be able to type in the part number on a form and for another field on the same form to display the order number for the entered part - but I want this field to be editable, in case there is this special type of order arising.

so I want:

OrderRef (PK, Autonumber)
Part Number - entered manually or selected from combo box
order number - looked up based on the part number above
qty due
date due
date sent

Thanks in advance

Paul

RE: Updating Data On A Form Automatically

by - delegate Paul gold contributer[121 posts] (2007 Oct 9 Tue, 16:08) replyReply

I could do it so easily in Excel!

it would be =vlookup(part number,parttable,3,0)

where the 3rd column along is the order number. Perhaps this may help you see what I'm trying to do?

RE: Updating Data On A Form Automatically

by - trainer Richard platinum contributer[818 posts] (2007 Oct 15 Mon, 16:37) replyReply

Hi Paul

Try using the DLOOKUP function:


Example:

DLookup("[ContactName]", "[Suppliers]", "[SupplierID] = Forms![SupplierID]")

Displays the value of the ContactName field in the Suppliers table, where the value of the SupplierID field in the table matches the value of the SupplierID control on the active form.

RE: Updating Data On A Form Automatically

by - trainer Richard platinum contributer[818 posts] (2007 Oct 15 Mon, 16:46) replyReply

Also , refer to this article;

http://support.microsoft.com/kb/285866


Related articles

· Quick Access Course: Creating a Customer Contact Database in 8 Simple Steps
· Quick Access Database Courses: A 10 Step Lesson in Encrypting and Decrypting an Access Database
· Access VBA Training Adds Power to your Databases
· Microsoft Access, an Efficient Database Tool
· Get More Out of MS Access Courses

Access tip:

Change case

To change case from upper or lower case, highlight the text area, hold down the Shift key and pres F3

View all Access hints and tips

Rate this page:
4.0/5 (3 votes cast)
Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz