on 01-28-2005 6:31 AM
Hi
I am making a code for SmartSync.
I am using MDK vr 2.5.
The method setFieldValue(FieldDescriptor, Object) from the type Row is deprecated.
I am unable to figure out any substitute for this method.
Can anyone sugget some appropriate solution for this.
Thanks and regards
Ashwani Kumar Sharma
HCL Technologies
Look the interface <i>Field</i>. You should use its methods .getValue() and .setValue(), instead the corresponding Row's methods.
I.e. instead:
Object lObj = myRow.getFieldValue(desc);
myRow.setFieldValue(desc, newValue);
you should use:
Object lObj = myRow.getField(desc).getValue();
myRow.getField(desc).setValue(newValue)
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.