1. Ver 4 question about using eds.e
- Posted by bernie Nov 09, 2008
- 900 views
I am trying to write a database using eds.e
There is a function called db_table_list which lists all tables in a database.
Unfortunately there is NO function to list all the records in a table.
The records in the table that I am using uses sequences for keys.
I want to pull all the records from the current table and display
them in a list control.
The problem is there is no easy way to get the records out of the table
one after another, because I am using sequences and not record numbers.
I can't have the user type-in the sequence keys.
In most databases you have a db_next_record function or etc.
If there was a list records function in the current table it would be easy.
2. Re: Ver 4 question about using eds.e
- Posted by jacquesd Nov 09, 2008
- 914 views
I am trying to write a database using eds.e
There is a function called db_table_list which lists all tables in a database.
Unfortunately there is NO function to list all the records in a table.
The records in the table that I am using uses sequences for keys.
I want to pull all the records from the current table and display
them in a list control.
The problem is there is no easy way to get the records out of the table
one after another, because I am using sequences and not record numbers.
I can't have the user type-in the sequence keys.
In most databases you have a db_next_record function or etc.
If there was a list records function in the current table it would be easy.
integer size object key, data size = db_table_size() for i = 1 to size do key = db_record_key(i) data = db_record_data(i) --do whatever you want with key and data end for
3. Re: Ver 4 question about using eds.e
- Posted by bernie Nov 09, 2008
- 887 views
integer size object key, data size = db_table_size() for i = 1 to size do key = db_record_key(i) data = db_record_data(i) --do whatever you want with key and data end for
Thanks jacques