Antonio,
It seems that in usrrdd.c are missing some functions like FieldSize FieldLen Dbrlocklist.
Shouldnt these also be there?
AHF wrote:Antonio,
What this needed for:
- Code: Select all Expand view RUN
STATIC FUNCTION ADO_RAWLOCK( nWA, nAction, nRecNo )
// LOCAL oRecordSet := USRRDD_AREADATA( nWA )[ WA_RECORDSET ]
/* TODO */
HB_SYMBOL_UNUSED( nRecNo )
HB_SYMBOL_UNUSED( nWA )
HB_SYMBOL_UNUSED( nAction )
RETURN HB_SUCCESS
1. Is there a UR_FOR or similar in harbour\include\hbusrrdd.ch ?
3. In SQL we may need to store a string cFor value only, no need for the codeblock.
2. Have we implemented those functions in adordd.prg ?
FUNCTION OrdFor(nOrder)
//works only for current selected workarea not alias->(ordfor(n))
LOCAL cTablename := USRRDD_AREADATA( Select() )[ WA_TABLENAME ]
LOCAL aWAData := USRRDD_AREADATA( Select() )
LOCAL cFor := ""
IF nOrder = 0
nOrder := aWAData[WA_INDEXACTIVE]
cFor := aWAData[WA_INDEXFOR][nOrder]
ELSEIF nOrder <= LEN(aWAData[WA_INDEXES] )
cFor := aWAData[WA_INDEXFOR][nOrder]
ENDIF
RETURN cFor
20: ENCCLIST NomeRDD: ADORDD
==============================
RecNo RecCount BOF EOF
1 34 .F. .F.
Índices em uso TagName
=> NRENCOMEND+CODIGOPROD+ARMAZEM ENCCPRO
CODIGOPROD+ARMAZEM+NRENCOMEND PROENCC
GUIA+CODCLIENTE+CODIGOPROD+ARMAZEM MECPD
CODCLIENTE CDENCCL
NRFACTUR+CODCLIENTE+CODIGOPROD+ARMA PTFACT
NRFACTUR+CODIGOPROD+ARMAZEM+ANO +SE NRFPROD
CODIGOPROD+NRCONTRATO CCONTRT
Relações em uso
Registos fechados
30: => OFERTAS NomeRDD: ADORDD
==============================
RecNo RecCount BOF EOF
1 3 .F. .F.
Índices em uso TagName
CODCLIENTE+CODIGOPROD+ARMAZEM+DATAO CLIPRO
CODIGOPROD+ARMAZEM+CODCLIENTE+DATAO PROCLI
CODCLIENTE+DATAOFERTA +NUMEROOFER+C CLIPRO2
CODIGOPROD+ARMAZEM+DATAOFERTA +NUME PROCLI2
=> CODCLIENTE TEMP2
Relações em uso
Registos fechados
hb_usrInfo( AREAP pArea, HB_USHORT uiInfoType, PHB_ITEM pInfo )
nRecno := oRecordSet:BookMark
// iif( oRecordSet:AbsolutePosition == -3, oRecordSet:RecordCount() + 1, oRecordSet:AbsolutePosition )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 75 guests