Yes my intention is to pull the MIN and MAX values from a range of rows using SQL, but how?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
TEMP_MIN = 100
TEMP_MAX = -100
SQL_SATS = "SELECT TEMP FROM TEMPERATUR WHERE DATE LIKE " + $SQ + 2017% +$SQ
IF slGetRow = 0 THEN EXIT FUNCTION
TEMP_= VAL(slFN("TEMP" ))
TEMP_MAX = MAX(TEMP_MAX, TEMP)
TEMP_MIN = MIN(TEMP_MIN, TEMP)
DIM RAD_IN AS STRING
DIM NYTT AS WSTRING
NYTT = "ABCD"
RAD_IN = "INSERT INTO ORD (ORDET) VALUES(NYTT)"