Is it possible to retrieve the value of a label.
I've tried (with X abd QUEPD correctly set ) but nothing is returned.
#COM_OWNER.get Property(MarkGrid + '.Row%' + #x.AsString + '.' + #QUEPD + '.label') Into(#markin)
I'm sure I'v read that this is possible somewhere!
Get Property of label
Re: Get Property of label
I do not believe so (was told no). I either save it to a session variable or get from DB again when needed.
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: Get Property of label
Normally only properties specifically marked as such in the documentation are ‘gettable’.
However you can use the ‘PerformAction’ operation to submit the request to the server.
It has options to control what is submitted to the server. I think if you use the SubmitProp.Heavy property you should be able to get access to the label.
Note: SubmitProp.Heavy should be a rarely used option because it will submit a lot more data.
See http://www.longrangemobile.com/docs/LRP ... action.htm
If you have a problem turn on system level tracing on the client just before the submit operation, perform the submit, and examine the trace file. You should be able to see all the properties that were submitted arriving at the server. If the label is present but your program cannot get the value the cause may be that your program has structured the property name incorrectly.
However you can use the ‘PerformAction’ operation to submit the request to the server.
It has options to control what is submitted to the server. I think if you use the SubmitProp.Heavy property you should be able to get access to the label.
Note: SubmitProp.Heavy should be a rarely used option because it will submit a lot more data.
See http://www.longrangemobile.com/docs/LRP ... action.htm
If you have a problem turn on system level tracing on the client just before the submit operation, perform the submit, and examine the trace file. You should be able to see all the properties that were submitted arriving at the server. If the label is present but your program cannot get the value the cause may be that your program has structured the property name incorrectly.