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: Thu, 24 Feb 2005 09:04:09 -0600
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <586a462841b31fdc33ea36212643ebf4 at rogers dot com>
At 8:30 AM -0500 2/24/05, Michel Dion wrote:

I have experienced with mySQL, SQL Server, Access, Filemaker. In all of those, I know how to make a primary key auto increment, so that I have a unique ID integer to call the record.

Stupid question, but how do I do that with the REAL database?

You simply use the _rowid field, which is built in for exactly that purpose.

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>