Performing searches without using standard search form
Posted: Fri Feb 26, 2021 9:28 pm
Is there a way to perform a search, like the standard search form runs, on a browse/edit form?
Can I create my own search form? Where a user inputs data on a field and then I run an SQL statement using that data to perform a search and then return a list of the retrieved records? then when the user clicks on a record it opens my browse/edit form?
Im trying to figure out how to bypass the current search form and use some other launch form or something to be able to encrypt / modify what the user inputs into the search field then perform the actual search after modifying the search criteria.
For example, I have records in the data table that contain an SSN, I want to store that SSN encrypted. BUT I need to search the table using that encrypted SSN. So the user goes to the search enters 123-45-6789 then my Javascript or PHP takes that original data, encrypts it, THEN performs the search using that encrypted SSN to find the records. Then upon the system retrieving that data, I need to be able to un-encrypt the SSN when the list of records is displayed to the user.
ANyone???? I would have thought that the existing search form that comes up when you open a browse/edit form, would have that ability to do so, but it apparently does not. SO I have to build my own.
Can I create my own search form? Where a user inputs data on a field and then I run an SQL statement using that data to perform a search and then return a list of the retrieved records? then when the user clicks on a record it opens my browse/edit form?
Im trying to figure out how to bypass the current search form and use some other launch form or something to be able to encrypt / modify what the user inputs into the search field then perform the actual search after modifying the search criteria.
For example, I have records in the data table that contain an SSN, I want to store that SSN encrypted. BUT I need to search the table using that encrypted SSN. So the user goes to the search enters 123-45-6789 then my Javascript or PHP takes that original data, encrypts it, THEN performs the search using that encrypted SSN to find the records. Then upon the system retrieving that data, I need to be able to un-encrypt the SSN when the list of records is displayed to the user.
ANyone???? I would have thought that the existing search form that comes up when you open a browse/edit form, would have that ability to do so, but it apparently does not. SO I have to build my own.