Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy data from floppy to hard disk - what's wrong?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Copy data from floppy to hard disk - what's wrong?
Miscellaneous
Thread ID:
00321783
Message ID:
00321783
Views:
55
I'm trying to copy data from a floppy disk onto the hard drive. I know how to do this in DOS but am having trouble in VFP. I've attached the code. Right now it's duplicating everything on the C drive. My 3rd sele line that says sele document is where the problem is I think. How do I get VFP to know that document is the table on the floppy?

TIA

select 0
use a:document
sele doc
set order to dnumber
sele document
do while not eof()
scatter memvar memo
select doc
seek document.dnumber
if not found()
sele doc
append blank
gather memvar
else
select doc
gather memvar
endif
select doc
skip
enddo
Next
Reply
Map
View

Click here to load this message in the networking platform