A
Amour
Hi please help I am new to Access.
I put this section into the load event on a form:
Private Sub Form_Load()
ACT_TRVL = DLookup("[GTotal]", "qryTravel", "[SSN] = '" & [SSN] & "'")
End Sub
ACT_TRVL is connected to TblAttendance and is a Text field
The problem I am having is that I get an error message (but it still works
ok):
"Object doesn't support this property or method"
The problem with this program is that it was developed to have the user
input (manualy) the calculated resault from excell. So now I come along and
attach a form (query) that is for calculating/displaying dates on that same
form/field (ACT_TRVL), remember now that there is other reports attached to
that field(ACT_TRVL). So it looks like there is no other way. That is why I
need to store that field (I know it is not a good programming way but for
know). So I still need to fix this problem it has to go to ACT_TRVL.
I checked to see if assigning a value was the problem so I put:
Me.ACT_TRVL = 0
and yes that did send the same message.
So what could it be?
Please Help And again Thank You
I put this section into the load event on a form:
Private Sub Form_Load()
ACT_TRVL = DLookup("[GTotal]", "qryTravel", "[SSN] = '" & [SSN] & "'")
End Sub
ACT_TRVL is connected to TblAttendance and is a Text field
The problem I am having is that I get an error message (but it still works
ok):
"Object doesn't support this property or method"
The problem with this program is that it was developed to have the user
input (manualy) the calculated resault from excell. So now I come along and
attach a form (query) that is for calculating/displaying dates on that same
form/field (ACT_TRVL), remember now that there is other reports attached to
that field(ACT_TRVL). So it looks like there is no other way. That is why I
need to store that field (I know it is not a good programming way but for
know). So I still need to fix this problem it has to go to ACT_TRVL.
I checked to see if assigning a value was the problem so I put:
Me.ACT_TRVL = 0
and yes that did send the same message.
So what could it be?
Please Help And again Thank You