Help upgrading from 2.8.1.12 to 2.10.0.3
Posted: Thu Apr 14, 2022 4:34 pm
Hi All,
I've just upgraded my installation of X#, but I'm now getting a new error. I'm referencing X# from a C# program, using it to import data from an old VO program.
The offending code is
FIELD45 is a memo field containing a VO array. This used to work fine, but I now get "Conversion Error from USUAL (OBJECT) to ARRAY".
I imagine something changed in memo field handling?
Any suggestions gratefully received.
Thanks
Nick
I've just upgraded my installation of X#, but I'm now getting a new error. I'm referencing X# from a C# program, using it to import data from an old VO program.
The offending code is
Code: Select all
XSharp.Core.Functions.SetAnsi(false);
XSharp.Core.Functions.SetExclusive(false);
XSharp.Core.Functions.SetDateFormat("MM/DD/YY");
XSharp.Core.Functions.SetEpoch(1990);
XSharp.Core.Functions.SetDeleted(true);
int codepage = XSharp.RuntimeState.DosCodePage;
AdjustBinaryData.Initialize(Encoding.GetEncoding(codepage));
DbServer setupreader = new DbServer(Path.Combine(selectedpath, "Setup.dbf"), true, true, "DBFCDX");
...
XSharp.__Array buildstations = setupreader.FIELDGET("FIELD45"); << ERROR ON THIS LINE
I imagine something changed in memo field handling?
Any suggestions gratefully received.
Thanks
Nick