Using VBA in Acesss 2000.
Is it possible for a function to return two values? I am looping through an ADO recordset that has an unparsed name field. I would like to call a function from within the loop that parses names into first and last. Can I call the function once and have the parsed first and last names returned?
I have tried to write the function to return an array with the first and last names but how would I captrue the names in variables in the calling procedure without calling the function twice?
Is it possible for a function to return two values? I am looping through an ADO recordset that has an unparsed name field. I would like to call a function from within the loop that parses names into first and last. Can I call the function once and have the parsed first and last names returned?
I have tried to write the function to return an array with the first and last names but how would I captrue the names in variables in the calling procedure without calling the function twice?