This is the VB code that works perfectly fine:
rv = MapControl21.SearchLocationText(txtLoc, LocId)
The second parameter is a return value but I can not get it to work correctly in clarion. I pass a value from txtLoc and it is supposed to return a value to both rv and LocId. Does anyone know the correct clarion code?