Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Chachedupdates change the order of a dbgrid

Status
Not open for further replies.

john230873

Programmer
Oct 3, 2003
89
NZ
Hi I using SQL server as my back end and the BDE components
I have a master table and a child table both used for order entry eg master is the headers and secondary id the order lines
In the secondary table the link is service_number and the second field to this index is line number.

When I am not in cached mode I can insert, edit etc to the secondly table (order lines) and they all stay in the order I create them (Line Number) but when in cached mode when I insert a new line it goes to the top of the dbgrid.
How do I stop this? I know it has the right line number because I can see it.

Oh yar if I go out of the order and commit the changes then go back in they are in the right order again

Any ideas what I could be doing wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top