Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number at mytext
Message
De
05/12/2004 15:42:11
 
 
À
05/12/2004 10:25:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00966918
Message ID:
00967010
Vues:
20
hi,

i try as under atmyform i get error message"Table has no index order set "

befor a message i can see the result at mytext as 1,not ex.. 0001-04,
local lnSelect
lnSelect = select()
if used("serialnumber")
	select serialnumber
else
	select 0
	use serialnumber
endif
*set order to "sequence"
seek padr(tnSequence, len(sequence))
if not found()
	append blank
	replace sequence with tnSequence, nextnum with 1
*		replace thisform.text1.value with tnSequence, nextnum with 1
endif
local lnReturnValue
if lock()
	lnReturnValue = nextnum
	replace nextnum with nextnum + 1
else
	lnReturnValue = -1
endif
select (lnSelect)
unlock
return lnReturnValue 
thanks .
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform