|
Development |
Third Party Applications |
|
MS AccessMicrosoft Access provides some very easy to use tools that can be used to manipulate data stored in another database, including any Omnidex enhanced database. The following discussion linking an Omnidex enhanced database to Access using the Omnidex ODBC Gateway. Before beginning, please read the Prerequisites to ensure that you have everything you need to complete this exercise. This discussion is not intended to teach MS Access.
Link TablesStart Microsoft Access and either open an existing Access database or create a new one.
That's all there is to it! You can now manipulate the data, create forms and reports, directly in Access. Any changes made to the data in Access are immediately reflected in the underlying database.
FYIWhen using subforms in Microsoft Access, specifically parent table forms with one or more embedded child table subforms, Access will send an unusual sql statement to Omnidex when you attempt to add a parent record. Access automatically attempts to retrieve all child table records for the current parent table record. When adding a new parent table record, the link field or parent id is null. Therefore, no child table records exist. However, Access still attempts to retrieve child table records by sending the following sql statement: select * from childtable where linkfield=" " When the link field is an integer field, which is fairly common, this statement is invalid. An integer field will never be equal to a space. Therefore, depending on the Omnidex index installation, this statement will either produce an error or cause a serial read of all the child table records. DISC is in the process of deciding how to handle this issue. The sql statement is invalid but all versions of Access tested, (97,2000,2003) send the same statement and produce the same results. In the mean time, to avoid getting the error, install the link field in the child table with the ;kw option. This will cause a serial read of the child table but will prevent the error.
|
|
APIs | SQL Reference | Stored Procedures | Third Party Tools | Debugging |
OmniAccess API |
ODBC |
JDBC |
Nested Queries |
SET Operations |
WITH Options |
CURSOR / INSTANCE |
Commands |
Functions |
SQL Server |
Oracle |
MS Access |
Ms Excel |