jhchrysler
Technical User
All,
I am wanting to build an interface of sorts for a phone messaging application. The app writes call entries to a .dbf file that I would like to monitor for additions. Once an addition is made to the table, I would like to insert a new record in to a SQL table and change a status field in .dbf table record to establish that that the new record in SQL was written.
My original thought was to use a Linked Server via SQL to the .dbf file. I did manage to get it working somewhat but not without issues. First is that the queries are VERY slow, second is that updating the status field in the .dbf file is problematic. I can update the .dbf file through an ODBC Linked Server connection but it generates an error which I believe is being caused because the .dbf file does not have a unique index.
I am hoping some of you may be able to offer me some other suggestions on how this might be accomplished. One idea I have is that maybe something like an automation server written in foxpro would be a more wise choice, problem there would be when to query the .dbf file for additions.
Any suggestions would be greatly appreciated!
I am wanting to build an interface of sorts for a phone messaging application. The app writes call entries to a .dbf file that I would like to monitor for additions. Once an addition is made to the table, I would like to insert a new record in to a SQL table and change a status field in .dbf table record to establish that that the new record in SQL was written.
My original thought was to use a Linked Server via SQL to the .dbf file. I did manage to get it working somewhat but not without issues. First is that the queries are VERY slow, second is that updating the status field in the .dbf file is problematic. I can update the .dbf file through an ODBC Linked Server connection but it generates an error which I believe is being caused because the .dbf file does not have a unique index.
I am hoping some of you may be able to offer me some other suggestions on how this might be accomplished. One idea I have is that maybe something like an automation server written in foxpro would be a more wise choice, problem there would be when to query the .dbf file for additions.
Any suggestions would be greatly appreciated!