Hello,
I am trying to write following property procedure in a class module but I'm getting error message that
I am trying to write following property procedure in a class module but I'm getting error message that
Definitions of property procedures for the same property are inconsistent, or property procedure has an optional parameter, PramArray, or Invalid Set final parameter.
Where am I doing wrong. Please help.
SQL:
Public Property Get SettingsTableName(SettingsTable_Location As enSettingsTblLocation) As String
If SettingsTable_Location = BE_Settings Then
SettingsTableName = Prop("AppBESettingsTableName", "tblSettings")
Else
SettingsTableName = Prop("AppFESettingsTableName", "tblSettingsLocal")
End If
End Property
Public Property Let SettingsTableName(ByVal sTableName As String, ByVal SettingsTable_Location As enSettingsTblLocation)
If SettingsTable_Location = BE_Settings Then
Prop("AppBESettingsTableName") = sTableName
Else
Prop("AppFESettingsTableName") = sTableName
End If
End Property
Last edited: