Below is a section of code that I have been running for over 6 years on many databases. It helps me create tables quickly. Today, with no changes, when it gets to the create property line, if falls over with Error 13, Type Mismatch. On every property line, on every database.
Any idea what is going on please.
Any idea what is going on please.
Code:
If Len(rs!Description & "") > 0 Then Set prp = fld.CreateProperty("Description", dbText, rs!Description) fld.Properties.Append prp End If If Len(rs!RowSource & "") > 0 Then Set prp = fld.CreateProperty("DisplayControl", 3, 111) fld.Properties.Append prp
Comment