D
DDBeards
When a customer finishes entering data, a check list form comes up to make
sure all of the required data has been entered. In the footer of the first
form are two calculated text boxes shown here
TMS_NumDates=Count([du_ID]) ' Id Number calculated on SFrm_Date_Used_E
TMS_Acutal=Count([du_Adate]) ' Actual date field calculated on
Frm_Date_Used_E
When the second form loads, vba code checks all the different requirments.
Here is the code for the problem:
Dim tDone, tTot As Integer
tDone = Forms!frmPTS_Edit!SFrm_Date_Used_E!TMS_Actual
tTot = Forms!frmPTS_Edit!SFrm_Date_Used_E!TMS_NumDates
If tDone = tTot Then .........
When I debug the code both of the fields (actual and numdates) show 2,
however, the tdone and ttot show 0 and empty. Can anyone explain what is
happening here?
Thanks
sure all of the required data has been entered. In the footer of the first
form are two calculated text boxes shown here
TMS_NumDates=Count([du_ID]) ' Id Number calculated on SFrm_Date_Used_E
TMS_Acutal=Count([du_Adate]) ' Actual date field calculated on
Frm_Date_Used_E
When the second form loads, vba code checks all the different requirments.
Here is the code for the problem:
Dim tDone, tTot As Integer
tDone = Forms!frmPTS_Edit!SFrm_Date_Used_E!TMS_Actual
tTot = Forms!frmPTS_Edit!SFrm_Date_Used_E!TMS_NumDates
If tDone = tTot Then .........
When I debug the code both of the fields (actual and numdates) show 2,
however, the tdone and ttot show 0 and empty. Can anyone explain what is
happening here?
Thanks