Dim Intmax as Integer
'Find Last Numerical Row in a Table and Return to Variable
'Object_Id = Column Name
'Object = Table Name
intMax = DMax("Object_ID", "Object")
Hope This helps Dave
Updating Table with Query?
****ERROR: DATA TYPE ERROR IN CRITERIA EXPRESSION****
Can anyone tell me what is wrong with the code below ?
OBJECT = TABLE
Object_Description = Field I want to add from text box
Object_Id = Primary Key determined by a variable
CODE...
I wondered this myself and found reference at:
http://www.subzero-solutions.com/DevCorner/DC008.htm
TEXT BELOW >>> HOPE IT HELPS.
DON'T CONFUSE NULL, NOTHING, "", EMPTY, AND ZERO.
There are many ways in VB to say that something is "nil," a term I'm going to use temporarily...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.