Search found 7 matches

by KMGriffiths
Tue Nov 10, 2009 1:14 pm
Forum: Databases
Topic: button script for accessing an sqlite database
Replies: 5
Views: 5338

Button script for sqlite database

Hi Phil, Thanks for your reply. I must say I am new to databases but I bought a program called SQLITE EXPERT which I used to build the query, the script of which I sent. This did work in the SQLITE EXPERT software in that using ... AND PROJECTS.NAME = 'LINCOLN' extracted all the projects for LINCOLN...
by KMGriffiths
Tue Nov 10, 2009 9:53 am
Forum: Databases
Topic: button script for accessing an sqlite database
Replies: 5
Views: 5338

button script for accessing an sqlite database

Have created 2 databases, PROJECTS and DOORS. My d/base runs correctly in sqlite. I have tried to execute the following button script in Revolution: select * from projects, doors where projects.projectID = doors.projectID and projects.name = 'a non literal' which will be input on a card This will no...
by KMGriffiths
Sun Aug 23, 2009 9:43 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Using Query Builder to access Valentina
Replies: 0
Views: 1652

Using Query Builder to access Valentina

When the Query Builder is launched it has several fields to be completed to make a connection but I am unsure as to what goes where. Could you provide a short guide to enable me to connect to a Valentina database I have created called Projects. If I choose SQLITE from the dropdown TYPE list then cli...
by KMGriffiths
Tue Aug 11, 2009 4:36 pm
Forum: Databases
Topic: sqlite example
Replies: 1
Views: 3146

sqlite example

Is it possible to transfer the various scripts, buttons etc that run the sqlite example across to a new stack. This example seems to contain all the database scripts and buttons that I need. If I can get the stuff into my own stack I can then modify to suit my requirements. Will save me a lot of typ...
by KMGriffiths
Sun Aug 09, 2009 7:58 am
Forum: Databases
Topic: Coding a dynamic database
Replies: 3
Views: 4465

Coding a dynamic database

I can find various commands/functions for creating tables in a database but can anyone give me the basic code to create a sql database named surveyor with 4 tables called doors, windows, height, width.

Any help would be appreciated.

Michael
by KMGriffiths
Thu Aug 06, 2009 9:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Card navigation
Replies: 2
Views: 3372

Klaus wrote:Hi Michael,

simply provide the NUMBER or NAME of the card you want to navigate to:
...
go cd 3
...
or
...
go cd "my third card"
...

You can also
...
go first cd
..
or
...
go last cd
...

Best from germany

Klaus
Thanks for your help Klaus. Problem solved. Michael
by KMGriffiths
Thu Aug 06, 2009 7:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Card navigation
Replies: 2
Views: 3372

Card navigation

I ma setting up a project which uses 6 cards. I want to be able to navigate to any card from any other card rather than moving from one card to another sequentially. What script should I use in my buttons ???