Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Boudewijn Lutgerink
  Where is Boudewijn Lutgerink?
 Hoonaardstraat, Driel
 Netherlands
 Boudewijn Lutgerink
 To: one delacruz
  
 
 
 one delacruz
 Tags
Subject: RE: replace command
Thread ID: 185344 Message ID: 185362 # Views: 43 # Ratings: 1
Version: Visual FoxPro 6 Category: Databases, Tables and SQL Server
Date: Wednesday, July 23, 2008 10:38:15 AM         
   


> Hi,
>
> add command
>
> select "mytable"
> append blank
> GATHER MEMVAR
> replace mytable.userfields with username+ " " + ttoc(datetime())
> 

>
> edit command
>
> select "mytable"
> GATHER MEMVAR
> replace mytable.userfields with &&<I>please fill in this</I> + username + " " + ttoc(datetime())
> 

>
> I need help on my edit command. What I want is that what was saved in my add command will be concatenated with username+ " " + ttoc(datetime()).
>
> TIA...

May I ask why youo work with scatter / gather and not with buffering?
I think that a good understanding of buffering would make your life a lot easier.
For this take a look at the helpfile "buffers, record and table data"

Boudewijn LutgeĀ®ink
http://www.vfpdevelopers-online.com
The truth will set you free, Ken knew the truth!

COMPLETE THREAD

replace command Posted by Lopera Rhea @ 7/23/2008 9:56:27 AM
RE: replace command Posted by Jun Tangunan @ 7/23/2008 10:08:02 AM
RE: replace command Posted by Roel Batalla @ 7/23/2008 4:56:00 PM
RE: replace command Posted by Jun Tangunan @ 7/24/2008 1:08:49 AM
RE: replace command Posted by Roel Batalla @ 7/24/2008 4:13:04 AM
RE: replace command Posted by Stefan Wuebbe @ 7/23/2008 10:10:05 AM
RE: replace command Posted by Lopera Rhea @ 7/23/2008 10:22:35 AM
RE: replace command Posted by Stefan Wuebbe @ 7/23/2008 10:32:30 AM
RE: replace command Posted by Anil Sharma @ 7/23/2008 10:10:40 AM
RE: replace command Posted by Cetin Basoz @ 7/23/2008 10:28:35 AM
RE: replace command Posted by Boudewijn Lutgerink @ 7/23/2008 10:38:15 AM
RE: replace command Posted by Anders Altberg @ 7/23/2008 11:29:56 AM
RE: replace command Posted by Lopera Rhea @ 7/24/2008 2:48:48 AM