Date : Thu, 08 Aug 1985 07:59:16 pdt
From : Gerry Key <key%tetra@nosc.ARPA>
Subject: dBASE II Question
I have a dBASE II question. First, the scenario.
File X.dbf contains 100 records. File Y.dbf contains 0 records
but has the same definition (i.e., STRUCTURE) as X.dbf. Someone
inadvertently issues the command:
. use Y
. copy to X structure
The result is that the 100 records in X.dbf are still there, but
because it now has the definition of Y.dbf, X.dbf appears to con-
tain 0 records. Any reference to a record number in X.dbf pro-
duces an error because the definition thinks there are none.
The question: is there any way to fake the definition of X.dbf
into recognizing those 100 records? I tried doing an APPEND,
thinking that when it updated the definition it would count in
the 100 records that were there plus the dummy record I just ad-
ded. Wrong. It now says I have 1 record in X.dbf instead of 0.
--Gerry
MILNET/ARPANET >-------------------- key@nosc.arpa
akgua \
decvax \
dcdwest \
UUCP allegra -------------!sdcsvax!noscvax!key
ucbvax /
philabs/
ihnp4 /