How to populate table textbox programmatically..

I made a form and put a table box on it. In table box I put 4 textbox from them two has SourseExp as data table column and 2 textbox has variables. Now I want to populate these textboxes through coding? If I use variable1 := ‘abc’; then it populates ‘abc’ in all rows which I donot want. I want different values in different rows… thanx Shyam shyampss@citesindia.com

Try to make your changes in the trigger “OnAfterGetCurrRecord” of the form Regards Hans-Dieter

A minor correction. I think it should be “OnAfterGetRecord” because that trigger is called for all the records that are shown on the form while “OnAfterGetCurrRecord” is only run afterwards for the record that you are on. Regards, Cristi Nicola

Create a function and return value. In control, property SourceExpr, call function.