Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Teoman Paylar
  Where is Teoman Paylar?
 Istanbul
 Turkey
 Teoman Paylar
 To: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 Tags
Subject: RE: General Field
Thread ID: 247988 Message ID: 249080 # Views: 2 # Ratings: 0
Version: FoxPro 2.x for Windows Category: Databases, Tables and SQL Server
Date: Monday, December 28, 2009 9:50:30 AM         
   


> >
> >
> > yuri
> > thk. for codeing. i find VFP9 as trial version and install also WIN2PDF and try your codeing. it work for the first 2 records good i get 2 different pdf files. but after that 2 i get massages "1234.pdf" are existing overwriting? i have show test.dbf i couldn't find any ids as same, all ids are different. have you a idea were are this problem could be. we are near a solution. i hope you have again a good solution for that.
> >
> > thanks
> > teoman
>
> 1. Make sure that report data environment is empty.
>
> 2. There could be various reasons for that file already exists (for instance, field_id is not unique, there are duplicate records, ....). Thus the proper solution depends.
>
> In any case, there are only two cases I can imagine: either you do not need the file that already exists, or you need to keep it. So, it is up to you to decide.
>
>
>
use your_table
> replace_file=(up to you to decide, .f./.t.)
> scan
> 	?recn()	&& just in case, verify it is moving
> 	lcfilename=alltr(field_id)+".pdf"
> 	if replace_file
> 		erase (lcfilename)
> 	else
> 		ia=0
> 		do while file(lcfilename)
> 			ia=ia+1
> 			lcfilename=alltr(field_id)+"_"+trans(ia)+".pdf"
> 		enddo
> 	endif
> 	 report form .... next 1 to file (lcfilename)	
> endscan

>
> 3. Also, instead of creating separate files from VFP, you may create a single file (making sure that drawings appear one per page); and then use a suitable free pdf splitter.
>
>
> Best Wishes,
>
> Yuri Rubinov

yuri your coding works fine,
i could export all drwaing to a separate pdf file. who could i copy this gen field to a drawing file. i will move from dbf file like pdf to a draftx-drawing file. than i will creat a link without dbf. i find a FoxPro 9.0 could that help me to find a solution?

thanks
teoman

ENTIRE THREAD

General Field Posted by Teoman Paylar @ 12/14/2009 1:13:18 PM
RE: General Field Posted by tushar @ 12/14/2009 1:23:29 PM
RE: General Field Posted by Teoman Paylar @ 12/14/2009 1:34:46 PM
RE: General Field Posted by tushar @ 12/14/2009 3:57:13 PM
RE: General Field Posted by Yuri Rubinov @ 12/14/2009 3:41:30 PM
RE: General Field Posted by Teoman Paylar @ 12/14/2009 4:24:31 PM
RE: General Field Posted by tushar @ 12/14/2009 4:37:47 PM
RE: General Field Posted by Yuri Rubinov @ 12/14/2009 4:43:32 PM
RE: General Field Posted by Teoman Paylar @ 12/15/2009 1:45:38 PM
RE: General Field Posted by Yuri Rubinov @ 12/15/2009 3:25:02 PM
RE: General Field Posted by Teoman Paylar @ 12/15/2009 4:03:07 PM
RE: General Field Posted by Yuri Rubinov @ 12/15/2009 6:44:54 PM
RE: General Field Posted by Yuri Rubinov @ 12/15/2009 7:01:45 PM
RE: General Field Posted by Teoman Paylar @ 12/16/2009 7:31:20 AM
RE: General Field Posted by Yuri Rubinov @ 12/16/2009 3:13:34 PM
RE: General Field Posted by Teoman Paylar @ 12/17/2009 2:17:06 PM
RE: General Field Posted by Yuri Rubinov @ 12/17/2009 4:19:12 PM
RE: General Field Posted by Teoman Paylar @ 12/24/2009 3:57:15 PM
RE: General Field Posted by Teoman Paylar @ 12/28/2009 9:50:30 AM
RE: General Field Posted by Yuri Rubinov @ 12/28/2009 3:11:53 PM
RE: General Field Posted by Cetin Basoz @ 12/14/2009 4:21:40 PM
RE: General Field Posted by Stefan Wuebbe @ 12/14/2009 4:32:03 PM
RE: General Field Posted by Cetin Basoz @ 12/14/2009 5:03:37 PM
RE: General Field Posted by Teoman Paylar @ 12/14/2009 4:33:40 PM
RE: General Field Posted by Cetin Basoz @ 12/14/2009 4:58:58 PM
RE: General Field Posted by Borislav Borissov @ 12/14/2009 5:04:35 PM
RE: General Field Posted by Cetin Basoz @ 12/14/2009 5:17:18 PM
RE: General Field Posted by Borislav Borissov @ 12/14/2009 5:21:29 PM
RE: General Field Posted by Teoman Paylar @ 12/15/2009 1:42:17 PM