Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is best structure for detail files ?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00495606
Message ID:
00495780
Views:
13
look at the vfp help file for 'select - sql' paying close attention to the 'group by' statement.

If I understood you, some similart to the following will be what you will need to use, of course I don't know your field or alias names.


select transid, incometype, amount from yourtable order by transid, incometype group by transid, incometype


hope this helps
Alek
Alek Massey
- The only stupid question is one left unasked -
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform