Solved

Displaying Query Results

Posted on 2003-11-06
4
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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 …

705 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