mirror of
https://github.com/KeymonSoft/Kelloggs_v4.git
synced 2026-04-20 03:29:14 +00:00
cambio db a skmt y bitacora
This commit is contained in:
@@ -215,8 +215,8 @@ Sub flp_LocationChanged (Location1 As Location)
|
||||
sTime=DateTime.Time(DateTime.Now)
|
||||
If Starter.lat_gps <> 0 And Starter.lat_gps <> Null Then
|
||||
Try
|
||||
Starter.db.ExecNonQuery("DELETE FROM HIST_GPS")
|
||||
Starter.db.ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ", Array As Object (sDate & sTime, Starter.lat_gps, Starter.lon_gps))
|
||||
Starter.skmt.ExecNonQuery("DELETE FROM HIST_GPS")
|
||||
Starter.skmt.ExecNonQuery2("INSERT INTO HIST_GPS (HGDATE, HGLAT, HGLON) VALUES(?,?,?) ", Array As Object (sDate & sTime, Starter.lat_gps, Starter.lon_gps))
|
||||
Catch
|
||||
If logger Then Log("Error al borrar o insertar nuevas coordendas en HIST_GPS")
|
||||
End Try
|
||||
|
||||
Reference in New Issue
Block a user