Subject | RE: [IBO] Params in BCB |
---|---|
Author | Alan McDonald |
Post date | 2003-02-18T06:03:01Z |
Helen,
you don't do Delphi
you don't have BCB...
is it Notepad for Helen Borrie?
Alan
-----Original Message-----
From: Helen Borrie [mailto:helebor@...]
Sent: Tuesday, 18 February 2003 4:52 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] Params in BCB
At 05:17 AM 18/02/2003 +0000, you wrote:
with a TStrings, you need to specify the Strings[n] property explicitly,
e.g.
Query1->Params->Strings[0]->AsString = "hello"
Sorry, can't test it, as I don't have BCB.
Helen
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
you don't do Delphi
you don't have BCB...
is it Notepad for Helen Borrie?
Alan
-----Original Message-----
From: Helen Borrie [mailto:helebor@...]
Sent: Tuesday, 18 February 2003 4:52 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] Params in BCB
At 05:17 AM 18/02/2003 +0000, you wrote:
>Does anyone know how to set the Params in BCB? Delphi developers canIsn't the problem that BCB doesn't recognise default properties? I think
>use:
> Query1.Params[0].AsString = "hello";
>
>but when I use:
> Query1->Params[0]->AsString = "hello"
>
>I get the message:
> [C++ Error] OneXML.cpp(313): E2288 Pointer to structure required
>on left side of -> or ->*
> (which points at the 0)
with a TStrings, you need to specify the Strings[n] property explicitly,
e.g.
Query1->Params->Strings[0]->AsString = "hello"
Sorry, can't test it, as I don't have BCB.
Helen
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/