How to display query results on a form?
Posted: Fri Apr 20, 2012 7:54 am
Hi everyone,
I want to display the results of a query, preferably as a HTML table, on a form. The form's first tab shows the parent record and the subsequent tabs show the child records from different tables. I thought I could do this with PHP in a HTML object however PHP is only executed in reports. I want to display a non-editable overview of the records in the child tables, so all the information is available on one screen without having to browse through many tabs (e.g. to show a table showing addresses, phone numbers and email addresses). This will probably be based on a view comprised of many unioned queries.
I have tried to do this with a subform, but this takes up much more onscreen space and cannot easily include icons/images.
Thanks,
James
I want to display the results of a query, preferably as a HTML table, on a form. The form's first tab shows the parent record and the subsequent tabs show the child records from different tables. I thought I could do this with PHP in a HTML object however PHP is only executed in reports. I want to display a non-editable overview of the records in the child tables, so all the information is available on one screen without having to browse through many tabs (e.g. to show a table showing addresses, phone numbers and email addresses). This will probably be based on a view comprised of many unioned queries.
I have tried to do this with a subform, but this takes up much more onscreen space and cannot easily include icons/images.
Thanks,
James