TIP: Click on subject to list as thread! ANSI
echo: clipper
to: BEN CAVANAGH
from: RON TUYNMAN
date: 1997-07-01 16:39:00
subject: Adding Fields in Clipper

-=> Ben Cavanagh schreef op 24 Jun 97  21:00:11 aan Bong Benitez over Adding 
Fields in Clipper..<=-
 BC> ---- procedure FixFile()
 BC> select 1
 BC> use NAME
 ///---First CLOSE the databases! You've opened NAME already and this
 will give you an ALIAS ALREADY IN USE-error...
 BC> select 1
 BC> go top
 BC> do while .not. eof()
 BC> select 2
 BC> append blank
 BC> replace LASTNAME  with 1->LASTNAME
 BC> replace FIRSTNAME with 1->FIRSTNAME
 BC> replace MID       with 1->MID
 BC> select 1
 BC> skip
 BC> end
 ...Why not just do APPEND FROM...?
 Furthermore you don't use the aliasses. Can be rather confusing those
 numeric values. I rather use NAME-> and TMP-> than 1-> & 2->. It's
 more clear to me then which database I'm actually adressing...
 Cu,
 Ron
--- Blue Wave v2.12
---------------
* Origin: SYNCNET BBS - +31-35-6237178/6244318 [ISDN] (2:283/1)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.