Aug 21, 2013; 20:56
Carl Ketterling
Can I access databases from Lasso Command Line?
I have a small bit of code I'm trying to use to get Lasso v9 running on Mac OS X Server v10.7 to access my FileMaker Server v11. This is what I found on the Lasso web site that looks like it should work:
<?LassoScript
inline(
-host=Array(
-datasource='filemakerds',
-name='localhost',
-port='80',
-username='username',
-password='password' ),
-database='database', -table='table', -findall ) => {^
found_count;
^} // Close inline
?>
When I load the file from the web server, it returns the number of records in that database. When I load it using the lasso9 command, it looks like this:
> lasso9 commandlinetest.lasso
> A Failure
> Error Code: 14
> Error Msg: unable to open database file
> Error Stack:
>
> 39:46 sqlite.lasso
> 46:14 sqlite.lasso
> 117:10 database.lasso
> 144:17 inline.lasso
> 134:5 inline.lasso
> 90:17 inline.lasso
> 4:1 commandlinetest.lasso
> 73:12 lasso9.lasso
> 68:3 lasso9.lasso
> 66:3 lasso9.lasso
> 60:3 lasso9.lasso
> 58:15 lasso9.lasso
> 46:3 lasso9.lasso
> 19:8 lasso9.lasso
> 182:2 error.lasso
> 182:2 error.lasso
> 176:2 error.lasso
> 175:2 error.lasso
> 45:2 lasso9.lasso
> 14:25 lasso9.lasso
Any ideas if this should work? If so, any ideas what I might be doing wrong?
Carl
#############################################################
Attend the Lasso Developer Conference 2013!
Sept 12-14, 2013 in Niagara Falls, Canada
http://www.lassosoft.com/LDC-niagara-falls-2013
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Aug 21, 2013; 20:16
Steve Piercy - Web Site Builder
Re: Can I access databases from Lasso Command Line?