Hey folks,
I have a feeling that the solution to my problem is rather simple...but i can't seem to figure it out.
I have a form that is used to enter new records in to a table.
On the load of this form, i want to set the value of one particular textbox, to the maximum value contained within a field in the source table plus one.
That is, if TABLEA.FieldA contains various values and the maximum is 247, then i want the textbox to automatically fill with "248".
So far i have tried setting the default value to a query that finds the max value...but no luck there.
I think this is one of those problems that needs the perspective of a fresh pair of eyes.
Any help is much appreciated!!
Cheers
-Jezza
I have a feeling that the solution to my problem is rather simple...but i can't seem to figure it out.
I have a form that is used to enter new records in to a table.
On the load of this form, i want to set the value of one particular textbox, to the maximum value contained within a field in the source table plus one.
That is, if TABLEA.FieldA contains various values and the maximum is 247, then i want the textbox to automatically fill with "248".
So far i have tried setting the default value to a query that finds the max value...but no luck there.
I think this is one of those problems that needs the perspective of a fresh pair of eyes.
Any help is much appreciated!!
Cheers
-Jezza