Database commands?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Diane
Posts: 20
Joined: Wed Jun 01, 2011 10:02 pm

Database commands?

Post by Diane » Tue Jun 07, 2011 11:30 pm

Hi,
I listened to the webinar this morning, and am trying to do a simple database example. I looked thru the Dictionary and noticed some of the commands are "rev" followed by a capitalized command (i.e. Execute) so the command is revExecuteSQL, and then a similar one called revdb_execute, with the statement that one is a function call and the other a command, which to use and when? Thanks!

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Database commands?

Post by bangkok » Wed Jun 08, 2011 7:12 am


Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Database commands?

Post by Mark » Wed Jun 08, 2011 10:29 am

Hi Diane,

These two commands/functions are synonymous. The revdv_ commands and functions are obsolete but still available.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Diane
Posts: 20
Joined: Wed Jun 01, 2011 10:02 pm

Re: Database commands?

Post by Diane » Thu Jun 09, 2011 12:41 am

Got it guys, Thanks!

townsend
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 430
Joined: Sun Feb 13, 2011 8:43 pm

Re: Database commands?

Post by townsend » Thu Jun 09, 2011 6:56 pm

These two commands/functions are synonymous.
The revdv_ commands and functions are obsolete but still available.
When I go to the Dictionary and search for all the "revdb_" I count 28 functions.
When I search for "revDatabase" I find there are only 11.

Are these 11 new functions supposed to replace the 28 old functions?

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Database commands?

Post by BvG » Thu Jun 09, 2011 11:44 pm

some of the revdb_ stuff got a non revdatabase replacement, for example revCloseCursor or revQueryDatabase.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Post Reply