Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Anders Altberg
  Where is Anders Altberg?
 Uppsala
 Sweden
 Anders Altberg
 To: David David
  Where is David David?
 
 Iowa - Kazakhstan
 David David
 Tags
Subject: RE: DBF 2 Editbox
Thread ID: 373615 Message ID: 373633 # Views: 55 # Ratings: 1
Version: Visual FoxPro 9 Category: Forms
Date: Sunday, March 24, 2013 2:12:12 PM         
   


> >
> > *solution 1:
> > SCAN 
> > * build a string with CRLF between each item. 
> > ENDSCAN
> > 
> > *solution 2
> > _VFP.DataToClip(,,)
> > *Then paste into editbox (can be programmed).
> > *or set 
> > Editbox.Value = _ClipText

> >
> > -Anders
>
> Sir how to build string between SCAN - ENDSCAN in your following codes
>
>
> SCAN 
> * build a string with CRLF between each item. 
> ENDSCAN
> 


#DEFINE CRLF CHR(10)+CHR(10)
LLOCAL lcString 
SELECT myalias
lcString=""
SCAN [FOR ...]
 lcString=m.lcString+TRIM(column)+CRLF
ENDSCAN 
EditBox.Value=m.lcString


-Anders

ENTIRE THREAD

DBF 2 Editbox Posted by David David @ 3/24/2013 7:22:08 AM
RE: DBF 2 Editbox Posted by Anders Altberg @ 3/24/2013 11:46:07 AM
RE: DBF 2 Editbox Posted by David David @ 3/24/2013 12:51:28 PM
RE: DBF 2 Editbox Posted by Anders Altberg @ 3/24/2013 2:12:12 PM
RE: DBF 2 Editbox Posted by David David @ 3/24/2013 4:22:47 PM
RE: DBF 2 Editbox Posted by Stefan Wuebbe @ 3/24/2013 5:04:06 PM
RE: DBF 2 Editbox Posted by Koen Piller @ 3/24/2013 6:24:12 PM
RE: DBF 2 Editbox Posted by Stefan Wuebbe @ 3/25/2013 11:51:37 AM
RE: DBF 2 Editbox Posted by Anders Altberg @ 3/24/2013 7:25:57 PM