D 
		
								
				
				
			
		Dimitris Nikolakakis
I have a table Orders with fields:
OrderID, TypeID, Date
I have a form FOffers where:
TypeID = "OFR" always
Date = Now()
and I want the field OrderID to take automatically the value:
SELECT MAX(Orders.OrderID)+1 FROM Orders WHERE Orders.TypeID="OFR"
How can I do this?
Thanks
				
			OrderID, TypeID, Date
I have a form FOffers where:
TypeID = "OFR" always
Date = Now()
and I want the field OrderID to take automatically the value:
SELECT MAX(Orders.OrderID)+1 FROM Orders WHERE Orders.TypeID="OFR"
How can I do this?
Thanks