Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APPEND BLANK in 'MyDBF' not consistent?
Message
From
29/09/2000 14:46:17
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00422792
Message ID:
00422798
Views:
17
I would guess that you're doing something like

select file 1
scan
replace file2.field1 with file1.field1
endscan

Where you're never actually selecting the 2nd file.

If the currently selected file is at EOF, you can't replace into another file. If you select your second file and replace into it from the 1st file you won't see the problem.

PF


>The syntax:append blank in 'myfile' doesn't seem to fire in all cases. A blank record was added, but the subsequent REPLACE did not put anything in the fields. It seems to happen at the last record being appended. The replaces worked in all but the last record. My work around required a SELECT MyFile and then an APPEND BLANK.

(On an infant's shirt): Already smarter than Bush
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform