Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to write this SQL Statement?
Message
 
 
To
06/01/2003 04:25:31
F Bilo
Bilo Office
Fuyang, China
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00737372
Message ID:
00738356
Views:
15
I don't know, what may cause the problem. If you can send me the data, I can try to experiment. Here is the code, which works for me:
oXtab = newobject("FastXtab", "FastXtab.prg")
oXtab.lCursorOnly = .t.
oXtab.lBrowseAfter = .f. && Don't show
oXtab.lTotalRows = .t.	 && Specifies whether to total rows in the cross tab output
oXtab.nTotalOption = 1   && Totaling options (0-sum, 1-count, 2-% of total).
oXtab.RunXtab()
if used('xTabQuery')
>I have set the lCursorOnly to .T., but still run into this error :"...Group by substatement is unvalid..."
>
>My prg is like this:
>______________________________________________________________
>oXtab = NewObject("FastXtab", "FastXtab.prg","", "tmpProj")
>oXtab.lCursorOnly = .T.
>oXtab.lBrowseAfter = .T.
>oXtab.RunXtab
>browse
>______________________________________________________________
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform