Dim Sqlstr1, Sqlstr2 As String
Sqlstr1 = "create table Fbal;"
Sqlstr2 = "SELECT IL4010DF.* INTO Fbal FROM IL4010DF ORDER BY IL4010DF.Pnumber;"
DoCmd.RunSQL Sqlstr1
DoCmd.RunSQL Sqlstr2
CurrentDb.TableDefs.Delete "IL4010DF"
Call CreatePKIndexes("Fbal", "Pnumber", "Fund_code")
This creates a table with name "Fbal" in my own database.
How do I create this table in a new database? (I want this done because the file will be very large, more than 1GB)
Thanks!
Sqlstr1 = "create table Fbal;"
Sqlstr2 = "SELECT IL4010DF.* INTO Fbal FROM IL4010DF ORDER BY IL4010DF.Pnumber;"
DoCmd.RunSQL Sqlstr1
DoCmd.RunSQL Sqlstr2
CurrentDb.TableDefs.Delete "IL4010DF"
Call CreatePKIndexes("Fbal", "Pnumber", "Fund_code")
This creates a table with name "Fbal" in my own database.
How do I create this table in a new database? (I want this done because the file will be very large, more than 1GB)
Thanks!