Question Dmax+1 error "invalid use of null"

PhoenixCouriers

Registered User.
Local time
Today, 20:37
Joined
Feb 24, 2011
Messages
32
Hi all,

i keep getting error with this

button on click

me.invoicenumber = dmax (invoicenumber,invoicedetails) +1

any body help
 
I think your Dmax() should look like;
Code:
me.invoicenumber = dmax ("invoicenumber", "YourInvoiceTableName") +1

My bad got that back to front :o
 
Last edited:
Try:

me.invoicenumber = dmax ("invoicenumber","invoicedetails") +1
 
I thought this was pointed out to you yesterday in a thread of yours?
 
I thought this was pointed out to you yesterday in a thread of yours?

hi there, yes many thanks

this is a different form but all it was is that i forgot to add quote marks

should have just looked at your post from yesterday

many thanks

simon
 

Users who are viewing this thread

Back
Top Bottom