I'm just trying to prevent an accidental double billing for the same item...
with a unique index you can only create one instance of ... that student(10)
in that class(101) during that session(5th).

It would not allow the insert record.

Gary

-----Original Message-----
From: MB Software Solutions, LLC
[mailto:[email protected]] 
Sent: Wednesday, April 24, 2013 3:03 PM
To: ProFox Email List
Subject: Re: primary or unique index

On 4/24/2013 3:46 PM, Jean MAURICE wrote:
> CAUTION : in VFP a 'UNIQUE' index means that it will keep only the first
> occurence of a value and it is not very useful ...


Other than for something like a SEEK command, I never understood the 
purpose/need for the UNIQUE index in VFP.  Hopefully some of the 
insiders from long ago know why and can explain it to the rest of us.


-- 
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/A5395F4081B64EDCB2E8F2A953C6F793@OwnerPC
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to