From: Suzy Tickner
To: All
I am connecting to an AS/400 database using Visual Basic (VB) and the Open Database Connectivity (ODBC) driver from Client Access. I can't write to a table I need to update. Has anyone else had a similar problem?
From: Brian Singleton
To: Suzy Tickner
In order for a table to be updatable using ODBC, it must have a unique key. If the table you are trying to update is attached to an Access database, you can determine if Access is recognizing the unique key by going into design mode on the table and looking at the primary key or the indexes. If there is no unique key, create one on the AS/400 table through normal means and then reattach the table to your database. You should then be able to update it from either VB or Access.
LATEST COMMENTS
MC Press Online