General information
Category:
Forms & Form designer
Title:
Copy data from floppy to hard disk - what's wrong?
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only