Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if field entry is unique?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01143260
Message ID:
01143322
Views:
8
This message has been marked as a message which has helped to the initial question of the thread.
>>Try
* VFP9 only
>>SELECT * FROM  mytable ;
>>	WITH (Buffering = .T.) ;
>> 	WHERE <New User Entry> ;
>> 	TO SCREEN NOCONSOLE
>> 	
>>IF _TALLY > 1
>>  * Duplicate
>>
>>*Any VFP version
>>COUNT FOR <New User Entry> to nCount
>>GOTO (nCurrenRecno)
>>IF nCount > 1
>>  * Duplicate
>>

>
>Hi Sergey,
>
>Thank you very much. I will try your suggestion. Just looking at your code I see syntax "WITH (Buffering = .T.)" which I have never seen. Interesting.
>
>Again, thank you.

You may also check Re: Select WITH Buffering = .t. Thread #1136217 <g>
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform