AJ IT Student
Registered User.
- Local time
- Today, 08:40
- Joined
- May 8, 2002
- Messages
- 36
Hi all.
Thank you very much for all your help so far. My application has shaped up very nicely because of your help and advice - though there are still some little bits and bobs I need to iron out...
Anyway.. to the topic:
On one of my tables, for employees I have:
HolidayAllowed
HolidayTaken
as fields. Each HAS to be a 2 digit number.
What I'd like to do, is in some way, compare the two..
Basically the logic being:
If HolidayTaken > HolidayAllowed NOTIFY THE USER SOMEHOW
i.e. a message box..
Where would I put the code, and what sort of thing would I write? I still have very little clue about VBA.
Another idea - is it possible to 'disable' a field programmatically..? Say if HoldiayTaken = HolidayAllowed Then disable holidaytaken...
any simple + quick response hugely appreciated.
many thx.
aj
Thank you very much for all your help so far. My application has shaped up very nicely because of your help and advice - though there are still some little bits and bobs I need to iron out...
Anyway.. to the topic:
On one of my tables, for employees I have:
HolidayAllowed
HolidayTaken
as fields. Each HAS to be a 2 digit number.
What I'd like to do, is in some way, compare the two..
Basically the logic being:
If HolidayTaken > HolidayAllowed NOTIFY THE USER SOMEHOW
i.e. a message box..
Where would I put the code, and what sort of thing would I write? I still have very little clue about VBA.
Another idea - is it possible to 'disable' a field programmatically..? Say if HoldiayTaken = HolidayAllowed Then disable holidaytaken...
any simple + quick response hugely appreciated.
many thx.
aj