Need some MS Access help...

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
Here is the issue. I have a table names Orders inside of that table is a field named Order_Num

I have a form for entering Orders. Well in this form it has a field to enter the order number. How can I have it default to the highest number in Order_Num?

Thanks!
Alfa
 

alfa147x

Lifer
Jul 14, 2005
29,307
106
106
Thanks guys that worked. New question: I have a table named Order Items
In that table it has a field named "Line_Num" and a foreign key named "Order_Num". I would like it to count 1,2,3,4,5,6 for each order number. This way one Order_Num has many Line_Num items under it.

Thanks again
 

Krioni

Golden Member
Feb 4, 2000
1,371
0
71
Does that really need to be in the db? Or is that something just for display/reporting purposes?
 

Krioni

Golden Member
Feb 4, 2000
1,371
0
71
BTW, used to running into you on the Digital Camera forum...

Good to know i'm not the only Programmer/Photog geek out there :)