W
Winshent
I want to pass optional arguments to build up varios strings, is this
possible?
look at arrTBL(1,3) in the code below:
===========================================
Public Function arrTBL(Optional ByVal DataSetName As String = "") As
String(,)
Dim DSN As String = DataSetName
arrTBL(1, 1) = "UP_" & Session("mCallCentreID") & "_Results_Daily"
arrTBL(1, 2) = "DailyCallSt"
arrTBL(1, 3) = "INSERT INTO " & arrTBL(1, 1) & "SELECT " & DSN &
".field1 FROM " & DSN & ";"
End function
==============================================
I would like to be able to do this, but the other arrays dont like it,
too many arguments etc..
Is there a way round this?
possible?
look at arrTBL(1,3) in the code below:
===========================================
Public Function arrTBL(Optional ByVal DataSetName As String = "") As
String(,)
Dim DSN As String = DataSetName
arrTBL(1, 1) = "UP_" & Session("mCallCentreID") & "_Results_Daily"
arrTBL(1, 2) = "DailyCallSt"
arrTBL(1, 3) = "INSERT INTO " & arrTBL(1, 1) & "SELECT " & DSN &
".field1 FROM " & DSN & ";"
End function
==============================================
I would like to be able to do this, but the other arrays dont like it,
too many arguments etc..
Is there a way round this?