Hello can anyone tell me what is wrong with my query/codes
I have 3 search types: keyword Search, Position Search, Advance Search. for example i used Advance search, I type in a few Criteria and after I'm done ill press search and a Report will pop up and show all the query results, then I have the choice on wether I will open 1 up or not by clicking the Control Number.
[IMGnothumb]http://i.imgur.com/6t7aBg1.png[/IMGnothumb]
after clicking the control number a "msgbox"(FO RM) will pop up and ask you if you would want to save the file.
[IMGnothumb]http://i.imgur.com/3kHgKmA.png[/IMGnothumb]
if you click Save, then a new form will pop up showing all the Information about the Control number.
[IMGnothumb]http://i.imgur.com/xuCAX9S.png[/IMGnothumb]
The query:
This part here is all working fine, The advance search is flawless (I think), but What I'm confused about is why do my other 2 search type is not working the way i want to, the searching is ok on the other 2 but when I click the Control number that I want to view, it keeps on viewing the 1st result on my query, I've tried recreating the search types and created new query but It still the same, here is my Query for the other 2:
Keyword:
Position:
Notice that the 3 queries are Identical, and that is what I'm confused about its basically A copy paste of one another but I dont get it why they dont work, except for the Advance search. if you need more Information, I can give it to you but right now I dont know what to show you people except the query and the images.
cheers
I have 3 search types: keyword Search, Position Search, Advance Search. for example i used Advance search, I type in a few Criteria and after I'm done ill press search and a Report will pop up and show all the query results, then I have the choice on wether I will open 1 up or not by clicking the Control Number.
[IMGnothumb]http://i.imgur.com/6t7aBg1.png[/IMGnothumb]
after clicking the control number a "msgbox"(FO RM) will pop up and ask you if you would want to save the file.
[IMGnothumb]http://i.imgur.com/3kHgKmA.png[/IMGnothumb]
if you click Save, then a new form will pop up showing all the Information about the Control number.
[IMGnothumb]http://i.imgur.com/xuCAX9S.png[/IMGnothumb]
The query:
Code:
SELECT Master.Name, Master.[Control Number], Master.Age, Master.Contact1, Master.Contact2, Master.Contact3, Master.Email, Master.Address, Master.Position1, Master.Gender, Master.[Work Experience], Master.Education, Master.Attachment, Master.Experience, Master.[Position Level], Master.Attachment, Master.Specialization, Master.Status, Master.[Remark/s], Master.EducationalBackground, Master.Education, Master.Experience FROM Master WHERE (((Master.[Control Number])=[Reports]![Keyword_REPORT_SMDG]![Control Number]));
Keyword:
Code:
SELECT Master.Name, Master.[Control Number], Master.Age, Master.Contact1, Master.Contact2, Master.Contact3, Master.Email, Master.Address, Master.Position1, Master.Gender, Master.[Work Experience], Master.Education, Master.Attachment, Master.Experience, Master.[Position Level], Master.Attachment, Master.Specialization, Master.Status, Master.[Remark/s], Master.EducationalBackground, Master.Education, Master.Experience FROM Master WHERE (((Master.[Control Number])=[Reports]![Keyword_REPORT_SMDG]![Control Number]));
Code:
SELECT Master.Name, Master.[Control Number], Master.Age, Master.Contact1, Master.Contact2, Master.Contact3, Master.Email, Master.Address, Master.Position1, Master.Gender, Master.[Work Experience], Master.Education, Master.Attachment, Master.Experience, Master.[Position Level], Master.Attachment, Master.Specialization, Master.Status, Master.[Remark/s], Master.EducationalBackground, Master.Education, Master.Experience FROM Master WHERE (((Master.[Control Number])=[Reports]![Simple_Query REPORT]![controlTB]));
cheers
Comment