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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referring to =Max() 1

Status
Not open for further replies.

merlynsdad

Programmer
Joined
Nov 18, 2010
Messages
175
Location
US
I have a table with autonumbers (field is ID), and I need to refer to the highest one in code. I want something like intTixNum = Max(tables!tblMaster!ID), but something that works.

If the square peg won't fit in the round hole, sand off the corners.
 
intTixNum = dmax("Fieldname","TableName")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top