Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 To: Ben Santiago
  Where is Ben Santiago?
 Holbrook
 New York - United States
 Ben Santiago
 Tags
Subject: RE: COPY TO Command, Cauing Error....
Thread ID: 33868 Message ID: 33891 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: Errors & Debugging
Date: Thursday, December 04, 2003 8:08:49 PM         
   


> Can anyone see anything wrong with this code? VFP complains that the DELIMITED part of this code is wrong.
>
>
> IF THISFORM.chkTabDelimited.Value = 1 THEN
> 	COPY TO (lcOut) TYPE DELIMITED WITH TAB
> ELSE
> 	COPY TO (lcOut) TYPE SDF
> ENDIF
> 

>
>

The COPY TO statement is correct syntax. Something else must be causing a problem. Double check the value of lcOut and make sure the chkTabDelimited.value type is numeric.
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts

ENTIRE THREAD

COPY TO Command, Cauing Error.... Posted by Ben Santiago @ 12/4/2003 4:20:48 PM
RE: COPY TO Command, Cauing Error.... Posted by Jez Enefer-Mills @ 12/4/2003 4:55:12 PM
RE: COPY TO Command, Cauing Error.... Posted by Ben Santiago @ 12/4/2003 4:58:46 PM
RE: COPY TO Command, Cauing Error.... Posted by Jez Enefer-Mills @ 12/4/2003 5:00:32 PM
RE: COPY TO Command, Cauing Error.... Posted by Ben Santiago @ 12/4/2003 5:01:57 PM
RE: COPY TO Command, Cauing Error.... Posted by Jez Enefer-Mills @ 12/4/2003 5:04:38 PM
RE: COPY TO Command, Cauing Error.... Posted by Ben Santiago @ 12/4/2003 5:08:00 PM
RE: COPY TO Command, Cauing Error.... Posted by Jez Enefer-Mills @ 12/4/2003 5:10:20 PM
RE: COPY TO Command, Cauing Error.... Posted by Ben Santiago @ 12/4/2003 5:25:41 PM
RE: COPY TO Command, Cauing Error.... Posted by Jez Enefer-Mills @ 12/4/2003 5:29:47 PM
RE: COPY TO Command, Cauing Error.... Posted by Eric den Doop @ 12/4/2003 8:08:49 PM
RE: COPY TO Command, Cauing Error.... Posted by Cheryl Bellucci @ 12/4/2003 9:19:53 PM
RE: COPY TO Command, Causing Error.... Posted by Rene Relucio @ 12/5/2003 5:24:10 AM