Topic: How to filter table grid results
Hi there
I’m trying to get to grips with everything and hit an issue I don’t know how to resolve
Overview= I am making an app to store details of historical documents and all the details associated. I have, for example, 2 tables: one for birth certificates recording all the details and people; and one for marriage certificates.
I don’t want to separate all the people into a separate table as I will end up with lots of forms having to open another form to add “groom” and “bride” which I want all in the marriage table
So I now want to be able to search for records in both tables by surname (for example)
I can populate a table grid with a sql query like:
Select bride from marriages
Union select groom from marriages
Union select person from births
Etc etc
But I can’t figure out how to filter the results in tablegrid using an edit box and a button. I keep getting errors and don’t know how to refer to the sql in the script and re-run it based on the input to Edit1; and then apply to the tablegrid result output.
Any help is gratefully recieved
Thanks