Hi everyone,
Novice access user here, I have a problem calling a value from a subform within a subfrom to the mainform. I tried the suggested solutions from the searches I did but still could not figure out what is wrong. Here is my setup:
frmMain
Detail of frmMain>fsubSubform1
Footer of fsubSubform1>fsubSubform2
Detail of fsubSubform2 (txtSumOfTotal)
I want to have the value from txtSumOfTotal to put in my frmMain. Unfortunately, I have tried all the links that I have found from this site and other sites as well. I have found them to be straight forward, but somehow, I can't seem to get them to work. Here's one of the syntax from this link I'm having trouble and could not get it to work and usually get a name or error result.
Forms!frmMain!fsubSubform1.Form!fsubSubform2.Form!txtSumOfTotal
Also, I don't know if it is important but the txtSumOfTotal is based on a value from a query I made using the query of fsubSubform1.
I have attached a sample of my database. (Unfortunately my post count does not allow it yet).
For those who are wondering why not just use the usual textbox of sum in footer of subform1 then call that to a textbox in the mainform, well, that is what usually works for me, but I just seem to prefer my non-working plan as it seems to be cleaner, if only we could get it to work. Is it even possible? already spent a couple of days trying to figure it out :banghead:
Novice access user here, I have a problem calling a value from a subform within a subfrom to the mainform. I tried the suggested solutions from the searches I did but still could not figure out what is wrong. Here is my setup:
frmMain
Detail of frmMain>fsubSubform1
Footer of fsubSubform1>fsubSubform2
Detail of fsubSubform2 (txtSumOfTotal)
I want to have the value from txtSumOfTotal to put in my frmMain. Unfortunately, I have tried all the links that I have found from this site and other sites as well. I have found them to be straight forward, but somehow, I can't seem to get them to work. Here's one of the syntax from this link I'm having trouble and could not get it to work and usually get a name or error result.
Forms!frmMain!fsubSubform1.Form!fsubSubform2.Form!txtSumOfTotal
Also, I don't know if it is important but the txtSumOfTotal is based on a value from a query I made using the query of fsubSubform1.
I have attached a sample of my database. (Unfortunately my post count does not allow it yet).
For those who are wondering why not just use the usual textbox of sum in footer of subform1 then call that to a textbox in the mainform, well, that is what usually works for me, but I just seem to prefer my non-working plan as it seems to be cleaner, if only we could get it to work. Is it even possible? already spent a couple of days trying to figure it out :banghead: