Subject | Re: [IBO] Odd TIB_Cursor problem in 4.8.7 |
---|---|
Author | tickerboo2002 |
Post date | 2008-07-06T23:16:11Z |
> With all these messages it sounds a bit befuddled. Did you upgradeto v.4.8.7 because you upgrade to Fb 2 or 2.1?
No, I'm still using 1.54 currently, but I plan to upgrade to FB v2.x
shortly.
I've deleted the TIB_Connection and TIB_Transaction and recreated them
and my code boils down to this:
pCur->SQL->Text = "Select USER_ID from USERS where
USER_NAME=:USER_NAME and PW=:PW";
pCur->Prepare();
TIB_Column * pColFP = pCur->FindParam( "USER_NAME");
TIB_Column * pColPBN = pCur->ParamByName("USER_NAME");
FindParam returns a column, but ParamByName returns NULL.
Creating another app and pasting in the code works, I just cannot find
out why it's failing here.