Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary Key
Message
De
01/08/2001 18:52:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00532997
Message ID:
00538620
Vues:
11
>also in the GETKEY() function, I changed the if Found() to IF SEEK(alltrim(upper(tcTable))
>For Some odd reason the Found would not go into the if statement, but the Seek() would.
>Go figure :-)
>

The SEEK() function by itself will cause an error message. Apparently a confusion with the SEEK command. This can be circumvented using the oldfashioned "=" sign:
= SEEK(value)
Of course,
if seek(value)
  ...
is shorter than:
= seek(value)
if found()
  ...
So I prefer the "if seek" version.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform