Hi everybody,
I am about to implement Item Master printing in VB 6.0 - SQL Server 7. The Items are grouped under a hierarchy of group levels v.i.z. Super groups (Raw Material, Work-in-progress, Finished Goods), Main groups, Sub groups, Sub Sub groups and Sub Sub Sub groups. The printing options to be given are :
* Multi-selection of either of the group levels, i.e. multi-selection of either Super groups or Main groups or Sub groups or Sub Sub groups or Sub Sub Sub groups
OR
* Multi-selection of items.
After the user prints a report and comes out of the print preview, he is taken back to the Print options form, where he can choose another report (by changing print options) to print.
Now, my question is which of the following 2 ways would be better to implement this ?
1) Fetch the entire Item master table in a recordset on invoking the print options form and then filter the recordset according to the print options selected using VB code
2) Fetch the selected groups/items from the database into the recordset, each time the user prints according to a new print option ?
I am about to implement Item Master printing in VB 6.0 - SQL Server 7. The Items are grouped under a hierarchy of group levels v.i.z. Super groups (Raw Material, Work-in-progress, Finished Goods), Main groups, Sub groups, Sub Sub groups and Sub Sub Sub groups. The printing options to be given are :
* Multi-selection of either of the group levels, i.e. multi-selection of either Super groups or Main groups or Sub groups or Sub Sub groups or Sub Sub Sub groups
OR
* Multi-selection of items.
After the user prints a report and comes out of the print preview, he is taken back to the Print options form, where he can choose another report (by changing print options) to print.
Now, my question is which of the following 2 ways would be better to implement this ?
1) Fetch the entire Item master table in a recordset on invoking the print options form and then filter the recordset according to the print options selected using VB code
2) Fetch the selected groups/items from the database into the recordset, each time the user prints according to a new print option ?