GSAK (Geocaching Swiss Army Knife)
Contents - Index

CustomGet (function)

CustomGet(sFieldname) : string        
 
This function will allow you to retrieve the value of any custom field data for the current record. If sFieldName references a field that does not exist in the Custom table, then the return string will be "*Error* - Field xxxxx does not exist in the Custom table. To write data to a custom field, use the CustomPut() function.

Example, show the value for current record for a custom field called "GPXFile":
 

$data = CustomGet("GPXfile")
msgok msg=$data

 
Alpha List         Category List
Copyright 2004-2014 CWE Computer Services  
Privacy Policy Contact