I have a process that I need to allow the user to update data. I started out with a DBGrid which would have been PERFECT, but the query I'm using has an order by clause, which makes the dataset READ ONLY. So now I must figure out how to do all of the DB aware components in a string grid.
It's fairly simple:
PANELID NAME RTM (Round Trip Miles)
030707P01J01 Joe Blow 15
030707P01J02 Jane Doe 40
I need to allow the user to change the RTM. Is there an easy way to update the database then refresh the string grid data to reflect the change?
Does anyone know why the order by clause restricts the dataset to read only?
Thanks!
Leslie
landrews@metrocourt.state.nm.us
There are 10 types of people in the world -
those who understand binary
and
those who don't!
It's fairly simple:
PANELID NAME RTM (Round Trip Miles)
030707P01J01 Joe Blow 15
030707P01J02 Jane Doe 40
I need to allow the user to change the RTM. Is there an easy way to update the database then refresh the string grid data to reflect the change?
Does anyone know why the order by clause restricts the dataset to read only?
Thanks!
Leslie
landrews@metrocourt.state.nm.us
There are 10 types of people in the world -
those who understand binary
and
those who don't!