D
DS
This report prints, but after it prints I get a message saying that the
report doesnt exsit. Is this a timing issue? Any help appreciated.
Thnaks
DS
DoCmd.OpenReport "rptCheck", acViewPreview
Reports!rptCheck!TxtDate = Me.SalesDate
Reports!rptCheck!TxtTime = Me.SalesTime
Reports!rptCheck!TxtInfo = Me.INFO
Reports!rptCheck!TxtServer = Me.ServerName
Reports!rptCheck!TxtSub = Me.TxtSub
Reports!rptCheck!TxtTax = Me.TxtTax
Reports!rptCheck!TxtDivideTotal = Me.TxtDivideTotal
If Forms!frmCheckPreview!ChkDividedCheck = True Then
Reports!rptCheck!TxtDivideTotal.Visible = True
Reports!rptCheck!TxtTotal.Visible = False
ElseIf Forms!frmCheckPreview!ChkDividedCheck = False Then
Reports!rptCheck!TxtDivideTotal.Visible = False
Reports!rptCheck!TxtTotal.Visible = True
End If
Reports!rptCheck!TxtService = Me.TxtService
Reports!rptCheck!TxtGratuity = Me.TxtGratuity
Reports!rptCheck!TxtDivideGrand = Me.TxtDivideGrand
If Forms!frmCheckPreview!ChkKillTax = True Then
Reports!rptCheck!Label62.Visible = False
Reports!rptCheck!LabelFree.Visible = True
ElseIf Forms!frmCheckPreview!ChkKillTax = False Then
Reports!rptCheck!Label62.Visible = True
Reports!rptCheck!LabelFree.Visible = False
End If
report doesnt exsit. Is this a timing issue? Any help appreciated.
Thnaks
DS
DoCmd.OpenReport "rptCheck", acViewPreview
Reports!rptCheck!TxtDate = Me.SalesDate
Reports!rptCheck!TxtTime = Me.SalesTime
Reports!rptCheck!TxtInfo = Me.INFO
Reports!rptCheck!TxtServer = Me.ServerName
Reports!rptCheck!TxtSub = Me.TxtSub
Reports!rptCheck!TxtTax = Me.TxtTax
Reports!rptCheck!TxtDivideTotal = Me.TxtDivideTotal
If Forms!frmCheckPreview!ChkDividedCheck = True Then
Reports!rptCheck!TxtDivideTotal.Visible = True
Reports!rptCheck!TxtTotal.Visible = False
ElseIf Forms!frmCheckPreview!ChkDividedCheck = False Then
Reports!rptCheck!TxtDivideTotal.Visible = False
Reports!rptCheck!TxtTotal.Visible = True
End If
Reports!rptCheck!TxtService = Me.TxtService
Reports!rptCheck!TxtGratuity = Me.TxtGratuity
Reports!rptCheck!TxtDivideGrand = Me.TxtDivideGrand
If Forms!frmCheckPreview!ChkKillTax = True Then
Reports!rptCheck!Label62.Visible = False
Reports!rptCheck!LabelFree.Visible = True
ElseIf Forms!frmCheckPreview!ChkKillTax = False Then
Reports!rptCheck!Label62.Visible = True
Reports!rptCheck!LabelFree.Visible = False
End If