FancyPrairie
Programmer
I have some code that has been working for a couple of years. However, today, one of the functions is not working correctly. Prior to exiting the function, I check the string the function is returning. It is what it is supposed to be. The variable that receives the value of the function is blank. For example:
Function abc()
abc = "blahblahblah"
End Function
....
Dim myValue as string
myValue = abc
...
Although abc returns "blah...", myValue = "".
I have decompiled my code and compacted and repaired the database. Because that didn't work, I'm assuming that there must be a limit on the number of characters a function can return. Is there? (Note I've searched the net (for a few minutes) but have not found where there is a limit.)
Function abc()
abc = "blahblahblah"
End Function
....
Dim myValue as string
myValue = abc
...
Although abc returns "blah...", myValue = "".
I have decompiled my code and compacted and repaired the database. Because that didn't work, I'm assuming that there must be a limit on the number of characters a function can return. Is there? (Note I've searched the net (for a few minutes) but have not found where there is a limit.)