Ian Branch 128 Posted January 19, 2019 Hi Team, D10.3. I have the following line of code.. [code} Result := inherited GetFieldData(Field, Buffer, NativeFormat); {code} Against this line in Build mode I get the following.. "W1000 Symbol 'GetFieldData' is deprecated: 'Use overloaded method instead'" I have had a look at the relevant help and I don't understand what it wants me to change/'use'. It is only a warning however I would like to clean it up anyway. Ian Share this post Link to post
dummzeuch 1506 Posted January 19, 2019 There are multiple, overloaded declarations of this method. They differ in the number and/or types of parameters. The one you are calling has been marked as deprecated, which means that it will be removed in a future version. Check out the others, one of them is probably suitable to replace the one you are calling. Share this post Link to post
Ian Branch 128 Posted January 19, 2019 2 hours ago, Ian Branch said: [code} Result := inherited GetFieldData(Field, Buffer, NativeFormat); {code} Ah Ha! Turned out I had to change 'Buffer: Pointer' definition a little further back to 'Buffer: TValueBuffer' All good now. Tks. Ian Share this post Link to post