R
rebelscum0000
Dear All,
I make a new Table (SQL 7), and then I moved into this Table (SQL2) all
the Records
Like C:\Documents and Settings.
Is possible to set MyInclude = -1 ((Yes/No, True/False, or On/Off).
When the
The SQL2 is executing ? or I have to Update???
SQL MAKE A NEW TABLE
sQL7 = "SELECT MainExclude_Tbl.ID, MainExclude_Tbl.MyKeyword, " & _
"MainExclude_Tbl.MyAppz, MainExclude_Tbl.FileName, " & _
"MainExclude_Tbl.FolderPath, MainExclude_Tbl.FileExtension, " & _
"MainExclude_Tbl.FileType, MainExclude_Tbl.FileSize, " & _
"MainExclude_Tbl.FileModified, MainExclude_Tbl.FileAccessed, " & _
"MainExclude_Tbl.FileCreated, MainExclude_Tbl.FileAttributes, " & _
"MainExclude_Tbl.MyInclude INTO [" & AppzDocuSet & "] " & _
"FROM MainExclude_Tbl " & _
"WHERE False;"
CurrentDb.Execute sQL7, dbFailOnError
SQL INSERT INTO
SQL2 = _
"INSERT INTO [" & MyAppzDocuSet & "] ( ID, MyKeyword, " & _
"MyAppz, FileName, FolderPath, FileExtension, FileType, " & _
"FileSize, FileModified, FileAccessed, FileCreated, " & _
"FileAttributes, MyInclude ) " & _
"SELECT MainExclude_Tbl.ID, MainExclude_Tbl.MyKeyword, " & _
"MainExclude_Tbl.MyAppz, MainExclude_Tbl.FileName, " & _
"MainExclude_Tbl.FolderPath, MainExclude_Tbl.FileExtension, " & _
"MainExclude_Tbl.FileType, MainExclude_Tbl.FileSize, " & _
"MainExclude_Tbl.FileModified, MainExclude_Tbl.FileAccessed, " & _
"MainExclude_Tbl.FileCreated, MainExclude_Tbl.FileAttributes, " & _
"MainExclude_Tbl.MyInclude " & _
"FROM MainExclude_Tbl " & _
"WHERE FolderPath Like 'C:\Documents and Settings*'" & _
"ORDER BY ID;"
CurrentDb.Execute SQL2, dbFailOnError
Thank in advance
Kind Regards
Antonio Macias
I make a new Table (SQL 7), and then I moved into this Table (SQL2) all
the Records
Like C:\Documents and Settings.
Is possible to set MyInclude = -1 ((Yes/No, True/False, or On/Off).
When the
The SQL2 is executing ? or I have to Update???
SQL MAKE A NEW TABLE
sQL7 = "SELECT MainExclude_Tbl.ID, MainExclude_Tbl.MyKeyword, " & _
"MainExclude_Tbl.MyAppz, MainExclude_Tbl.FileName, " & _
"MainExclude_Tbl.FolderPath, MainExclude_Tbl.FileExtension, " & _
"MainExclude_Tbl.FileType, MainExclude_Tbl.FileSize, " & _
"MainExclude_Tbl.FileModified, MainExclude_Tbl.FileAccessed, " & _
"MainExclude_Tbl.FileCreated, MainExclude_Tbl.FileAttributes, " & _
"MainExclude_Tbl.MyInclude INTO [" & AppzDocuSet & "] " & _
"FROM MainExclude_Tbl " & _
"WHERE False;"
CurrentDb.Execute sQL7, dbFailOnError
SQL INSERT INTO
SQL2 = _
"INSERT INTO [" & MyAppzDocuSet & "] ( ID, MyKeyword, " & _
"MyAppz, FileName, FolderPath, FileExtension, FileType, " & _
"FileSize, FileModified, FileAccessed, FileCreated, " & _
"FileAttributes, MyInclude ) " & _
"SELECT MainExclude_Tbl.ID, MainExclude_Tbl.MyKeyword, " & _
"MainExclude_Tbl.MyAppz, MainExclude_Tbl.FileName, " & _
"MainExclude_Tbl.FolderPath, MainExclude_Tbl.FileExtension, " & _
"MainExclude_Tbl.FileType, MainExclude_Tbl.FileSize, " & _
"MainExclude_Tbl.FileModified, MainExclude_Tbl.FileAccessed, " & _
"MainExclude_Tbl.FileCreated, MainExclude_Tbl.FileAttributes, " & _
"MainExclude_Tbl.MyInclude " & _
"FROM MainExclude_Tbl " & _
"WHERE FolderPath Like 'C:\Documents and Settings*'" & _
"ORDER BY ID;"
CurrentDb.Execute SQL2, dbFailOnError
Thank in advance
Kind Regards
Antonio Macias