Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Only one example IndexSeek()
Message
From
24/07/2002 19:43:30
 
 
To
24/07/2002 06:48:07
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00681943
Message ID:
00682351
Views:
23
>If IndexSeek('NewId',.f.,'myTable','myTag')
>messagebox('This ID already exists.')
>endif


Cetin, I was also looking for an example but then I tried including the logical value for move pointer and it worked.

What confused me was the documentation in VFP 6:

INDEXSEEK(eExpression [, lMovePointer [, nWorkArea | cTableAlias
[, nIndexNumber | cIDXIndexFileName | cTagName]]])


This implies to me that the lMovePointer value is optional. If it is not optional it seems like the syntax should be:

INDEXSEEK(eExpression, lMovePointer [, nWorkArea | cTableAlias
[, nIndexNumber | cIDXIndexFileName | cTagName]])

Do you agree?

Peter
Peter Robinson ** Rodes Design ** Virginia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform