E
et
I have the following function that uses an optional parameter, and it sets a
default, as the program says I have to. Yet it doesn't pick up the default
value. Why is this, what am I doing wrong.
Public Function SelectQuery(strTbl as string, arr as ArrayList, Optional
SortCol as string = "Yr desc")
Calling procedure:
qry = SelectQuery(strTbl, arr, SortCol)
default, as the program says I have to. Yet it doesn't pick up the default
value. Why is this, what am I doing wrong.
Public Function SelectQuery(strTbl as string, arr as ArrayList, Optional
SortCol as string = "Yr desc")
Calling procedure:
qry = SelectQuery(strTbl, arr, SortCol)