Actulizar consulta VB
Set dbs =CurrentDb
dbs.execute "Delete * From " Intergrupos"
dbs.execute "Delete * From " Importar"
dbs.execute "Delete * From " Intergrupos_filtro"
.....
miDir = Dir("c:\Intergrupo\Cargabales\B00051" & txt_fecha & ".txt")
If miDir <> "" Then
DoCmd.TransferText acImportFixed, "Importar Cargabal", "Intergrupos", "c:\Intergrupo\Cargabales\B00051" & txt_fecha & ".txt", False, ""
Set dbs = CurrentDb
Set dbs = Nothing
E_051.ForeColor = 65280
enf If
De acuerdo al siguiente codigo que me llama un txt desde acces... Lo que quiero es que cada vez que yo llamo al mismo archivo no me lo duplique sino me actulice la consulta con fecha de y hora.. Se entiende??
saludos muchas gracias
dbs.execute "Delete * From " Intergrupos"
dbs.execute "Delete * From " Importar"
dbs.execute "Delete * From " Intergrupos_filtro"
.....
miDir = Dir("c:\Intergrupo\Cargabales\B00051" & txt_fecha & ".txt")
If miDir <> "" Then
DoCmd.TransferText acImportFixed, "Importar Cargabal", "Intergrupos", "c:\Intergrupo\Cargabales\B00051" & txt_fecha & ".txt", False, ""
Set dbs = CurrentDb
Set dbs = Nothing
E_051.ForeColor = 65280
enf If
De acuerdo al siguiente codigo que me llama un txt desde acces... Lo que quiero es que cada vez que yo llamo al mismo archivo no me lo duplique sino me actulice la consulta con fecha de y hora.. Se entiende??
saludos muchas gracias