By record do you mean record or any datatype?
If the datatype is bigger than 4 bytes i will pass it as pointer or var variable and return boolean true/false if it was success. It would in the long run be the slowest possible solution to return the whole record as function result.
Bookmarks