Solved

Displaying Query Results

Posted on 2003-11-06
4
168 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
ID: 9700949
SELECT distinct *
FROM AllCustomers
ORDER BY AllCustomers.Name
INTO CURSOR stam
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
count7 challenge 12 103
noX challenge 17 92
topping2 challenge 13 83
Meaning of "exceptions()" in "ist.exceptions( ist.exceptions() | ios_base:: badbit);" 3 56
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

920 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

12 Experts available now in Live!

Get 1:1 Help Now