Lucas,
Ok thanks.
How are you trials going?
//OPEN EXCLUSIVE
IF !aWAData[ WA_OPENSHARED ]
aLockInfo[ UR_LI_METHOD ] := DBLM_EXCLUSIVE
aLockInfo[ UR_LI_RESULT ] := .F.
ADO_LOCK( nWA, aLockInfo )
IF !aLockInfo[ UR_LI_RESULT ]
MSGINFO("ERROR ADOPEN") //IT COMES HERE BUT DO NOTHING ! WHY?
oError := ErrorNew()
oError:GenCode := EG_OPEN
oError:SubCode := 1001
oError:Description := hb_langErrMsg( EG_OPEN )
oError:FileName := aOpenInfo[ UR_OI_NAME ]
oError:OsCode := 0 // TODO
oError:CanDefault := .T.
NETERR(.T.)
UR_SUPER_ERROR( nWA, oError )
RETURN HB_FAILURE
ENDIF
ENDIF
oRecordSet := TOleAuto():New( "ADODB.Recordset" )
IF oRecordSet == NIL
oError := ErrorNew()
oError:GenCode := EG_OPEN
oError:SubCode := 1001
oError:Description := hb_langErrMsg( EG_OPEN )
oError:FileName := aOpenInfo[ UR_OI_NAME ]
oError:OsCode := 0 /* TODO */
oError:CanDefault := .T.
UR_SUPER_ERROR( nWA, oError )
RETURN HB_FAILURE
ENDIF
#command APPEND [FROM <(f)>] [FIELDS <fields,...>] ;
[FOR <for>] [WHILE <while>] [NEXT <next>] ;
[RECORD <rec>] [<rest:REST>] [ALL] ;
[DELIMITED [WITH <*delim*>]] [CODEPAGE <cp>] => ;
__dbDelim( .F., <(f)>, <(delim)>, { <(fields)> }, ;
<{for}>, <{while}>, <next>, <rec>, <.rest.>, <cp> )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 38 guests