Panorama QNA Discussion

Re: Wizard Variables

Elon Close erclose at dakotacom.net
Thursday, December 13th, 2007 @ 17:21:56 -0700
Thank you both, Bill & Dave, I will look into these suggestions.

Being an old hat real life Programmer I always declare in any  
procedure the variables that are used in that procedure, be they  
Local, Global, or FileGlobal. If nothing else it keeps me honest. I  
also put them all at the beginning, thought they could come just  
before they are used. And just for organization and localization I  
always declare Global and FileGlobal in the .Initialize procedure and  
make sure they are defined, hate that message about an undefined  
variable..

thanks again,
Elon Close

On Dec 13, 2007, at 3:29 PM, David Thompson wrote:

>> However, when an unexpected, or incorrect value is found is there  
>> a Wizard that will display, or furnish the procedures that the  
>> named variable appears in? In order to uses any variable in a  
>> procedure it is necessary to declare it, so information is in the  
>> procedure as to whether the variable is/is not in a particular  
>> procedure.
>
> It's quite common for global and fileglobal variables to be  
> declared in a .Initialize, but used elsewhere. The other procedures  
> don't need to declare them again.
>
>>
>> Iπve looked thru the Wizards and can not find any particular one  
>> that will give the information.
>>
>> I for one tend to forget just where variables are used. And yes, I  
>> could build a procedure to do this, but given more than a handful  
>> of procedures in a given DB it could be sort of a pain to do so.
>
> In addition to the View Wizard which Bill mentioned, there is also  
> the Cross Reference wizard, which will tell you which forms use the  
> variable, as well as which procedures.
>
> Dave
>
>
>
> ————————————————————————————————————————————————————————————————————
> ———      Panorama QNA (Question and Answer) Discussion List      ———
> ————————————————————————————————————————————————————————————————————
> ProVUE Development         (714) 841—7779
> 18685—A Main Stret PMB356  http://www.provue.com/
> Huntington Beach, CA 92648 Panorama: Turn information into knowledge
> ————————————————————————————————————————————————————————————————————
>
> To be removed from the list, send Email to: request@lists.provue.com
>  Type only this in the body of the mesage: unsubscribe qna
>
> ————————————————————————————————————————————————————————————————————
>
>


Previous Next Previous Next (in Thread)