How to implement a Push Pop Sql Progressbar in Visual Max Frame Professional.
In VMP, the class
CUSPUSHPOPSQLTHERMO is automatically used whenever VMP is called upon to requery a view. This makes the framework seem responsive since it shows its doing something rather than just sitting there with that glassy stare computers always have .
If you have VMP, look at the
ZREADME method of
CUSPUSHPOPSQLTHERMO in XXFWPPOP.VCX for more information.
A developer may wish to use this class for some special purpose in a .PRG or a method as follows:
*Remember current SET TALK settings
loSQLThermo = CreateObject("cusPushPopSQLThermo")
*Execute any SQL command or requery() call such as...
select * from < sometable > into cursor < somecursor >
*Explicitly reset the SET TALK settings if you want to do other processing.
*or let the method or .PRG end and the SET TALK settings will be reverted.
By the way, this particular class is applied by VMP's xxrquery.prg which also provides support for Interruptible Queries.
See also: Framework Feature Chart
Contributors: Mike Yearwood
Category Visual Max Frame Professional Category Frameworks
( Topic last updated: 2001.06.09 10:58:22 AM )