Subject RE: [IBO] Stored Procedure
Author mjcook@techie.com
>>The very first time you try to reference it, you get an AV? Sounds like a
>>creation order problem. Is it on a DataModule that hasn't been created
yet?

Brilliant!!

Exactly the problem.

Thanks
Marv

-----Original Message-----
From: Brian Nuckels [mailto:bnuckels@...]
Sent: Monday, April 23, 2001 9:29 AM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] Stored Procedure


The very first time you try to reference it, you get an AV? Sounds like a
creation order problem. Is it on a DataModule that hasn't been created yet?

Also, you can use the Gen_ID method of TIB_Connection to get and increment
a generator value without the need for a Stored Procedure component.

At 07:12 PM 4/22/2001 -0400, you wrote:
>Hi all,
>
>I have a TIB_StoredProc on a Datamodule. I have set the IB_Connection to a
>TIB_Connection, which points to a DB. The connection is OK and I can
select
>the SP in the TIB_StoredProc, but when I try to reference it, I get an
>Access Violation. This seem so simple....
>
>The SP does nothing more than get the next value of a generator. I have
>used this code extensively before but never with IBO.
>
>What am I missing? I checked the help and did not see any special steps
>needed before accessing a TIB_StoredProc
>
>Marv
>
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/