B
bmacrow
Ok, so I am currently building an archiving section for a database work have
thrown me neck deep into creating (never touched access until i started work
on this!). I have created a fuction that archives based on a date, and there
is a validation rule in the code to check that a date has been entered in the
text box, that validation rule is as follows:
if not IsDate(me.Date1) then
msgbox "You have not entered a date",,"Cannot archive records"
me.Date1.SetFocus
exit sub
end if
What i now need is functionality to archive by ID number, so ideally want to
alter that validation code so it checks for numbers, not dates.
Anyone able to help?
Regards
Ben
thrown me neck deep into creating (never touched access until i started work
on this!). I have created a fuction that archives based on a date, and there
is a validation rule in the code to check that a date has been entered in the
text box, that validation rule is as follows:
if not IsDate(me.Date1) then
msgbox "You have not entered a date",,"Cannot archive records"
me.Date1.SetFocus
exit sub
end if
What i now need is functionality to archive by ID number, so ideally want to
alter that validation code so it checks for numbers, not dates.
Anyone able to help?
Regards
Ben