G
Guest
Ok I have looked at most of the recent posts and didn't find the answer yet.
I have a form that contains an unbound text box "txtTowId" The report is
based on a query in the criteria is "=forms!frmMain!frmRptSingle!txtTowId"
when the print button on the form is clicked the report opens in print
preview and displays correctly all is well; however in the query is field for
a date. now what i'd like to be able to do is when the print button is
clicked have a popup warning that will warn if the date field is null. I am
asking to much or is there an easy way to do this.
Attached is the sql statement:
SELECT tblTow.strTag, tblTow.strDateIn, tblTow.strReleased, tblTow.strPick,
tblTow.strDateOut, tblTow.strTowCharges, tblTow.strLienFees, tblTow.strLien,
tblTow.strLienFees, tblTow.strStorage, tblTow.strLabor, tblTow.strStored,
tblTow.strImpound, tblTow.strSalvage, tblTow.strComplete, tblTow.strVinCheck,
tblVechicle.strVin, tblVechicle.strLic, tblVechicle.strLicState,
tblVechicle.strMake, tblVechicle.strModel, tblVechicle.strColor,
tblVechicle.strYear, tblOwner.strFirst, tblOwner.strLast, tblOwner.strAddNum,
tblOwner.strStrtName, tblOwner.strCity, tblOwner.strState, tblOwner.strZip,
tblOwner.strPhone, [strFirst] & " " & [strLast] AS Name, [strAddNum] & " " &
[strStrtName] & " " & [strCity] & " " & [strState] & " " & [strZip] AS
Address, tblFees.strDailyFees
FROM tblFees, (tblTow INNER JOIN tblOwner ON tblTow.strTag =
tblOwner.strTag) INNER JOIN tblVechicle ON tblTow.strTag = tblVechicle.strTag
WHERE (((tblTow.strTag)=[Forms]![frmMain]![frmRpt1]![txtTowId]));
I have a form that contains an unbound text box "txtTowId" The report is
based on a query in the criteria is "=forms!frmMain!frmRptSingle!txtTowId"
when the print button on the form is clicked the report opens in print
preview and displays correctly all is well; however in the query is field for
a date. now what i'd like to be able to do is when the print button is
clicked have a popup warning that will warn if the date field is null. I am
asking to much or is there an easy way to do this.
Attached is the sql statement:
SELECT tblTow.strTag, tblTow.strDateIn, tblTow.strReleased, tblTow.strPick,
tblTow.strDateOut, tblTow.strTowCharges, tblTow.strLienFees, tblTow.strLien,
tblTow.strLienFees, tblTow.strStorage, tblTow.strLabor, tblTow.strStored,
tblTow.strImpound, tblTow.strSalvage, tblTow.strComplete, tblTow.strVinCheck,
tblVechicle.strVin, tblVechicle.strLic, tblVechicle.strLicState,
tblVechicle.strMake, tblVechicle.strModel, tblVechicle.strColor,
tblVechicle.strYear, tblOwner.strFirst, tblOwner.strLast, tblOwner.strAddNum,
tblOwner.strStrtName, tblOwner.strCity, tblOwner.strState, tblOwner.strZip,
tblOwner.strPhone, [strFirst] & " " & [strLast] AS Name, [strAddNum] & " " &
[strStrtName] & " " & [strCity] & " " & [strState] & " " & [strZip] AS
Address, tblFees.strDailyFees
FROM tblFees, (tblTow INNER JOIN tblOwner ON tblTow.strTag =
tblOwner.strTag) INNER JOIN tblVechicle ON tblTow.strTag = tblVechicle.strTag
WHERE (((tblTow.strTag)=[Forms]![frmMain]![frmRpt1]![txtTowId]));