Jim,
PRIVATE to what?
To the calling code that calls the report? This will now work under all circumstances. I have a wrapper to the report call. I create all Data I need to to the report and call the wrapping code (creating listeners, chainging reports, controls page numbers etc).
Anyway, do I missunderstand something? My idea of PRIVATE was that the private statement declares that some vars should NOT be used from the public pool.
I do use the _Screen thing but if you limit the publics to the minimum, do some hungarian notation, it will work perfect.
Those 110% DO NOT USE THIS is something I can not support. Sometimes "GOTO Label" is the best solution.
Agnes
>Agnes,
>
>Tha var does NOT need to be public, private will work fine. Public vars should be avoided at all costs as they do nothing that privates can't do but cause potential problems.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]