Aug 18, 2004 #1 scottian Programmer Jul 3, 2003 955 GB how do i include a dmax function in vba and pass it to a variable, ive tried this and io get an error:- External name not defined the line is :- FI = DMax([table1], [FileIndex], [table1]) + 1 "My God! It's full of stars...
how do i include a dmax function in vba and pass it to a variable, ive tried this and io get an error:- External name not defined the line is :- FI = DMax([table1], [FileIndex], [table1]) + 1 "My God! It's full of stars...
Aug 18, 2004 #2 hymn Technical User Feb 27, 2003 1,036 GB I use the code below for adding a membership No it looks like you have the table in twice MembershipNo = DMax("[MembershipNo]", "tblperson") + 1 Hope this helps Hymn Upvote 0 Downvote
I use the code below for adding a membership No it looks like you have the table in twice MembershipNo = DMax("[MembershipNo]", "tblperson") + 1 Hope this helps Hymn
Aug 19, 2004 #3 PHV MIS Nov 8, 2002 53,708 FR Have you tried this ? FI = DMax("[FileIndex]", "[table1]") + 1 Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
Have you tried this ? FI = DMax("[FileIndex]", "[table1]") + 1 Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244