Question : Cut-off point for too much memory use

I am looking for a way to detect whether too much memory is used by a procedure (or too many handles) and stop the procedure. I use OnCompare to sort a TreeView which can become quite heavy on the system. It should be something like try...except or try...finally but then targeted at the amount of working memory that the system still has and must keep for itself. Any ideas much appreciated!

Answer : Cut-off point for too much memory use

This should do:
Hope your ClassLn table has ClassId in it.
1:
2:
3:
SELECT em.Name, cs.Description, cl.StartDate, cl.EndDate
FROM Employee em inner join Class cs on em.ClassId = cs.ClassId
inner join ClassLn cl on cl.ClassId = cs.ClassId
Random Solutions  
 
programming4us programming4us