Ok here is the code...
Private Sub Command66_Click()
Dim First As String
Dim FirstMemo As String
Dim Second As String
Dim SecondMemo As String
First = Forms!FollowUpsDueToday!FirstFollowUpSent
FirstMemo = Forms!FollowUpsDueToday!Notes
Second = Forms!FollowUpsDueToday!SecondFollowUpSent
SecondMemo = Forms!FollowUpsDueToday!Text54
DoCmd.OpenReport "FollowUpFax", acViewNormal, , , acWindowNormal
Select Case First
Case 0
First = 1
FirstMemo = FirstMemo & " Faxed on " & Date
Case 1
Second = 1
SecondMemo = SecondMemo & " Faxed on " & Date
End Select
End Sub
First and Second are both check boxes so the value should be 0.
I want this so that when i click the box it automatically fills in that i haved faxed this document. Apparently my minor stab at this wasnt all that easy although it does fax, but does not set the values in the form. All the items on the form are bound to a query, could that be the problem?
Bill
Private Sub Command66_Click()
Dim First As String
Dim FirstMemo As String
Dim Second As String
Dim SecondMemo As String
First = Forms!FollowUpsDueToday!FirstFollowUpSent
FirstMemo = Forms!FollowUpsDueToday!Notes
Second = Forms!FollowUpsDueToday!SecondFollowUpSent
SecondMemo = Forms!FollowUpsDueToday!Text54
DoCmd.OpenReport "FollowUpFax", acViewNormal, , , acWindowNormal
Select Case First
Case 0
First = 1
FirstMemo = FirstMemo & " Faxed on " & Date
Case 1
Second = 1
SecondMemo = SecondMemo & " Faxed on " & Date
End Select
End Sub
First and Second are both check boxes so the value should be 0.
I want this so that when i click the box it automatically fills in that i haved faxed this document. Apparently my minor stab at this wasnt all that easy although it does fax, but does not set the values in the form. All the items on the form are bound to a query, could that be the problem?
Bill