Thanks,
Kevin
Here are the methods in question. Thanks for the help.
function onDeviceReady()
{
var db = window.openDatabase("grptracker", "1.0", "Group
Tracker DB", 1000000);
db.transaction(populateDB, errorCB, successCB);
}
function populateDB(tx)
{
tx.executeSql('DROP TABLE tblGROUPS');
tx.executeSql('CREATE TABLE IF NOT EXISTS tblGROUPS (id
unique, name TEXT, expire NUMERIC, descrip TEXT)');
}
function errorCB(tx, err)
{
alert("Error processing SQL: "+err);
}
function successCB()
{
alert("success!");
Simon Mac Donald
http://hi.im/simonmacdonald
> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go to www.phonegap.com
>