I have tried what I know and I can't seem to get this right.
I'm using a Jet4.0 connection and VB.Net front end
I have been using the following code to create a table, but it has always made a memo field, I read about how to change it to a text field but it fails with an invalid SQL syntax error
This works, but creates a memo field
This fails with in invalid SQL syntax error
Am I crazy or is text(nn) no longer the proper method to set a text field size
I'm using a Jet4.0 connection and VB.Net front end
I have been using the following code to create a table, but it has always made a memo field, I read about how to change it to a text field but it fails with an invalid SQL syntax error
This works, but creates a memo field
VB.NET:
sql = "create table " & TableName & " (ID INT Identity(1,1), Project_Name Text, Create_Date DateTime)"
This fails with in invalid SQL syntax error
VB.NET:
sql = "create table " & TableName & " (ID INT Identity(1,1), Project_Name Text(64), Create_Date DateTime)"
Am I crazy or is text(nn) no longer the proper method to set a text field size