How i can modify the row numbers in a edittable (OpenInsight 16-Bit Specific)
At 07 JAN 2004 04:49:22PM Jose Maria Dominguez wrote:
I have a table where the row numbers go from 1 to 100 , but, I have a second table , where I want the row numbers start from 101.
How I can do for initialize the row of numbers ?
and , I want to know If I can modify the row with other text different to the numbers.
At 07 JAN 2004 05:06PM Oystein Reigem wrote:
Jose Maria,
If you have a table with an integer key, and you want new rows to get new keys n, n+1, n+2, etc, automatically, you can define the key as a sequential key in Table Builder. You might know that already.
The key counter is kept in the %SK% row of the table's dict. If you want the key to start not at 1 but at a different number, e.g, 101, you must set the counter either with a program or with the System Editor.
I'm not sure what your question about text is. You can have non-numeric keys all right. But if you want non-numeric sequential keys (e.g., XYZ1, XYZ2, XYZ3) you must program everything yourself.
- Oystein -
At 07 JAN 2004 05:49PM Jose Maria Dominguez wrote:
I'm confuse with your answer,
more specific:
1) I have a form with a 'x' key ,
2) in the form i have a edittable where it's row numbers go from 1 to 100
3) for reasons of limits, i need create other control edittable and
i want the row numbers start in 101
The field in the edittable not are keys , I only need to modify the row numbers of an edittable control
At 07 JAN 2004 06:06PM Donald Bakke wrote:
Jose,
Oystein is usually quite good at figuring out the question and given an answer. However, in this case he got confused by the terms "table" and "row numbers" and thought you were talking about data tables rather than edit tables.
Unfortunately, this is not something you can easily control within OpenInsight. If the edittables do not scroll up and down then you can hide the row numbers and put your own row labels there. You can even protect the first column and prefill it with your row numbers to simulate the row buttons.
dbakke@srpcs.com
At 07 JAN 2004 07:39PM Hector Contreras wrote:
Donald Bake ,
Thank's for the answer ,I had thought of that solution, I just wanted to know if I could make it to avoid to make more steps.
I will follow your advice.