Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record out of range
Message
De
23/03/2004 10:13:27
 
 
À
23/03/2004 03:16:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00888270
Message ID:
00888866
Vues:
10
I see one thing in your code that will trigger an error but "End of File encountered" is the error I get.
SELECT 1
LOCATE FOR UPPER(NO)=UPPER(TRIM(THISFORM.TEXT1.VALUE)) .AND.  UPPER(NAM)=UPPER(TRIM(THISFORM.TEXT9.VALUE))
IF !FOUND()
  SCATTER MEMVAR blank
  no=thisform.text1.value
  nam=thisform.text2.value
  desc=thisform.text3.value
  unit=thisform.text4.value
  total=thisform.text7.value
  min=thisform.text6.value
*!* record pointer is at end of file after the above locate command if not !found() 
  GATHER MEMVAR
*!* gather memvar will generate an error "end of file cncountered" unless you append a record first.

ELSE
...
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform