the code
PROC GENDER
{Generated Code}
Tally
CROSSTAB GENDER GENDER_VS1, SYSTEM_TOTAL
STAT GENDER_VS1 (TOTAL, FREQ) SYSTEM_TOTAL (TOTAL)
UNIT (GENDER_VS1 by SYSTEM_TOTAL) MSA_QUEST
ENDUNIT
;
hi all, i have this problem when i try to product tables. i have searched on this forum and found a problem about OLD_TABS variable on environment variables. i am using a x64 win 8.1 and i have not found that variable in variable list.
i am using cspro 6.1
also one thing, does highlight + F1 doesn't work anymore? on early versions if you highlight a command and press F1, the help tab opened in that highlighted command, now just it open the index help page.
thanks in advance,
Elvis
Error - Tally only can be used in Table procedures
Re: Error - Tally only can be used in Table procedures
Are you sure that OLD_TABS isn't set? To be sure open a DOS command prompt (type "cmd" in windows search) and that at the prompt type "SET OLD_TABS". It should then tell you that the environment variable is not defined.
Re: Error - Tally only can be used in Table procedures
Hi Josh,
it's not there,
attached a screen capture,
any other idea?
it's not there,
attached a screen capture,
any other idea?
- Attachments
-
- capture_2.PNG (9.19 KiB) Viewed 9785 times
Re: Error - Tally only can be used in Table procedures
Maybe it isn't OLD_TABS and it is a problem with your app. You can zip up your app and post and I can test it here.
Re: Error - Tally only can be used in Table procedures
Hi Josh,
attached is the application, it's a bit not organized well, but i am sure you will get it
attached is the application, it's a bit not organized well, but i am sure you will get it
- Attachments
-
- Mobile_Survey_App.rar
- (35.07 KiB) Downloaded 494 times
Re: Error - Tally only can be used in Table procedures
It would appear that the problem is that the name of the table (GENDER) is the same as the name of one of the variables. If I delete the table and recreate it using the default name (TABLE1) the error goes away.
Re: Error - Tally only can be used in Table procedures
great,
thank you very much josh,
best regards
thank you very much josh,
best regards