Ok so this is a rather simple question. Im somewhat new to VB but Im creating a button to check if something is in the table with a Dlookup but I dont know what the command is for save.
My code looks like this
If
=Dlookup("Emp_ID","tblEmployeeDaily","Emp_ID=" &
Emp_ID AND "DailyDate=" & DailyDate)
[Insert Command for save all data fields to table]
Else
[Insert Command to cancel and go back to form]
End If
I've gone to countless websites searching for a list of VBA code like they have for C programming code but to no avail. :-(
Can someone help me with these 2 lines of code or perhaps help me with a link to a website with all of the basic commands from VBA coding?
My code looks like this
If
=Dlookup("Emp_ID","tblEmployeeDaily","Emp_ID=" &
Emp_ID AND "DailyDate=" & DailyDate)
[Insert Command for save all data fields to table]
Else
[Insert Command to cancel and go back to form]
End If
I've gone to countless websites searching for a list of VBA code like they have for C programming code but to no avail. :-(
Can someone help me with these 2 lines of code or perhaps help me with a link to a website with all of the basic commands from VBA coding?