Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSR_GETUSERTMPSTR fails

Status
Not open for further replies.

vie3548

Programmer
Jul 12, 2021
28
AE
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top