Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Dynamic population of form fields upon combo selection

    Hi I have got some 5 fields including a combo named 'mycombo' in my form. The other fields say for example a text, radioGroup, aother combo need to be populated based on the value selected in mycombo.

    The task is I have to load this form with values from only one table where values of 'mycombo' is the primary key and after loading the form based on the value selected in mycombo, I have to display the other fields.

    It's quite a simple task but being a newbie to Smartclient I would appreciate if someone could give this a good kick start following the best practice

    #2
    It seems like, having entered the PK in the first combo, you can call DynamcForm.fetchData() passing the PK value as criteria to cause the rest of the form to be populated. This assumes the form is connected to a DataSource that can fulfill the "fetch" operation.

    Comment

    Working...
    X