Subject Re: [IBO] Sync an inserted record with ID provided by a SP, any trick?
Author Jason Wharton
I'm listening but I have no intention of adding in a bottom line in IB_Grid
anytime soon if at all.
That isn't to say I don't think it would be useful to some, I just know it
wouldn't be worth my time and effort to accomplish it given all the other
things I'd like to accomplish.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com

-- We may not have it all together --
-- But together we have it all --


----- Original Message -----
From: <mmenaz@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, February 20, 2003 2:27 PM
Subject: Re: [IBO] Sync an inserted record with ID provided by a SP, any
trick?


> I've solved the probelm with a fake field in the select, and an
> additional parameter (IN_INSERT) in the SP.
> I've tried something like your solution, thinking that passing a
> negative ID (I just invert the sign of the returned id) to the SP
> could have meant "hei, this is the id, and it's negative since I'm
> inserting, revert to positive and do the insert", but does not work,
> since then IBO tries to locate the record with the negative ID, and
> changing the Buffer in AfterPost does not work (seems that the ID does
> not change).
> In any case, thanks a lot for your reply.
> Just wondering, in a general issue, if IBO could need an improvement
> in this regard.
> In addition with IB_Grid with a bottom line suitable for totals, and
> calculated fields that can be edited (and so store information
> regarding the row that don't need to be "persistent") are the most
> wanted IBO improvements for me (I remember Jason asked about community
> idea about further IBO improvements... Jason, are you reading?)
> regards
> Marco Menardi