Hi all,
I have the following code:
can this be done in a query and return a number?
qry_countholidaysin2009 returns "8".
So I would like the database to look in entitlement table and find the correct users id and take that figure and take "8" from it.
Is this possible?
Thanks
Martin
I have the following code:
Code:
SELECT ([entitlement.entitlementfld] - [qry_countholidaysin2009]) as daysremaining
FROM entitlement
WHERE entitlement.id = forms!holidaymainbasic!child3!id;
can this be done in a query and return a number?
qry_countholidaysin2009 returns "8".
So I would like the database to look in entitlement table and find the correct users id and take that figure and take "8" from it.
Is this possible?
Thanks
Martin