Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP9 NULL values
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01001888
Message ID:
01002082
Views:
33
So _tally has changed when used in an aggregate function SQL. What about the following?
SELECT DISTINCT ALLTRIM(code)+" - "+ALLTRIM(code_desc) AS codename ;
	FROM codes 
        WHERE code_id = "COLLATTYPE" INTO ARRAY a_collatty
PUBLIC a_collatty[_tally+1]
       a_collatty[_tally+1] = " "
	=ASORT(a_collatty)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform