Search found 27 matches

by nrprioleau
Thu Aug 25, 2016 1:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Switch Button Widget
Replies: 2
Views: 1582

Re: Switch Button Widget

Hi thanks, that worked great!
by nrprioleau
Thu Aug 25, 2016 9:42 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Switch Button Widget
Replies: 2
Views: 1582

Switch Button Widget

Please can someone explain why this code in my switch button generates an error in the IDE as well as the standalone?

Code: Select all

on hiliteChanged
   put the hilited of me into tAction
   doChangeRecord tAction
end hiliteChanged
by nrprioleau
Thu Aug 25, 2016 9:37 am
Forum: SQL Yoga
Topic: Standalone will not run [Solved]
Replies: 11
Views: 4384

Re: Standalone will not run ** FIXED **

I don't know why exactly but I removed the revDB external package in the standalone settings and the app is now running!
by nrprioleau
Mon Aug 22, 2016 2:44 pm
Forum: SQL Yoga
Topic: Standalone will not run [Solved]
Replies: 11
Views: 4384

Re: Standalone will not run

Hi Trevor,

Have you had anymore thoughts on this quandary?

Cheers
Nic
by nrprioleau
Thu Aug 18, 2016 11:27 am
Forum: SQL Yoga
Topic: Standalone will not run [Solved]
Replies: 11
Views: 4384

Re: Standalone will not run

Hi Trevor,

I based my app on the To-Do application structure, the only difference being that I am using mysql not sqlite.
Folder screen shots attached.
by nrprioleau
Wed Aug 17, 2016 3:31 pm
Forum: SQL Yoga
Topic: Standalone will not run [Solved]
Replies: 11
Views: 4384

Re: Standalone will not run

Hi Trevor, Thanks for the instructions. I followed them diligently. Still getting this error of Invalid Database Type: Type: Application Object: Line: Line No: 0 Hint: sqlyoga_connection_err,0,0,invalid database type sqlyoga_connection_err,0,0,dbconn_connect (4572) sqlyoga_connection_err,0,0,stack "...
by nrprioleau
Wed Aug 17, 2016 2:23 pm
Forum: SQL Yoga
Topic: Standalone will not run [Solved]
Replies: 11
Views: 4384

Re: Standalone will not run

Hi Trevor, I've attached a screenshot of inclusions and referenced the externals as below... I've "forced" the folder path to where the externals are located but still not happy. on startUp put defaultFolder into DataFolderPath put DataFolderPath & "/components/externals/" into myDLLfilePath set the...
by nrprioleau
Wed Aug 17, 2016 1:47 pm
Forum: SQL Yoga
Topic: Standalone will not run [Solved]
Replies: 11
Views: 4384

Re: Standalone will not run

It would appear that the mySQL database driver is not being included in the standalone. Have you included the mySQL driver in the Standalone Builder? You would probably have to manually select it in the standalone builder interface. LiveCode won't automatically find it. Hi Trevor, yes I have manual...
by nrprioleau
Wed Aug 17, 2016 10:20 am
Forum: SQL Yoga
Topic: Standalone will not run [Solved]
Replies: 11
Views: 4384

Standalone will not run [Solved]

Good day, I have written a rather large app which is based on glxApp framework and sql yoga. I have got to the point of creating my standalone and have followed the instructions on inclusions, etc but I get the following error when trying to run the standalone. I use mySQL database. The error clearl...
by nrprioleau
Mon May 09, 2016 11:56 am
Forum: SQL Yoga
Topic: Using JOINS to build datagrid
Replies: 2
Views: 2498

Re: Using JOINS to build datagrid

I have figured it out. I used retrieveAsArray instead of retrieveAsRecord.

However, now that I have all my data, I have noticed that there are two addresses related to the customer record but the returned data is only returning one address record. What am I doing wrong?
by nrprioleau
Mon May 09, 2016 11:39 am
Forum: Bug Triage
Topic: Livecode 8 crashing every time I update script
Replies: 1
Views: 960

Livecode 8 crashing every time I update script

I run Mac OSX El Capitan - I can sometimes edit my script without having any issues but in the last hour I have had about 20 crashes. If I edit the script of an object, I get a message that the script has been modified and do I want to reload. Whether I choose Reload or Cancel, Livecode crashes. Any...
by nrprioleau
Mon May 09, 2016 10:58 am
Forum: SQL Yoga
Topic: Using JOINS to build datagrid
Replies: 2
Views: 2498

Using JOINS to build datagrid

Good morning, Is it possible to use joins to build columns in a datagrid? I have a "sales" datagrid that has a column productID, I want the datagrid to display the name. My code looks like this: put sqlquery_createObject("sales") into theQueryA sqlquery_set theQueryA, "related table joins", "LEFT OU...

Go to advanced search