2012-08-29 07:43 AM
REQUEST ("Zone_relations", "", zone_name, zone_code, name, number)
PARAMETERS user_name = zone_name
PARAMETERS user_code = zone_code
space_code = ""
IF user_code <> "" THEN
space_code = user_code
ENDIF
IF space_type <> "" THEN
space_code = space_code + "." + space_type
ENDIF
IF room_number <> "" THEN
space_code = space_code + "." + room_number
ENDIF
PARAMETERS space_code = space_code
As you can see, the script gets the user info from zone category and adds then additional information (if it exist) to the space code which will look like this:2012-08-30 12:02 PM
2012-11-06 11:38 AM
2012-11-22 02:39 PM