I have the following query:
SELECT tblVendorTransaction.VendorTransID, tblVendorTransaction.VendorID, tlkpTransactionType.TransactionTypeName, tblVendorTransaction.BillDate, tlkpAccountType.AccountTypeName, tblVendorTransaction.Memo, tblVendorSubTrans.Amount, tblVendorSubTrans.UnitID, tblVendorTransaction.BillDueDate
FROM ((tblVendorTransaction INNER JOIN tblVendorSubTrans ON tblVendorTransaction.VendorTransID = tblVendorSubTrans.VendorTransID) LEFT JOIN tlkpTransactionType ON tblVendorTransaction.TransactionTypeID = tlkpTransactionType.TransactionTypeID) LEFT JOIN tlkpAccountType ON tblVendorSubTrans.AccountTypeID = tlkpAccountType.AccountTypeID;
This is the record source for a continuous form. On the form I have a field called txtBillDate. WHat I am trying to do is if the BillDueDate is less than todays date then in txtBillDueDate enter OVERDUE otherwise display the BillDueDate.
Is this possible?
Thanks,
Art Lorenzini
Sioux Falls, SD
Jumat, 30 Desember 2011
[MS_AccessPros] Adding a IIF statement for a date query
__._,_.___
MARKETPLACE
.
__,_._,___
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar