Page 1 of 1

database connect in iphone simulator

Posted: Sat Jan 22, 2011 11:01 am
by fre
hallo,

is there a difference between livecode and the iphone simulator connecting to a mysql database ?

in livecode everything works fine, but in the simulator the database connect seems not to work.
i use this statement for connecting:

Code: Select all

put revOpenDatabase("MySQL", tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tResult
the connection id (here: tResult) in the simulator is not available. i tryed to write the id to a text field for debugging, but the field is empty:

Code: Select all

put tResult into field test

does anybody had that problem before?

best
fred.

Re: database connect in iphone simulator

Posted: Sat Jan 22, 2011 12:29 pm
by Klaus
Hi fre,

externals (like database connectivity) are still not supported on iOS.
As can be read in the iOS release notes!


Best

Klaus

Re: database connect in iphone simulator

Posted: Sat Jan 22, 2011 12:44 pm
by fre
thank you for the answer klaus,
i am very new to this and also to mac and iOS. so please forgive me if i ask stupid questions.
does that mean, i can not connect to a database with an iphone ?

best regards
fred.

Re: database connect in iphone simulator

Posted: Sat Jan 22, 2011 1:04 pm
by Klaus
Hi Fred,
fre wrote:does that mean, i can not connect to a database with an iphone ?
Yes.


Best

Klaus

Re: database connect in iphone simulator

Posted: Sat Jan 22, 2011 2:05 pm
by fre

Code: Select all

externals (like database connectivity) are still not supported on iOS.
is a csv file also an external ?

Re: database connect in iphone simulator

Posted: Sat Jan 22, 2011 2:46 pm
by Klaus
Hi Fred,

a CSV file is just a text file, and you sure can handle this with LiveCode on iOS.


Best

Klaus