Can't create tables (Invalid CrossTab Parameter)
Posted: February 18th, 2013, 5:05 pm
I realise that I cannot create any tables. I recently discovered the problem while using version 4.1 but it persisted even when I upgraded to version 5.0. When I create a table and try to run it, it shows me the table source code:
With the error message "Invalid CrossTab Parameter", and there's a red dot next to the line "STAT AGE_VS2 (TOTAL, FREQ) SEX_VS1 (TOTAL, FREQ) "
Also, while creating the table, if I go into Tally Attributes (Table) and press "OK" I get the same error message as a pop up.
Is there any reason why this would happen? It works fine on my colleagues computer that runs version 4.1. My computer is running Windows 7 Professional while my colleague is running Windows XP Professional if that has anything to do with it.
Code: Select all
{Application 'TEST2' logic file generated by CSPro}
PROC GLOBAL
PROC TABLE1
{Generated Code}
Tally
CROSSTAB TABLE1 AGE_VS2, SEX_VS1
STAT AGE_VS2 (TOTAL, FREQ) SEX_VS1 (TOTAL, FREQ)
UNIT (AGE_VS2 by SEX_VS1) POPULATION
ENDUNIT
;
Also, while creating the table, if I go into Tally Attributes (Table) and press "OK" I get the same error message as a pop up.
Is there any reason why this would happen? It works fine on my colleagues computer that runs version 4.1. My computer is running Windows 7 Professional while my colleague is running Windows XP Professional if that has anything to do with it.