Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary Key
Message
From
01/08/2001 18:52:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00532997
Message ID:
00538620
Views:
12
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform