Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simplfiing programming - visual or code 1

Status
Not open for further replies.

benman

Programmer
May 3, 2006
35
HK
Dear All :

Below listed a page frame of 36 pages each should have identical grid of different filtering of same table.

How to avoid page by page visual addin to simplify programming and coding.

optiongrid.jpg
 
What do you mean with different filtering?
Are you add 36 pages and show different records from one table?

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
 
While I think there is a better method, if all you are doing is filtering a table against the same grid, and you want that "Tabbed look and feel", simply create some button objects that look the like the tabs under the grid, and then put your "FILTER" and "REFRESH" conditions on each "Button", so as you press it, you get the filterd set you are looking for.



Best Regards,
Scott

"Everything should be made as simple as possible, and no simpler."[hammer]
 
Dear All :

Thanks for the input. I have created a pageframe class of 36 pages, using bindevents in its init to define pages' activepage coding, in which table filtering is applied with few code sentences.

After all, it is pointing to single grid adhered to the form.

Many thanks.
Smarty

optiongrid2.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top