I am dynamically creating a table where the field names will change everytime the code is ran. My issue is there are several times where the name passed through will contain the '%' character (and possibly other harmful characters). This causes my code to error out. I would prefer not to have to find every '%' and replacing it with a "safe" character. Any other solutions?
Set fldRptField = tdfReport.CreateField(fldAcctField.Name & " Count", fldAcctField.Type, fldAcctField.Size)
tdfReport.Fields.Append fldRptField
the fldAcctField is a field in another table who's source was originally an Excel Spreadsheet.
Thanks.
Set fldRptField = tdfReport.CreateField(fldAcctField.Name & " Count", fldAcctField.Type, fldAcctField.Size)
tdfReport.Fields.Append fldRptField
the fldAcctField is a field in another table who's source was originally an Excel Spreadsheet.
Thanks.