A
Akrt48
Help; can some one please tell me what dim means as in Dim ename, then code
after it. I thought it was a diminutive of a name but I have tried making a
code and it will not work like the old one. This code works
Dim Ename
Ename = DLookup("Employeename", "Employeewages", "[Employeenumber]='" &
Me!EMPLOYEENUMBER & "'")
If Not IsNull(Ename) Then Me!EMPLOYEENAME = Ename
This doesn't
Dim Blk
blk= DLookup("Block", "Jobs", "[Jobnumber]='" & Me!Jobnumber & "'")
If Not IsNull(blk) Then Me!block = Blk
I obviously don't understand what Dim means
Thanks
after it. I thought it was a diminutive of a name but I have tried making a
code and it will not work like the old one. This code works
Dim Ename
Ename = DLookup("Employeename", "Employeewages", "[Employeenumber]='" &
Me!EMPLOYEENUMBER & "'")
If Not IsNull(Ename) Then Me!EMPLOYEENAME = Ename
This doesn't
Dim Blk
blk= DLookup("Block", "Jobs", "[Jobnumber]='" & Me!Jobnumber & "'")
If Not IsNull(blk) Then Me!block = Blk
I obviously don't understand what Dim means
Thanks