Page 1 of 1

Save as stand alone issues

Posted: Mon May 30, 2011 6:21 am
by jesse
I have created a simple application using two stacks. The first has a datagrid with data
and the second is an "editing window" of the data. It seems to work fine when testing
in Live Code but once I Save as Application and open it up the application no data loads into the datagrid.

I am connecting a mysql database on a remote server to get the data. Again it works just fine during development
in Live Code but once I Save As Application and load the newly created application it does not appear to be loading
any data into the grid.

Just to be sure I have checked to include every library and option to make sure it wasn't an issue
there and it was not. I of course checked database support for mySQL.

Anyone have any suggestions?

Re: Save as stand alone issues

Posted: Mon May 30, 2011 12:19 pm
by jharris
I sounds like you are loading data in openStack or preOpenStack. I would suggest putting a button on the stack to load the data manually (for testing).

I usually set a breakpoint where the code is failing and make sure each statement is being executed.

jharris

Re: Save as stand alone issues

Posted: Mon May 30, 2011 10:30 pm
by jesse
Got it fixed. Was some weird situation. Had to delete the datagrid and re-add and then it worked.