Thanks for the advice and instructions. But I have decided to go another way to solve my problem, and it has gone well
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.
FUNKTION_GU:
'===========
'
GU_SELECT:
slOpen TRIM$(KOM.DATABAS)
SET_NUMMER = slGetUnusedSetNumber
SEL_STRANG = "SELECT * FROM ART WHERE ARTNR= " + $SQ + TRIM$(ART.ARTNR) + $SQ
SVAR = slSel(SEL_STRANG, SET_NUMMER) ' Ska ge noll
IF SVAR <> 0 THEN
KOM.FELTEXT = "SYSTEMFEL i ARTIO GU slSel=" + STR$(SVAR) <<============
GOTO SYSTEMFELHANTERING
EXIT SUB
END IF