trackstar2786
Registered User.
- Local time
- Today, 17:38
- Joined
- Sep 19, 2017
- Messages
- 11
What I'm trying to accomplish is to add constant footnote at the bottom of each output before it is exported in excel.
My current SQL statement without the footnote is below.
My initial thought was to union to this query, but I'm having trouble getting my where clause to pick up that row "Disclaimer". I don't know if it's because 'Account' is a numeric value and Disclaimer is a text. If that is the issue i can always give a fake Account number and put my footnote string in the 'reseller' column of my union.
I think either way, I need help getting my where clause to still pick up the variable account as well as a static footnote.
My current SQL statement without the footnote is below.
PHP:
strSQL = "Select Account, Reseller, [AT&T],Comcast, DataXoom, [Spectrum-TWC], [T-Mobile],[Verizon Wireless], [Verizon Wireline], Total FROM summaryforrcs WHERE Account= " & rs!Account
My initial thought was to union to this query, but I'm having trouble getting my where clause to pick up that row "Disclaimer". I don't know if it's because 'Account' is a numeric value and Disclaimer is a text. If that is the issue i can always give a fake Account number and put my footnote string in the 'reseller' column of my union.
I think either way, I need help getting my where clause to still pick up the variable account as well as a static footnote.