Print Thread
Undeclared identifier:'otString'
#912 09/14/00 02:43 PM
Joined: Sep 2000
Posts: 3
Belgium
K
Koen Offline OP
Member
OP Offline
Member
K
Joined: Sep 2000
Posts: 3
Belgium
hello,

I'm new to this product and now i'm going into more specific futures like declarevariable,
i'm getting this error:
undeclared indentifier : 'otString'
Allthough the second parameter of integer you give a constant (otstring,otinteger,..)
i think otString must be defined somewhere by you, but i don't know what i'm missing.

thanks in advance for some help

here is some code:
With dataTpa8.oradsTp do begin
If active then CLose;
sql.clear;
sql.add('select * from rn.persons....');
clearvariables;
declarevariable(':nr',otString);
Setvariable(':nr',xxx);
open;
end;

Koen Van den Broucke
kvandenbroucke@cibg.irisnet.be

Re: Undeclared identifier:'otString'
#913 09/14/00 05:15 PM
Joined: Aug 1999
Posts: 22,217
Member
Offline
Member
Joined: Aug 1999
Posts: 22,217
The otXXX constants are defined in the Oracle unit. Add it to the uses clause of this unit to fix the problem.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.034s Queries: 13 (0.012s) Memory: 2.4983 MB (Peak: 3.0418 MB) Data Comp: Off Server Time: 2024-05-14 06:57:29 UTC
Valid HTML 5 and Valid CSS