Hello,
I have a CMD button which I want to use to create a temporary table with the records from selected results in a list box but I am having trouble creating my table using the Creat table funtion as shown below
Private Sub CMDedit_details_Click()
CurrentProject.Connection.Execute "CREATE TABLE edit (id INT, company CHAR, address1 CHAR, address2 CHAR, town CHAR, county CHAR, pcode CHAR, telephone CHAR);"
When I try to create the table with more than the 8 columns shown here, the debuger tells me the Record is too large.
Are there limitations when creating a table, to how many columns you can have?
My aim is to create a temporary table with selected results which can be used in a subform to edit information, then I can save the changes to the data in the origonal table. This means I need around 12 columns, but I can't seem to create more thn 8.
Any help is greatly appreciated.
I have a CMD button which I want to use to create a temporary table with the records from selected results in a list box but I am having trouble creating my table using the Creat table funtion as shown below
Private Sub CMDedit_details_Click()
CurrentProject.Connection.Execute "CREATE TABLE edit (id INT, company CHAR, address1 CHAR, address2 CHAR, town CHAR, county CHAR, pcode CHAR, telephone CHAR);"
When I try to create the table with more than the 8 columns shown here, the debuger tells me the Record is too large.
Are there limitations when creating a table, to how many columns you can have?
My aim is to create a temporary table with selected results which can be used in a subform to edit information, then I can save the changes to the data in the origonal table. This means I need around 12 columns, but I can't seem to create more thn 8.
Any help is greatly appreciated.