if demode() = 1 then
if gps(open)and gps(read, 60) then
LAT=gps(latitude);
LON=gps(longitude);
endif;
gps(close);
endif;
That means that it would only ask for gps read when you are in add mode, (to input new cases).
If you are in modify or verify mode, it will doesn´t ask for it. So the value wont change on that cases.
Regards to everyone.
Joshua Figueroa.
Last edited by jfigueroa on February 24th, 2016, 12:40 pm, edited 1 time in total.
That code is not working for me, what am I doing wrong? It shows this error "ERROR: Invalid character expression near line 17 in COORDENADAS procedure".
if visualvalue(LATITUDE) = notappl and COORDENADAS=1 then
if gps(open) and gps(read, 60) then
LATITUDE=gps(latitude);
LONGITUDE=gps(longitude);
endif;
gps(close);
endif;