Can someone please direct me to some good information on passing values to and from Standard .bas Modules.
I am using Access 2000. My program calls a standard module where the string values are declared. I have used the following code in the past to pass a string value back to the procedure that is calling the standard Module.
I need to pass two values back, but can only pass one back using this type of code. I am not very familiar with VBA code, and any suggestions would be appreciated.
I am using Access 2000. My program calls a standard module where the string values are declared. I have used the following code in the past to pass a string value back to the procedure that is calling the standard Module.
Code:
Public Function Get_Record_FrmMain(ByVal strTabNo, strTopicData As String) As String
.
.
.
strTabNo = SomeValue
strTopicData = SomeOtherValue
Get_Record_FrmMain = strTabNo
End Function
I need to pass two values back, but can only pass one back using this type of code. I am not very familiar with VBA code, and any suggestions would be appreciated.