Subject | Re: [IBO] Programmatically grant role to user |
---|---|
Author | Helen Borrie |
Post date | 2006-03-01T22:51:23Z |
At 04:17 AM 2/03/2006, you wrote:
SELECT, you use Open (or, in the case of IB_Cursor, First).
All other SQL statements, use Execute.
Btw, don't use IB_Query/IBOQuery for executable statements. Use
IB_DSQL (best) or IB_Cursor. Because executable statements are not
linked to visual controls, there's no problem using these components
with TIBODatabase as their IB_Connection.
Helen
>As soon as I used ExecSQL it worked ok, I need to readup on theThat one is just tooooo simple. If your SQL statement starts with
>difference between Open & ExecSQL.
SELECT, you use Open (or, in the case of IB_Cursor, First).
All other SQL statements, use Execute.
Btw, don't use IB_Query/IBOQuery for executable statements. Use
IB_DSQL (best) or IB_Cursor. Because executable statements are not
linked to visual controls, there's no problem using these components
with TIBODatabase as their IB_Connection.
Helen