ocin
May 17th, 2001, 03:56 AM
I am building a database class that has the following characteristics :
1. Consist of Initial Form which will list the summary of the information. For example : in the case of Supplier Master, the Initial Form will list the Supplier Number and Supplier Name only.
On this form there are also 4 buttons : Add, Edit, Delete, Find, and Close. I used a datagrid control to show the summary information on this Initial Form (I called it like that)
2. When each of the button is clicked I will show the necessary form.
- Frm Add New if the 'Add' button is clicked
- Frm Add New if the 'Edit' button is clicked only behaving slightly differently
- Frm Find if the 'Find' button is clicked. This Frm Find will list the Supplier Name and when the user click the name then the pointer on the Initial Form will point to the correct record.
3. The reasons I create this class is because I will use this class for Data Operation (Add, Edit, Delete, Find) all over my project.
My questions are :
Do I need to create active x components ? I think for this one, I will need active x dll (in process component).
Do I just need to create a single class ?
Any advices are welcome
Thanks
1. Consist of Initial Form which will list the summary of the information. For example : in the case of Supplier Master, the Initial Form will list the Supplier Number and Supplier Name only.
On this form there are also 4 buttons : Add, Edit, Delete, Find, and Close. I used a datagrid control to show the summary information on this Initial Form (I called it like that)
2. When each of the button is clicked I will show the necessary form.
- Frm Add New if the 'Add' button is clicked
- Frm Add New if the 'Edit' button is clicked only behaving slightly differently
- Frm Find if the 'Find' button is clicked. This Frm Find will list the Supplier Name and when the user click the name then the pointer on the Initial Form will point to the correct record.
3. The reasons I create this class is because I will use this class for Data Operation (Add, Edit, Delete, Find) all over my project.
My questions are :
Do I need to create active x components ? I think for this one, I will need active x dll (in process component).
Do I just need to create a single class ?
Any advices are welcome
Thanks