Search found 14 matches
- Tue May 01, 2007 6:20 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
ADORDD
OK
- Tue May 01, 2007 4:56 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
dbCreate
// Creating fields for new DBF - dbCreate() in current workarea STATIC FUNCTION ADO_CREATEFIELDS( nWA, aStruct ) LOCAL aWData := USRRDD_AREADATA( nWA ) aWData[ 1 ] := { ; NIL ,; // DATABASE_FILENAME {} ,; // DATABASE_RECORDS {} ,; // DATABASE_RECINFO 0 ,; // DATABASE_OPENNUMBER FALSE ,; // DATABASE_...
- Tue May 01, 2007 4:29 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
dbAppend
STATIC FUNCTION ADO_APPEND( nWA, lUnLockAll )
local oADO := USRRDD_AREADATA( nWA )[ 1 ]
oADO:AddNew()
TRY
oADO:Update() // keep it here, or there is an ADO error
CATCH
END
RETURN SUCCESS
Must add code TRY/CATCH if oADO:Update() create error
local oADO := USRRDD_AREADATA( nWA )[ 1 ]
oADO:AddNew()
TRY
oADO:Update() // keep it here, or there is an ADO error
CATCH
END
RETURN SUCCESS
Must add code TRY/CATCH if oADO:Update() create error
- Tue May 01, 2007 2:56 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
GetValue
This change for correct GetValue if database is empty STATIC FUNCTION ADO_GETVALUE( nWA, nField, xValue ) LOCAL aWData := USRRDD_AREADATA( nWA ) LOCAL oADO := USRRDD_AREADATA( nWA )[ 1 ] IF aWData[ 3 ] xValue := "" ELSE IF oADO:BOF .AND. oADO:EOF xValue := NIL ELSE xValue := oADO:Fields( n...
- Tue May 01, 2007 9:38 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
dbCreate
Antonio,
your opinion is good (not wrong) but if we use client/server natural is connect client on server. you must follow this idea : client -> server
in all case I follow you but I like suggesting
Srdjan
your opinion is good (not wrong) but if we use client/server natural is connect client on server. you must follow this idea : client -> server
in all case I follow you but I like suggesting
Srdjan
- Tue May 01, 2007 9:06 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
dbCreate
Hello Antonio,
I build dbCreate for ADORDD and send to you with small sample.
But I think you must first connect to database and next commands can be
USE
dbCreate
etc..
IF dbCreate is first command Harbour don't know which connection in use
Best regards
Srdjan
I build dbCreate for ADORDD and send to you with small sample.
But I think you must first connect to database and next commands can be
USE
dbCreate
etc..
IF dbCreate is first command Harbour don't know which connection in use
Best regards
Srdjan
- Tue May 01, 2007 5:55 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
dbCreate
Which function execute when dbcreate execute (aMyFunc[ UR_CREATE]) ?
- Tue May 01, 2007 5:31 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
- Tue May 01, 2007 4:43 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
Explantion
Where I can read good explanation of USRRDD ?
- Mon Apr 30, 2007 6:11 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
- Mon Apr 30, 2007 4:17 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
Excuse me
Antonio,
First excuse me for big messages
First excuse me for big messages
- Sun Apr 29, 2007 8:30 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Excel Files
- Replies: 15
- Views: 4290
CreateXLS
I have code in VB for creating XLS file direct with FCREATE() and FWRITE()
If you interesting I can send this file for conversion to xHarbour
If you interesting I can send this file for conversion to xHarbour
- Sun Apr 29, 2007 8:26 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
Sample
#include "adordd.ch" REQUEST ADORDD function Main() LOCAL db /* // Example for creation of Oracle connection string cDataSource := "" cUserID := "digi" cPassword := "digi" OPEN CONNECTION "Provider=MSDAORA.1;Persist Security Info=False"+IIF( cDataSou...
- Sun Apr 29, 2007 8:25 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 99566
Connection
I suggest first create ADO Connection, this connection we can use in ADO Recordsets (in dBase terminology TABLE ), second parameter is string or ADO Connection object. If we create connection object we can use cnn:Execute("Select * FROM Table"), cnn:Errors and open method of recordsets is ...