G
Guest
I have a drug list database with fields as prodid, generic name, strength
(dose), form (oral, injection...). I want to design a search screen where
people just put any part of the generic into an input box and the result will
display all the generic drug form & dose. example:
input : 'aspirine'
results: 1/aspirine 300mg oral
2/ aspirine 200mg suppository
3/ aspirine 50mg injection
The next step is to select (double click) on one of the result in step 1
e.g. select 1/ will run another query will show for example location and
quantity on hand..
1/ aspirine 300mg oral store 1 Quantity on Hand : 50
The prodID is unique identifier for generic + form + dose
Thinking of using a parameter query for step 1 but don't know how to use the
result of step 1 as input parameter for step 2 ? Am I in the right direction
? any suggestion ? sort of narrow down the seach ...Thanks
(dose), form (oral, injection...). I want to design a search screen where
people just put any part of the generic into an input box and the result will
display all the generic drug form & dose. example:
input : 'aspirine'
results: 1/aspirine 300mg oral
2/ aspirine 200mg suppository
3/ aspirine 50mg injection
The next step is to select (double click) on one of the result in step 1
e.g. select 1/ will run another query will show for example location and
quantity on hand..
1/ aspirine 300mg oral store 1 Quantity on Hand : 50
The prodID is unique identifier for generic + form + dose
Thinking of using a parameter query for step 1 but don't know how to use the
result of step 1 as input parameter for step 2 ? Am I in the right direction
? any suggestion ? sort of narrow down the seach ...Thanks