Re: Strange table behavior by Cindy
Cindy
Wed Mar 29 21:12:33 CST 2006
Hi Cory,
I'm not doubting you that there's no other file by that name, but I've seen
similar questions here and the final answer was that there _was_ another
file by that name hiding somewhere in the search path.
A couple of things to try -
Open your file in Notepad and verify that there's "new" data in it, not the
"old" data.
Remove/rename the file and run the code and see if your app complains that
it can't find the file.
You've got two dots in your file name. Try renaming the file so it has a
more standard name and see if that changes anything. Of course, change the
code to match the new file name.
Copy your text file to another name, and then open it and change something
in the first couple of lines that will make it obvious that it's the new
test file. Maybe fill a character field with "****". Now that you know
there's (really, really, really) only one file, hard code the name of the
new file into your program, and run the program. See what you get.
--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy_winegarden@msn.com www.cindywinegarden.com
"Cory" <Cory@discussions.microsoft.com> wrote in message
news:1F56ADC7-AE47-42D1-999B-CBDFE9D6B886@microsoft.com...
> No, even if it was, there is not other file by that name.
>> I see you're using the "." notation to indicate your file path. Is there
>> any
>> chance the current directory in your app is not the same as the current
>> directory when you run the code manually?
>> > APPEND FROM .\updates\rms.full.txt DELIMITED WITH CHARACTER |