Dynamicly create a tablebox

guidorobbenguidorobben Member Posts: 157
I want to create a form that contains a tablebox. When I open the form I want to dynamicly fill the tablebox with all the fields from a table. Is this possible. I saw that you cannot set the SourceExpr property.

Thanx,

Guido

Comments

  • FPulsfortFPulsfort Member Posts: 43
    Hi,

    this is not possible. You only can put in all fields and at starting the form you can set the visible-property to true or false. But thats not what you really want, do you?

    Regards,
    Frank
  • guidorobbenguidorobben Member Posts: 157
    No not really. I just want to run a form and set the SourceExpr later. This way I don't have to create a lot of forms. But just open the same with a different source.

    Guido
  • borsicsjborsicsj Member Posts: 32
    Hi,

    You can do this only when ths structure of the sourcetables are the same. In this case you can use the FORM.RUN(FormID, SourceTableID) statement, then your form will display the records from the SourceTable specified in the 2. parameter.

    Note, that you must use the same structure in the ables. This is worked out to use temporary tables.
    Brg,

    --
    János Borsics
Sign In or Register to comment.