Public Function GetTableColList (
TableName As String,
dbs As DAO.Database,
Optional ExcludePK As Boolean = False,
Optional Delimiter As String = ", "
) As String
Return the table's column names as a comma separated list.
The delimiter to use in constructing the delimited string
The DAO database to which the table belongs
Don't include PK column(s) in the lost
Dim s As String
s = xf.Scripter.GetTableColList(delimiter, TableName, dbs)
s = xf.Scripter.GetTableColList(delimiter, TableName, dbs, ExcludePK, Delimiter)
colList = GetTableColList("tblProduct", dbs)