kingnothingz
Registered User.
- Local time
- Today, 05:45
- Joined
- Feb 14, 2009
- Messages
- 24
Hi Experts,
I have an union query getting data from two separate tables. I'm using this union query to search for records using simple text search.
Query looks like this:
The form i used to build the search looks like this -->
The result set of the search would have records from both the tables.
Both table1 and table2 have forms built on them to be able to view/edit records.
The ultimate aim is for the user to search, select the record and open the particular form with the selected record to view more details.
I have no clue how to open the form based on the search.
Can you please help me out??
I have an union query getting data from two separate tables. I'm using this union query to search for records using simple text search.
Query looks like this:
Code:
SELECT table1.Name, table1.Surname, table1.DOB, table1.id, table1.diag
FROM table1;
UNION
SELECT table2.Name, table2.Surname, table2.DOB, table2.id, table2.diag
FROM table2;
The form i used to build the search looks like this -->
The result set of the search would have records from both the tables.
Both table1 and table2 have forms built on them to be able to view/edit records.
The ultimate aim is for the user to search, select the record and open the particular form with the selected record to view more details.
I have no clue how to open the form based on the search.
Can you please help me out??