Quote:
Originally posted by John Henry
rsProperty!e.DataField = e
It doesn't like the line 'rsProperty!e.DataField = e' and returns an error 'Method or Data Object not found.'
I presume this is because it's trying to find a field called 'e.DataField', rather than the field that it holds. Is there any way I can make it look for whatever field e.DataField holds?
|
First of all, rs!... is an abominable kuldge and should be avoided. Second of all, unless you specify you want to set the field's Value, it may assume you want to set the field object equal to the control, which won't work.
But the following should:
rsProperty(e.DataField).Value = e