Hello ..
I've a Form that contains 4 subforms in datasheet view in which each Form is created from a table.
The 4 Subforms are:
1) Data : contains 'Serial' field in autonumber format.
2) Invoices : contains File no, Invoice no, Invoice amount & BL no fields.
3) Payments : contains File no field.
4) Others : contains File no field.
First:
I want to link the 'Serial' field in the Data Subform with the 'File no' field in the other 3 Subforms..
Second:
I want to create a search engine by using a combo box and a text box in which the combo box represents the search type that can be by 4 ways (File no, Invoice no, Invoice amount & BL no) and when selecting the (File no) as a search type it search in the Data subform in 'Serial' field by the file no that will be entered in the text box next to the combo box..
Same when i choose the (Invoice no) as a search type it search with the invoice no that will be entered in the text box in the 'Invoice no' field in the Invoices subform and show only the Data related to it in the other subforms..
Third:
Next to the search text box there's a 'New File' button, i want it to create new record in the 'Serial' field in the Data subform (jump to 'New' record) when this button is pressed..!!
Thanks in advance..
I've a Form that contains 4 subforms in datasheet view in which each Form is created from a table.
The 4 Subforms are:
1) Data : contains 'Serial' field in autonumber format.
2) Invoices : contains File no, Invoice no, Invoice amount & BL no fields.
3) Payments : contains File no field.
4) Others : contains File no field.
First:
I want to link the 'Serial' field in the Data Subform with the 'File no' field in the other 3 Subforms..
Second:
I want to create a search engine by using a combo box and a text box in which the combo box represents the search type that can be by 4 ways (File no, Invoice no, Invoice amount & BL no) and when selecting the (File no) as a search type it search in the Data subform in 'Serial' field by the file no that will be entered in the text box next to the combo box..
Same when i choose the (Invoice no) as a search type it search with the invoice no that will be entered in the text box in the 'Invoice no' field in the Invoices subform and show only the Data related to it in the other subforms..
Third:
Next to the search text box there's a 'New File' button, i want it to create new record in the 'Serial' field in the Data subform (jump to 'New' record) when this button is pressed..!!
Thanks in advance..
