M
Mike McBurney
I have a quick question from a Newbie. I would like to
use a value returned from a database query as a variable
in a form. Here's the scenario:
I query the database to find the highest value for my
record [Select RequestNumber from Results Where Key=
(Select Max(key) From Results)]. That gives me a result
called RequestNumber which I would then like to increment
and use as a variable when I add a new record. Namely
RequestNumber + 1 would be the next record to add.
So far I have not been able to access RequestNumber on the
form. Any ideas?
Thanks
use a value returned from a database query as a variable
in a form. Here's the scenario:
I query the database to find the highest value for my
record [Select RequestNumber from Results Where Key=
(Select Max(key) From Results)]. That gives me a result
called RequestNumber which I would then like to increment
and use as a variable when I add a new record. Namely
RequestNumber + 1 would be the next record to add.
So far I have not been able to access RequestNumber on the
form. Any ideas?
Thanks