Solved

Displaying Query Results

Posted on 2003-11-06
4
156 Views
Last Modified: 2010-07-27
Hi,


In Fox Pro, I have to create a report that displays sorted records from a table.
I wrote the following query :

SELECT *;
FROM AllCustomers;
ORDER BY AllCustomers.Name;
INTO CURSOR stam

REPORT FORM e:\michael\MyFoxProFiles\allcustomers2.frx preview

The problem is that the report displays only the first record may times as the records number in the table.

Please tell me how to fix this problem.

Thanks
Michael
 
0
Comment
Question by:marom279
4 Comments
 

Accepted Solution

by:
AW1712 earned 50 total points
Comment Utility
SELECT distinct *
FROM AllCustomers
ORDER BY AllCustomers.Name
INTO CURSOR stam
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sumHeights2  challenge 7 75
Enhanced For loop vs ForEach Loop 4 54
topping2 challenge 13 55
VB6 Compile Compatibility Issue 4 23
This is about my first experience with programming Arduino.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now