Problem with MaxStringFieldSize and Midas

fzapata

Member
An application that is working with Delphi 5 and DOA Ver. 3.4.6.1 doesn't work with Ver. 4.05 thus the following:

I have a RemoteDataModule with a TSession.MaxStringFieldSize set to 0 in order to manage all string fiels as string rather than Memo. If you define persistent fields (on the server side) it recongnizes it as TStringField.

On the client side, if you try to open the existing TClientDataSet it displays an error because it sees the field as TMemoField.

What I did was to put a big number on the TSession.MasStringFieldSize, but I have to modify all the applications and it should work as before, shouldn't it?

By the way, I'm connecting to the server using TDCOMConnection

Any hint?
 
For a RemoteDataModule the default TOracleSession.Preferences.MaxStringFieldSize is 255, for compatibility with TClientDataSet components. This should both be the case in 3.4 and 4.0. I'm not sure why this fails now, but we'll check it out.
 
Back
Top