Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: mk sharma
  Where is mk sharma?
 mumbai
 India
 mk sharma
 To: Anil Sharma
  Where is Anil Sharma?
 ludhiana
 India
 Anil Sharma
 Tags
Subject: RE: report with 2columns
Thread ID: 331153 Message ID: 331165 # Views: 31 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Reports and Printers
Date: Tuesday, December 27, 2011 2:07:02 PM         
   


> >
> > it is printing a blank page if second column is printed.
> >
> > Page 1 with Both coloumns
> >
> >
> > Page 2 Blank
> >
> >
> > How to Stop this page 2 ?
> >
> > Warm Regards,
> > mk.
>
> Make sure your any of UDF is not changing the record pointer of main cursor ?
> And as Anders says the 2 column will fill only when column first is full.
> if you really want to print 2 records in single row. than you have to make a UDF
> which increase record pointer and print 2nd column and for that you dont need 2 column report of vfp.
>
>
> Anil
>
>
> Accounting Software
>
> Web Development
>
> Accounting, Inventory, Hotel Management, Restaurant Kot Billing, MLM, Excise Accounting and much much more!.
> My Blog

how to do this UDF ?

i have increase the no of records as below :
select * from salchal where reco1=lcreco1 into cursor junkcursor readw
select junkcursor 
local lnrec
lnrec=0
do while not eof()
   lnrec=lnrec+1
   skip
enddo
do while lnrec<=20
   append blank in    junkcursor
   repl reco1 with lcreco1 in junkcursor
   lnrec=lnrec+1
enddo
go top
report form salchal to print prompt preview   && 2 column report, but prints a blank page



Warm Regards,
mk.

ENTIRE THREAD

report with 2columns Posted by mk sharma @ 12/27/2011 1:13:58 PM
RE: report with 2columns Posted by Anil Sharma @ 12/27/2011 1:15:46 PM
RE: report with 2columns Posted by mk sharma @ 12/27/2011 1:27:42 PM
RE: report with 2columns Posted by Anders Altberg @ 12/27/2011 1:43:59 PM
RE: report with 2columns Posted by mk sharma @ 12/27/2011 1:53:16 PM
RE: report with 2columns Posted by mk sharma @ 12/27/2011 1:39:00 PM
RE: report with 2columns Posted by Anil Sharma @ 12/27/2011 1:55:25 PM
RE: report with 2columns Posted by mk sharma @ 12/27/2011 2:07:02 PM
RE: report with 2columns Posted by mk sharma @ 12/27/2011 4:01:54 PM
RE: report with 2columns Posted by Anil Sharma @ 12/27/2011 4:39:57 PM
RE: report with 2columns Posted by mk sharma @ 12/27/2011 5:53:50 PM
RE: report with 2columns Posted by subhankar pandey @ 12/28/2011 6:43:26 AM
RE: report with 2columns Posted by mk sharma @ 12/28/2011 7:10:22 AM
RE: report with 2columns Posted by mk sharma @ 12/28/2011 7:15:10 AM
RE: report with 2columns Posted by Anil Sharma @ 12/28/2011 8:43:14 AM