Hi!
SOmething unclrear here. Where is that function defined? Is the PRG file where it defined is running during application run (Is it a main PRG file that contains READ EVENT command)?
Just a suggestion: Check all your 'SET PROCEDURE' commands if they have 'ADDITIVE' word. Otherwise all other PRGs will be cleared out from use.
>there is a small function that I call quite regularly called closedbf(), which will ensure a table ( or cursor ) is closed.
>
>during shutdown though, this function is suddenly missing if there is a form open in the screen. I've placed the code:
>
>
>for i = _Screen.formcount to 0 skip -1
> _screen.form(i).release
>endfor
>
>
>I even tried adding a set procedure ... statement as the first line in the shutdown procedure, but it had no effect.
>
>why does this funnction dissappear? ( haven't tested for other functions yet )
>
>- jer
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.