Hello all!
My Problem:
I've got several forms which get their data from tables in the dataenvironment. My Problem is now: when I copy my compiled runtime-files (with Database-Directory) to another directory the cursor-objects in the dataenvironment do not find the database. They search for it in the main directory (e.g. c:\project). My database is in a separat directory. (e.g. c:\project\data) The cursor-objects' property 'database' contains a full path and cannot be changed. Is there a way to handle this problem?
I tried this:
1) I used the
VALIDATE DATABASE
command to see if there are any errors in the DBC.
2) I tried to change the path of the cursors' property by code (e.g. the Function
CursorSetProp()
results:
1) The
VALIDATE DATABASE
command said there are no probs with the database.
2) The cursor's property is read-only anytime.
Could anyone help me please?