*close all && Try without the close all set exclusive off set safety off SET OPTIMIZE ON SET DELETED OFF LOCAL lnTime as Number && Stores the time lapes * tmpTime cursor will store the name statement ran in statement field and the time in nseconds field CREATE CURSOR tmpTime (statement c(80),nseconds N(15,8)) m.lnTime = SECONDS() zoom window screen max INSERT INTO tmpTime VALUES ("zoom window screen max",SECONDS()-m.lnTime) m.lnTime = SECONDS() OPEN DATABASE d_tasks INSERT INTO tmpTime VALUES ("OPEN DATABASE d_tasks",SECONDS()-m.lnTime) m.lnTime = SECONDS() USE view_tasklist IN 0 INSERT INTO tmpTime VALUES ("USE view_tasklist IN 0",SECONDS()-m.lnTime) m.lnTime = SECONDS() USE view_memolist IN 0 INSERT INTO tmpTime VALUES ("USE view_memolist IN 0",SECONDS()-m.lnTime) m.lnTime = SECONDS() use \\linux\project\patient alias patient in 0 &&a table from another database that &&needs to be opened INSERT INTO tmpTime VALUES ("use \\linux\project\patient alias patient in 0",SECONDS()-m.lnTime) m.lnTime = SECONDS() do menu1.mpr INSERT INTO tmpTime VALUES ("do menu1.mpr",SECONDS()-m.lnTime) SELECT tmpTime BROWSE *read events
"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."
- Ephesians 4:29-30 NIV
Dare to Question -- Care to Answer
Time is like water in a sponge, as long as you are willing you can always squeeze some.
--Lu Xun, Father of Modern Chinese Literature