Check for Value in table

Taff

Registered User.
Local time
Today, 21:21
Joined
Feb 3, 2004
Messages
158
Hi all,

Have a form which is a calender made up of unbound textboxes with the days of the month in.

What i would like to happen is if one of these text boxes matches a date in my table then make the backcolor = 255.

The unbound textboxes are called Date1, Date2, Date3 and so on and my table name is tblguests.

Have been thinking something along the lines of - If me.date1 = ? then
me.date1.backcolor = 255 - and it would be on the onload Event of the form.

Not sure if i am on the right track and anyhelp would be great.

Regards

Anthony
 

Users who are viewing this thread

Back
Top Bottom