Hi,
Can anyone advise me on why SSR_GETUSERTMPSTR returns false.
I have the coding below.
SSR_GetAllUserInfo is working fine.
I used SSR_GetUserTmpStr to download the fingerprint template but it always returns false.
Did i miss something here?pls advise
Thanks,
Elvie
sdwEnrollNumber = ""
idwErrorCode = 0
iMachineNumber = 4370
iFIndex=15 &&1
sName=""
sPassword=""
iPrivilege=0
bEnabled=.f.
sTmpData=""
iTmpLength=0
ZAP IN zKemTmp
IF .olezkem.ReadAllUserID(iMachineNumber)
IF .olezkem.ReadAllTemplate(iMachineNumber)
DO WHILE this.olezkem.SSR_GetAllUserInfo(iMachineNumber, @sdwEnrollNumber, @sName, @sPassword, @iPrivilege, @bEnabled)
sdwEnrollNumber1=PADL(ALLTRIM(sdwEnrollNumber),8," ")
SELECT zKemTmp
APPEND BLANK
REPLACE empId WITH sdwEnrollNumber1,empname WITH sName
IF this.olezkem.SSR_GetUserTmpStr(iMachineNumber, sdwEnrollNumber, iFIndex, @sTmpData, @iTmpLength)
REPLACE tmpData WITH sTmpData
ENDIF
ENDDO
ENDIF
ENDIF
Can anyone advise me on why SSR_GETUSERTMPSTR returns false.
I have the coding below.
SSR_GetAllUserInfo is working fine.
I used SSR_GetUserTmpStr to download the fingerprint template but it always returns false.
Did i miss something here?pls advise
Thanks,
Elvie
sdwEnrollNumber = ""
idwErrorCode = 0
iMachineNumber = 4370
iFIndex=15 &&1
sName=""
sPassword=""
iPrivilege=0
bEnabled=.f.
sTmpData=""
iTmpLength=0
ZAP IN zKemTmp
IF .olezkem.ReadAllUserID(iMachineNumber)
IF .olezkem.ReadAllTemplate(iMachineNumber)
DO WHILE this.olezkem.SSR_GetAllUserInfo(iMachineNumber, @sdwEnrollNumber, @sName, @sPassword, @iPrivilege, @bEnabled)
sdwEnrollNumber1=PADL(ALLTRIM(sdwEnrollNumber),8," ")
SELECT zKemTmp
APPEND BLANK
REPLACE empId WITH sdwEnrollNumber1,empname WITH sName
IF this.olezkem.SSR_GetUserTmpStr(iMachineNumber, sdwEnrollNumber, iFIndex, @sTmpData, @iTmpLength)
REPLACE tmpData WITH sTmpData
ENDIF
ENDDO
ENDIF
ENDIF