D
Dale Fye
I have some code that enumerates the key fields in a
table. I use this code in several places in one of my
programs, but would believe that storing these field names
in an array and refering to the array would be quicker
than what I am currently doing.
I'd like to be able to pass the name of the table to a
function, and have it return an array to the calling code,
but cannot figure out how to do this. I can declare the
Array in the General section of my form and just populate
it in my function, but I need to be able to use this
function in several different form modules, so would
prefer to keep the array as a local variable. Anyone know
how to deal with this?
table. I use this code in several places in one of my
programs, but would believe that storing these field names
in an array and refering to the array would be quicker
than what I am currently doing.
I'd like to be able to pass the name of the table to a
function, and have it return an array to the calling code,
but cannot figure out how to do this. I can declare the
Array in the General section of my form and just populate
it in my function, but I need to be able to use this
function in several different form modules, so would
prefer to keep the array as a local variable. Anyone know
how to deal with this?