Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ilya Rabyy
  Where is Ilya Rabyy?
 Fountain Valley
 California - United States
 Ilya Rabyy
 To: milan
  Where is milan?
 farakka
 India
 milan
 Tags
Subject: RE: Multi item print
Thread ID: 345018 Message ID: 345047 # Views: 39 # Ratings: 0
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Thursday, May 17, 2012 3:47:30 PM         
   


> Dear Experts
>
> I'm having 15 items to preview in vfp native report in Single page,
> How to do that .
>
> For example:-
> Create Cursor Test (ItemNo i, ItemType c(10),Qty n(2),Price n(4,2))
> Insert into Test Values (1,GT,2,10.50)
> Insert into Test Values (2,AT,3,10.50)
> Insert into Test Values (3,BT,1,10.50)
> Insert into Test Values (4,CT,4,10.50)
> Insert into Test Values (5,DT,7,10.50)
> Insert into Test Values (6,ET,9,10.50)
> Insert into Test Values (7,FT,5,10.50)
> Insert into Test Values (8,GT,8,10.50)

For starters, colleague Milan, to see your data in a report, you have to have a report form made, don't you think? ;-)

You may type "CREATE REPORT < Full Path to your Report file, i.e. D:\MyProject\MyReports\MyReport01.FRX >", hit Enter and design your report (place those fields in the Details section of the report, for starters);
Then, having your cursor created and filled out (as you've shown in your post), and Report designer window with your report form in it, select Report/Preview from the VFP's bar menu - and voilĂ ! You will see your report with your data.

Now, when I answered your question (I hope!), may I ask you what's wrong with reviewing your cursor's data in a browse window?

Regards,

Ilya

ENTIRE THREAD

Multi item print Posted by milan @ 5/17/2012 10:27:21 AM
RE: Multi item print Posted by Ilya Rabyy @ 5/17/2012 3:47:30 PM
RE: Multi item print Posted by milan @ 5/17/2012 6:13:08 PM