Do the following............
1.) Create a textbox.
2.) define a global variable. assign this global variable as source expression of the textbox in the textbox property.
3.) then define the tablerelation property of the textbox.
Thanks very much!
Another similar questions: how can I create a column of a table box not bound to a table and with a lookup? In this case the number of rows is not determinable a priori (the first column is bound to a database table and it determine the dimension of the table) and so a global variabile isn't usable.
Dear Ferris,
Do the following............
1.) Select a textbox from toolbox and put it in tablebox.
2.) define a global variable. assign this global variable as source expression of the textbox in the textbox property.
3.) then calculate and assign the value to this variable onAfterGetRecord trigger.
The global variabile is a Code or somethings else?
If I use a Code each row share the same variabile and so the value of the column isn't permanent.
Thanks
The global variable can be code or anything else. It depends upon you that what type of data u want to store in it.
Each row would have different varable b'coz you will write the code in OnafterGetRecord() trigger. as I mentioned in last mail.
First try the solution given in last mail. Then If u have any query ask.
Comments
1.) Create a textbox.
2.) define a global variable. assign this global variable as source expression of the textbox in the textbox property.
3.) then define the tablerelation property of the textbox.
Another similar questions: how can I create a column of a table box not bound to a table and with a lookup? In this case the number of rows is not determinable a priori (the first column is bound to a database table and it determine the dimension of the table) and so a global variabile isn't usable.
Do the following............
1.) Select a textbox from toolbox and put it in tablebox.
2.) define a global variable. assign this global variable as source expression of the textbox in the textbox property.
3.) then calculate and assign the value to this variable onAfterGetRecord trigger.
If I use a Code each row share the same variabile and so the value of the column isn't permanent.
Thanks
Each row would have different varable b'coz you will write the code in OnafterGetRecord() trigger. as I mentioned in last mail.
First try the solution given in last mail. Then If u have any query ask.
1. You don't have to write any form code.
2. The value will be calculated and displayed independently for each record in a tablebox.
3. You can re-use the function elsewhere, such as a report.