Juraj,
To be VO compatible the DBF creation follows the SetAnsi() setting. With SetAnsi(TRUE) the first byte in the file is 0x07 (without memo) or 0x87 (with memo). With SetAnsi(FALSE) this is 0x03 or 0x83.
Try to call SetAnsi(FALSE) before creating the file (and restore it afterwards).
I think that will create a file that Excel also likes.
Robert
WPF app and DBF file
WPF app and DBF file
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
WPF app and DBF file
Hi Robert,
Thanks, with SetAnsi(FALSE) MS Excel open file OK. Is great to work with your support.
Juraj
Thanks, with SetAnsi(FALSE) MS Excel open file OK. Is great to work with your support.
Juraj