Hi Everyone,
I came across a last minute issue just before launch time for a form that I'm working on. Why does this always happen?
Anyway, my form is populated by a query named qryPopulateRenewalForm. I have added a text box to my form named txtHiddenPayment. I want txtHiddenPayment to be populated by a different query, named qryPaymentCount. The query is a simple count query:
The text box txtHiddenPayment will not bee seen by the user and nothing will be entered into this textbox by the user. How can I populate this textbox with the number returned from qryPaymentCount?
I tried merging this query with the main query that populated data on the Form, qryPopulateRenewalForm. When I did this, it caused issues that are too long to explain in this post.
Can someone tell me how to do this?
Thanks,
Crhodus
I came across a last minute issue just before launch time for a form that I'm working on. Why does this always happen?
Anyway, my form is populated by a query named qryPopulateRenewalForm. I have added a text box to my form named txtHiddenPayment. I want txtHiddenPayment to be populated by a different query, named qryPaymentCount. The query is a simple count query:
Code:
SELECT count(*) AS OnlinePaymentCount
FROM tblOnlineRenewalInfo
WHERE tblOnlineRenewalInfo.LIC_NUMBER=Forms![SW_form]!SLIC_NUMBER;
The text box txtHiddenPayment will not bee seen by the user and nothing will be entered into this textbox by the user. How can I populate this textbox with the number returned from qryPaymentCount?
I tried merging this query with the main query that populated data on the Form, qryPopulateRenewalForm. When I did this, it caused issues that are too long to explain in this post.
Can someone tell me how to do this?
Thanks,
Crhodus