Thanks in advance..Beginn er here :)
I want to run a Dlookup on a checkbox and depending on the result open a specific form.
I know this should be easy but im stuck.
Info is
Table Name - Daily Timesheet
Checkbox Name - Correct
Have tried this...(and other things)
I want to run a Dlookup on a checkbox and depending on the result open a specific form.
I know this should be easy but im stuck.
Info is
Table Name - Daily Timesheet
Checkbox Name - Correct
Have tried this...(and other things)
Code:
Dim Timesheet As string (Not sure on this at all)
Timesheet = DLookup("[Correct]", "tbl_Daily Timesheet", "user ID = forms!frm_main!user_id")
If Timesheet = False Then
Comment