General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
You can use SETALL for this, too. Then you don't have to do each table explicitly. Watch out for free tables, though.
-Michelle
>Ernst,
>If you want the cursors in your dataenvironments to use tables from a DBC other than the one specified at design time, I find I have to change the Cursor.Database property for each table (cursor) in the DE. For instance, I do this in the BeforeOpenTables event of the DE of one particular form:
>
>THIS.Cursor1.Database = DBC()
>THIS.Cursor2.Database = DBC()
>
>This assumes that the exe already OPENed the correct DBC previously. There are other ways to accomplish this as well, as discussed here on the UT.
>
>Mark
>
>>I'm working in an environment with a developing directory and different directories with original data. For testing I have a database container with the same name as the database container in the real-data directory.
>>For testing new program versions with the original data I have a link on my desktop with
>>the program path c:\developdir\myapp.exe and
>>execute in f:\originaldata\
>>
>>The problem is that the application under these circumstances always uses the data from my devoloping environment, also if i use set defa to F:\originaldata\in my main program. How can I force my application to use allways the database from the directory that i specify in my link ?
Previous
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