clerics
Registered User.
- Local time
- Today, 21:33
- Joined
- Nov 28, 2005
- Messages
- 82
I have
tblmain(#ID1,#ID2,#ID3,info1,info2,info3.....)
Subform.RowSource="Select ID1,info1,info2,info3 from tblmain"
Combo1,Combo2,Combo3 allow users choose ID1,ID2,ID3
Click_Event of each Combo will give a Criteria call strwhere
---> and SubForm.RowSource=="Select ID1,info1,info2,info3 from tblmain where " & strwhere I create EditForm ( EditForm.RowSource="Select * from tblmain where ...") and will be active when users click "Edit" button (data is where user selected on Subform)
Problem is: after "where" what can i write ?
1/ tblmain.ID1=Form![SubForm]![ID1] --> it show alot of data of ID1
2/ tblmain.ID1=Form![MainForm]![Combo1] and tblmain.ID2=Form![MainForm]![Combo2] and tblmain.ID3=Form![MainForm]![Combo3] but user can let some of Combo null and choose directly in the list which be shown in SubForm
All of idea will help me alot to solve this ! thanks for your help
tblmain(#ID1,#ID2,#ID3,info1,info2,info3.....)
Subform.RowSource="Select ID1,info1,info2,info3 from tblmain"
Combo1,Combo2,Combo3 allow users choose ID1,ID2,ID3
Click_Event of each Combo will give a Criteria call strwhere
---> and SubForm.RowSource=="Select ID1,info1,info2,info3 from tblmain where " & strwhere I create EditForm ( EditForm.RowSource="Select * from tblmain where ...") and will be active when users click "Edit" button (data is where user selected on Subform)
Problem is: after "where" what can i write ?
1/ tblmain.ID1=Form![SubForm]![ID1] --> it show alot of data of ID1
2/ tblmain.ID1=Form![MainForm]![Combo1] and tblmain.ID2=Form![MainForm]![Combo2] and tblmain.ID3=Form![MainForm]![Combo3] but user can let some of Combo null and choose directly in the list which be shown in SubForm
All of idea will help me alot to solve this ! thanks for your help
Last edited: