I have a dbf where there is a field ( codice)
how I can load an random number to load a record
Regards
FUNCTION Unique()
LOCAL cNumeric:= STR (HB_RANDOMINT(1,10000) ,5)
// You may use any number instand of 10000
cNumeric := STRTRAN (cNumeric ," ","0")
RETURN( cNumeric)
FUNCTION Unique(nTotale)
RETURN( HB_RANDOMINT(1,nTotale))
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Otto and 75 guests