Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to alter table not in form

Status
Not open for further replies.

Knutjo

Programmer
Jan 15, 2002
31
NO
Hey!

Since I'm very new to Access/VBA I need some help to solve a little problem (I hope).

I'm working on a form, which is a typical "order" and "order details" form. The form shows data from det "Order"-table and the "Orderdet"-table.

When I create a new order I want to get the "next ordernumber" form the "Systable". I also want to increment the "next ordernumber" in the "systable" and update "Systable" in the background when I'm creating the new order. Can anyone give an example of how the code should look ??
(I have been looking into some examples , but haven't found any solution)

(The Autonumber function is not Good enough. We want to maintain those "next numbers" in a "Systable"-form)





 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top