Im getting a "Type mismatch" when I try to return an array from a function into a local array as shown. Can anyone direct me to a document or explain to me the proper syntax for a function that returns an array into a local array?Code:function retArray() Dim myArray(1) myArray(0) = "The record you have chosen is " myArray(1) = "215" retArray = myArray end function Dim recInfo(1) recInfo = retArray()
thanks


Reply With Quote
Bookmarks