Subject Re: [IBO] Index order
Author Robert martin
Hi Woody

That worked fine for adding all items at the bottom. However we have a couple of items we like to always show at the bottom of the list (discount / freight). Usually or index handles this. So I think I am still stuck with an insert + refresh system (yuk).


Rob Martin
Software Engineer

phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
----- Original Message -----
From: Woody (TMW)
To: IBObjects@yahoogroups.com
Sent: Thursday, December 09, 2004 10:42 AM
Subject: Re: [IBO] Index order


>
> We have a gird for display purposes (POS items). When the user keys in an
item it is inserted into the table the grid displays. The item appears as
the first (top) item. Previously in our BDE / Dbase app the items listed at
the bottom, based on an index the table uses.
>
> If I need to do a refresh after each insert to make the table display
correctly, will this have a negative impact on performance?
>

Rob, try using Append instead of Insert. It should then put the new record
at the bottom of the grid.

HTH
Woody (TMW)



___________________________________________________________________________
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 !


Yahoo! Groups Sponsor
ADVERTISEMENT





------------------------------------------------------------------------------
Yahoo! Groups Links

a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/IBObjects/

b.. To unsubscribe from this group, send an email to:
IBObjects-unsubscribe@yahoogroups.com

c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]