Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding the decimal
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00144345
Message ID:
00144793
Views:
17
>Dorris,
>Yes we are using this code inside every field validation in the database
>Hence, each time the validation is triggered, afields() would need to be called and an array created
>
>Sandy

If the code is used in a method, and the array name is not defined as 'public', it will be released when control is returned to the method (/procedure/function/whatever) is exited. Therefore, you will still only be creating ONE array. This is assuming that you have this portion of the code as a separate function.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Reply
Map
View

Click here to load this message in the networking platform