Try using the @RAS Macro !!

example:
if @RAS > 0

? "RAS Connection"

Else

? "No RAS connection"

EnfIf

------------------
Lon Geefshuysen,
www.xs4all.nl/~longeef/NT/KiXtart
lon_geefshuysen@essentium.com