"Index" table with SQLite ?
Posted: Sat Oct 04, 2008 11:40 am
I'm just getting started with RunRev & SQLite. I've set up a simple table in an SQLite db (using SQLite Expert Personal), and I used the Database Query Builder to set up a query. I've put a couple of typ-in fields onto a stack, and linked them to the table, and I also set up first, prev, next and last buttons, linking them to the appropriate actions from the Database part of the inspector. So far, so good - it works.
A couple of questions:
- I would like to set up a scrollable, read-only grid on the same form, showing the key values from this table. The idea is to be able to navigate to the record you want by clicking a row in the table. I tried this using a table object, but if I navigate using the buttons on the form, the data gets corrupted - I get duplicate key values appearing.
- I would also like to assign keyboard values to the buttons: PageDown to the "Next" button, End to the "Last" button, and so on.
Any pointers would be much apprectated.
Thanks,
Pete
A couple of questions:
- I would like to set up a scrollable, read-only grid on the same form, showing the key values from this table. The idea is to be able to navigate to the record you want by clicking a row in the table. I tried this using a table object, but if I navigate using the buttons on the form, the data gets corrupted - I get duplicate key values appearing.
- I would also like to assign keyboard values to the buttons: PageDown to the "Next" button, End to the "Last" button, and so on.
Any pointers would be much apprectated.
Thanks,
Pete