> I set all local form variables in the "On Before Start" EEP and clear all
> variables in the "On Close" EEP; in most cases, you can cut your defined
> variables in the "On Before Start" EEP and paste them on the "On Close" EEP
> so you don't have stray variable causing problems down the line.

I always use a form specific prefix, like fEdCst_ for the EditCustomer form. 
Then, I declare my variables in the ON BEFORE START EEP, and in my ON CLOSE EEP
I do 

CLEAR VAR fEdCst_%

This way:

1. I have no spare variables lying around.

2. If I forget to clear them, I know where they came from.

3. I have no worries (well, fewer worries) about variables banging into each
other if I load say, six or eight different forms while the main one is open.
--
Larry

Reply via email to