Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How come my program is updating the table in a different folder?

Status
Not open for further replies.

MY3MCS

Technical User
Apr 17, 2003
49
0
0
GB

In the command button of my form is:

SELECT Filename.DBF
APPEND BLANK
REPLACE .....
TABLEUPDATE()
RELEASE Thisform

But when I browsed my table, I can't find the record I just did and instead, it is
in the other folder with the same filename. Can you help me solve this please?

 
MY3MCS

it's look like the Working Directory are not correct.
check your Cursor Source.
under Data Environment,
verify the location of your database.

OMR:)
 
my3mcs

To test try this:
SELECT Filename.DBF
messagebox(dbf()) &&This will give you the path of the table.
APPEND BLANK
REPLACE .....
TABLEUPDATE()
RELEASE Thisform


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top