• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unique Index in EO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unique Index in EO


  • Subject: Re: Unique Index in EO
  • From: Nathan Dumar <email@hidden>
  • Date: Tue, 3 Aug 2004 10:41:47 -0400

Ryan,

In the mean time, you can do a double-trip to the db. First, check to see if that value exists, and then if it does not already exist, allow a save. If it does, give an error message that the value is already being used.

For me, it's user names.

Nathan

On Aug 2, 2004, at 6:01 AM, Kaj Hejer wrote:

At 17:57 -0400 01-08-04, Lotsa Cabo wrote:
Is there a way to set a unique index for a column through EOModeler for
OpenBase without using a primary key? Meaning, my table already has a
primary key; I just want to ensure that a few other columns have unique
values within the table.


Nope, you have to add that to the database yourself "manually".

I filed a enhancement request (<http://bugreport.apple.com>) on this issue some times ago. Feel free to do the same.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Unique Index in EO (From: Lotsa Cabo <email@hidden>)
 >Re: Unique Index in EO (From: Kaj Hejer <email@hidden>)

  • Prev by Date: Subversion and Webobjects
  • Next by Date: Cloudscape
  • Previous by thread: Re: Unique Index in EO
  • Next by thread: AW: AW: Dreamweaver translator extension for WebObjects
  • Index(es):
    • Date
    • Thread