D
dpc
In the past I could fool the system and reset the linked table properties by
modifying the property for a particular row and then saving the application.
Although it would not allow me to change the property at the table property
level.
With 2003 I cannot do this.
The reason for doing this is due to the fact that I do not want to bind i.e.
force the table to be always linked to a specific database. I would like the
DSN to determine the database that it will be linked to.
Reason: So that I can switch the database by repointing the DSN and not
having to deal with the application. It also causes my relink to fail when
it cannot find the database.
Example:
I link to DSN:Onyx and my database for Staging id Onyx_STG, for development
is Onyx_DEV and Onyx_Dev is used for development.
With the current version when I link a table to the SQL database the
properties are: ODBC;DSN=ONYX;APP=Microsoft Office
2003;WSID=SYSPRO1800;DATABASE=Onyx_DEV;Network=DBMSSOCN;TABLE=dbo.company
However, when I move it to my staging machine, the database Onyx_Dev is no
longer there and it fails. In the past I could modify the connect string
such that it would only read:
ODBC;DSN=ONYX;UID=onyx1;TABLE=dbo.company
Now in my application my old linked tables still work although they have
these old settings. However my new tables will not work and my relink script
fails. When I move the applcation from one region to another.
Is there a way for me to reset the properties, like what I had done in the
past?
Derrick
modifying the property for a particular row and then saving the application.
Although it would not allow me to change the property at the table property
level.
With 2003 I cannot do this.
The reason for doing this is due to the fact that I do not want to bind i.e.
force the table to be always linked to a specific database. I would like the
DSN to determine the database that it will be linked to.
Reason: So that I can switch the database by repointing the DSN and not
having to deal with the application. It also causes my relink to fail when
it cannot find the database.
Example:
I link to DSN:Onyx and my database for Staging id Onyx_STG, for development
is Onyx_DEV and Onyx_Dev is used for development.
With the current version when I link a table to the SQL database the
properties are: ODBC;DSN=ONYX;APP=Microsoft Office
2003;WSID=SYSPRO1800;DATABASE=Onyx_DEV;Network=DBMSSOCN;TABLE=dbo.company
However, when I move it to my staging machine, the database Onyx_Dev is no
longer there and it fails. In the past I could modify the connect string
such that it would only read:
ODBC;DSN=ONYX;UID=onyx1;TABLE=dbo.company
Now in my application my old linked tables still work although they have
these old settings. However my new tables will not work and my relink script
fails. When I move the applcation from one region to another.
Is there a way for me to reset the properties, like what I had done in the
past?
Derrick