blank application error

I can’t run any blank application.
I get the error : Table sc_tbapl error access:near “’, '”: syntax error

I use the code here : http://www.scriptcase.net/samples/tutoriais/features/sample_blank_application.php

Only change I made :
I substitute my data in the select statement and on the SQL tab used my connection.

Can someone advise? Thanks

Please show your select statement.

$sSQL = “SELECT woh_date, woh_cont_price FROM woh_data”;

Did you even connect to a database? If you use a blank application with SQL you have to connect somewhere to a database…
I assume you forgot to setup your database connection…

On the blank application, under the SQL tab on the left, I have selected a connection to the database selected. I thought that was good enough…may not…thanks for the idea.