I am writing some code to automatically print out a form. The problem I ran into is I have an if statement that reads:
If rsMyRS!TotalBalanceAmount > 0 Then
...
My problem is that the TotalBalanceAmount is what I named the textbox the holds the formula: =Sum(Rate)
My program refuses to recognize TotalBalanceAmount. I tried typing it like rsMyRS![=Sum(Rate)], but that doesn't work either. The program does recognize the variable Rate, though (as in rsMyRS!Rate). Any idea how to get it to recognize TotalBalanceAmount?
Thank you in advance,
Kyle
If rsMyRS!TotalBalanceAmount > 0 Then
...
My problem is that the TotalBalanceAmount is what I named the textbox the holds the formula: =Sum(Rate)
My program refuses to recognize TotalBalanceAmount. I tried typing it like rsMyRS![=Sum(Rate)], but that doesn't work either. The program does recognize the variable Rate, though (as in rsMyRS!Rate). Any idea how to get it to recognize TotalBalanceAmount?
Thank you in advance,
Kyle