JohnReaume
Programmer
I have an application that filters several items of SQL data by using the device ID of the source computer.
The records are added via VB with a special ID for the valid records, and with the DLL call "GetComputerNameA" to keep the filter specific to the device. Then I run the Stored Procedure with everything works great.
When I copy a completed adp/ade file to another device, the workstation ID is staying the same, and that is being used for the call back to SQL "the Host_Name() function"
Is there anyway to change the File/Connection/Data Link properties dynamically?
I tried ClosedConnection, OpenConnection and it does not change the Workstation ID
HELP
The records are added via VB with a special ID for the valid records, and with the DLL call "GetComputerNameA" to keep the filter specific to the device. Then I run the Stored Procedure with everything works great.
When I copy a completed adp/ade file to another device, the workstation ID is staying the same, and that is being used for the call back to SQL "the Host_Name() function"
Is there anyway to change the File/Connection/Data Link properties dynamically?
I tried ClosedConnection, OpenConnection and it does not change the Workstation ID
HELP