mirror of
https://github.com/KeymonSoft/Intmex_Preventa.git
synced 2026-04-17 21:06:12 +00:00
V_FINAL
This commit is contained in:
12
B4A/Subs.bas
12
B4A/Subs.bas
@@ -213,6 +213,18 @@ Sub revisaBD 'ignore
|
||||
LogColor(LastException, Colors.Red)
|
||||
End Try
|
||||
End Try
|
||||
|
||||
Try 'Si no existe la columna CAT_CL_DIAS_VISITA la agregamos.
|
||||
kmt.ExecQuery("select count(CAT_CL_DIAS_VISITA) from kmt_info2")
|
||||
Catch
|
||||
Try
|
||||
kmt.ExecNonQuery("ALTER TABLE kmt_info2 ADD COLUMN CAT_CL_DIAS_VISITA TEXT")
|
||||
Catch
|
||||
LogColor("No pudimos agregar la columna CAT_CL_DIAS_VISITA.", Colors.Red)
|
||||
LogColor(LastException, Colors.Red)
|
||||
End Try
|
||||
End Try
|
||||
|
||||
Try 'Si no existe la columna PC_ENVIO_OK la agregamos.
|
||||
kmt.ExecQuery("select count(PC_TIEMPO_TIENDA) from PEDIDO_CLIENTE")
|
||||
Catch
|
||||
|
||||
Reference in New Issue
Block a user