gettingstarted
[Top] [All Lists]

Re: RB Database - auto increment number

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: RB Database - auto increment number
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Fri, 25 Feb 2005 08:55:27 -0600
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <586a462841b31fdc33ea36212643ebf4 at rogers dot com> <a0620070ebe439d584f99 at [10 dot 10 dot 13 dot 4]> <421E8A8A dot 2020907 at rogers dot com>
At 9:16 PM -0500 2/24/05, Michel Dion wrote:

So, the _rowid field is my primary key for all table, and the value of the _rowid is what I would use in a related table to relate to that record. No need to create primary key field like ProjectID, TimesheetID, ClientID, etc.

Yes -- you don't have to do it that way of course, but it's certainly the most convenient approach.

There is a option "primary key" available for other field.

Actually, no, that option is not available for the REAL Database.

Best,
- Joe

--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>