Dear All,
I would like to know XML record and how to write it.
Best regards,
Dutch
#define adOpenForwardOnly 0
#define adOpenKeyset 1
#define adOpenDynamic 2
#define adOpenStatic 3
#define adLockReadOnly 1
#define adLockPessimistic 2
#define adLockOptimistic 3
#define adLockBatchOptimistic 4
#define adPersistXML 1
FUNCTION MAIN()
LOCAL oRs := CREATEOBJECT( "ADODB.Recordset" )
FERASE( "TEST.XML" )
oRs:Open( "SELECT * FROM Test", "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\xharbour; Extended Properties=DBASE III", adOpenForwardOnly, adLockReadOnly )
oRs:Save( "TEST.XML", adPersistXML )
oRs:Close()
RETURN NIL
James Bott wrote:Enrico,
Is this reading a Jet database or a DBF?
James Bott wrote:Is this for xHarbour only or will it run under Harbour also?
Return to FiveWin for CA-Clipper
Users browsing this forum: No registered users and 13 guests