ms access - Show on Main form the value of a Text box on sub form -
i have sub form (continuous form) shows sum of fee in text box in subform footer:
text5 data =sum(fee).
this works correctly. can't show value in text box on main form. have tried
tfees = forms!frminvoice![frminvoicedetails].form.text5
this shows nothing (null?) on main from. no errors. data subform is:
select tblinvoicedetails.invoicelookup, tblinvoicedetails.disclookup, [applicantsurname] & ', ' & [applicantforenames] appname, [dbsfee]+[myfee] fee, tbldisclosure.client, tbldisclosure.payer tblinvoicedetails inner join tbldisclosure on tblinvoicedetails.disclookup = tbldisclosure.id (((tbldisclosure.payer)='client')) order [applicantsurname] & ', ' & [applicantforenames];
try:
=forms!frminvoice!nameofyoursubformcontrol.form!text5
replace "nameofyoursubformcontrol" name, not name of form.
Comments
Post a Comment