Basic database primer V1

Bob Hartley rev at armbase.com
Sun Jan 9 06:01:43 EST 2005


At 04:53 09/01/2005, you wrote:

>Hello Bob,


Hi Doc


>Here's a general question: When using  a standalone that calls a stack for 
>data storage purposes such as with the tutorial, does the data stack have 
>to use the .rev file extension or can it be used with any extention we 
>choose? [ .dat, etc.]


Yes you can do this. Richard Gaskin made an employee database that came 
with earlier versions of runrev and this saved the datastack as a .edb file.
One thing to remember is to make a template eg template.rev and CLONE this. 
Then you can save as anything.

You also have to set the mainstack as something different so it can be 
saved as a seperate file (I think)
So I have a template in one app called Master Database.rev and I clone this 
into a file called "My Database" and set the mainstack to My database...

on mouseUp
   clone stack "Master Database"
set the name of it to "My Database"
set the mainStack of stack "My Database" to "My Database"
end mouseUp

All the best
Bob


>Again, thanks for sharing!!
>
>-Doc-
>
>Bob Hartley wrote:


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.9 - Release Date: 06/01/2005




More information about the Use-livecode mailing list