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.
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?
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.
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.
Comments
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
Guido
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.
--
János Borsics