Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Merge many rows into one row
Message
From
11/10/2006 07:14:07
 
 
To
11/10/2006 06:58:58
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01161133
Message ID:
01161136
Views:
11
Dear Experts

SELECT FDATE,GNO AS PARTY;
FROM WEIGHTS;
WHERE FDATE=THIS.VALUE ;
ORDER BY PCODE;
GROUP BY PCODE;
INTO cursor fix
The select statement generate folloiwng SQL Results

25-09-2006------2
25-09-2006------5
25-09-2006------6
25-09-2006------8
25-09-2006------7

But I want to get following result

25-09-2006------2,5,6,7,8

Please help
--------------------------------------------------------------
You can use an UDF in select statement to realize string sum.
Steven
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform