Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I triger a field validation for a primary key
Message
From
15/10/1997 17:37:48
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
14/10/1997 09:29:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00052119
Message ID:
00054778
Views:
49
>>What's the difference between the next version's IndexSeek() and the >>KeyMatch()? IndexSeek() will not be as buggy? > >AFAIK, KeyMatch move pointer back and forth, trigger row buffering >tableupdate() anyway, IndexSeek presumably will not move pointer in current >work area at all (I guess table will USE ... AGAIN). Here's what help says: KEYMATCH( ) searches an index tag or index file for a specific index key and returns true (.T.) if the index key is found; otherwise, KEYMATCH( ) returns false (.F.). KEYMATCH( ) can be used to prevent duplicate index keys. KEYMATCH( ) returns the record pointer to the record on which it was originally positioned before KEYMATCH( ) was issued. So yes, it really moves the record pointer forth and back, and triggers all the things which occur after leaving a record. IMHO, it should have been implemented the way IndexSeek is supposed to work in the first place. BTW, in FP the KeyMatch() function didn't really work - you had to issue iif(keymatch(), .t., .f.) to get the correct result. Anyone tested it in VFP?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform