Hi Again!
Ok, I’ve been at this for hours as I’ve done this before and have had it work effectively (due to help from the lounge) and now I’m crazed!
On frmAR I have a list called lstInvoiceSelection. I want the form to only show the names that correspond to the AccountID that the form opens to. (The form opens in edit mode). I’ve used the following SQL in the query:
PARAMETERS [Forms]![frmAR]![AccountID] Text ( 255 );
SELECT tblBilling.AccountID, tblDemographics.[LastName/BusinessName], tblBilling.LaborCost, tblBilling.DateWorked, tblBilling.InvoiceTotal, tblBilling.DatePaid, tblBilling.PaidInFull
FROM tblDemographics RIGHT JOIN tblBilling ON tblDemographics.AccountID = tblBilling.AccountID
WHERE (((tblBilling.AccountID)=[forms]![frmAR]![AccountID]));
I don’t get any error messages when the form opens. The only issue is the lstInvoiceSelection doesn’t show any records. When I simply have the list load to show all the records it’s fine. It’s only when I set the parameters to limit the the list to AccountID.
Thanks,
Leesha