I am working on a form for approval/disapproval of requests. Basically, the user will select a RequestID from a combobox, then select approve or disapprove, then hit the submit button. When they hit submit, I want to
1. Update the DB (which I have already implemented), then
2. using the RequestID, determine the two related email addresses (let's say Email1 and Email2) attached to the relevant ServiceID.
This sounds odd to me, but though I have done a good number of update queries, select queries to populate combo boxes, and a few other things, I haven't had to pull a particular field value from a query individually before and I'm not totally sure where to start.
I have no trouble putting together the actual SQL queries and everything, I'm just not sure how to manipulate the data to pull those two email addresses out individually.
1. Update the DB (which I have already implemented), then
2. using the RequestID, determine the two related email addresses (let's say Email1 and Email2) attached to the relevant ServiceID.
This sounds odd to me, but though I have done a good number of update queries, select queries to populate combo boxes, and a few other things, I haven't had to pull a particular field value from a query individually before and I'm not totally sure where to start.
I have no trouble putting together the actual SQL queries and everything, I'm just not sure how to manipulate the data to pull those two email addresses out individually.
Comment