Subject | RE: [IBO] TIB_dSQL Success Test |
---|---|
Author | IBO Support List |
Post date | 2013-09-20T04:30:40Z |
You can check the RowsAffected property.
Jason
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf Of John W. (Jack) Cane
Sent: Thursday, September 19, 2013 10:03 PM
To: IBObjects Support
Subject: [IBO] TIB_dSQL Success Test
Inherited, legacy code contains a test for the value of
dSql.Fields[0].AsInteger. That fails with an access violation.
If that is the best test, would you please give me the required statement
to prepare that query. I tried appending the clause, 'Returning ' + pkFieldName,
but the error remains.
Would prefer to make the code general, with the given condition that
Fields[0] is always the primary key field of my tables.
Best,
jwc
Best,
jwc
from
iMac