Search found 46 matches

by hrcap
Fri Nov 01, 2019 1:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Call Script from within script on server
Replies: 2
Views: 228

Re: Call Script from within script on server

wonderful thank you

I think the part I was missing was the 'include' which seems to be how you get a 'script only stack' to run when calling it from a server based script, i.e.

include "script_connect_to_db"



thanks for your help
by hrcap
Thu Oct 31, 2019 6:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Call Script from within script on server
Replies: 2
Views: 228

Call Script from within script on server

Hi Guys I hope that everyone is well. Is it possible to call another script from within a script held on a the hosted server (the same way as you call a script only stack when working in a local environment) EXAMPLE: If you have an app that sends a post to a script on the LiveCode server (I'll give ...
by hrcap
Sun Sep 08, 2019 8:52 pm
Forum: Mac OS
Topic: Script editor view problem
Replies: 8
Views: 1350

Re: Script editor view problem

Evening All

I have had a similar problem.

My script editor view no longer shows the variables pane at the bottom. I have uninstalled and reinstalled Livecode indy 9.05 on Mac and it still isn't showing.


Am I unaware of a setting?


Many Thanks
by hrcap
Mon Aug 19, 2019 6:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Snapshot as Gif
Replies: 2
Views: 216

Snapshot as Gif

Good Afternoon All I have been building my app on a Mac and until today have only built the solution for use on a Mac. Today I tried building my App for windows and was very impressed with the performance. I have however discovered an issue and I can't work out why it is happening, does anybody have...
by hrcap
Mon Aug 19, 2019 3:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Failed to Load External: TsNet
Replies: 5
Views: 279

Re: Failed to Load External: TsNet

Hi Again Panos

Again thank you very much for the reply. I have now downloaded the most recent version of Livecode which has solved the problem :D

Now on to solving the unique quirks that it appears running in windows has thrown up.


Have a great day
by hrcap
Mon Aug 19, 2019 2:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Failed to Load External: TsNet
Replies: 5
Views: 279

Re: Failed to Load External: TsNet

Hi Panos

Thank you very much for taking the time to reply. I can confirm that I did copy the whole folder to the windows computer


I am currently using version 9.5.0-dp-1


Many Thanks
by hrcap
Mon Aug 19, 2019 11:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Failed to Load External: TsNet
Replies: 5
Views: 279

Failed to Load External: TsNet

Good Morning All I hope that everyone is well. I have just tried to build my Livecode App in the Windows version for first same time. Up to now I have been building compiling it for Mac and iOS which has worked excellently. I now build my App for windows (using my Mac) and then copy the App to a win...
by hrcap
Sat Jul 20, 2019 7:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Array add column with 'days until due'
Replies: 13
Views: 991

Re: Array add column with 'days until due'

Thank you very much all With some further research I have found that the word 'cast' is necessary within the sql statement to remove the decimal place... as below: --selects all of the data and then adds the number of days until expiry on to the end of each row of data put "SELECT *, cast(ROUND( STR...
by hrcap
Sat Jul 20, 2019 2:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Array add column with 'days until due'
Replies: 13
Views: 991

Re: Array add column with 'days until due'

Thanks Bogs

However if the method of searching for a decimal point was used it would again mean that the data should have to be looped through line by line to find the decimal point near the end of each line.

Is there any reason why the ROUND part of the SQL query wouldn’t be working?

Many Thanks
by hrcap
Sat Jul 20, 2019 1:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Array add column with 'days until due'
Replies: 13
Views: 991

Re: Array add column with 'days until due'

Thats Brilliant Thank you very much everyone. I had been thinking of attacking the problem by - querying the database to get all of the required records - then looping through each row of data to carry out the number of days calculation - then adding the number of days to the end of that row of data...
by hrcap
Fri Jul 19, 2019 6:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Array add column with 'days until due'
Replies: 13
Views: 991

Re: Array add column with 'days until due'

Hi Craig Thank you very much for taking the time to reply. Unfortunately I may not have written the question I was asking as clearly as it could have been. I have two columns of data: the first column = "Event" under the column title "Event" are the actual events i.e. Football Disco The second colum...
by hrcap
Fri Jul 19, 2019 4:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Array add column with 'days until due'
Replies: 13
Views: 991

Array add column with 'days until due'

Afternoon All I hope that everyone is well. I currently have some data which I will simplify below: event date Football 2019-10-10 Disco 2020-01-02 this data is held within a SQLIte database, each time I pull this data from the database I wish to add a column to it which will display the number of d...
by hrcap
Fri Jul 05, 2019 3:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Adding days to a date
Replies: 6
Views: 464

Adding days to a date

Good Afternoon I am having trouble adding a number of days to a date. In the example below I start with a date of 4/7/19 and add 365 days to it, I would expect the answer to come out as 4/7/20 but instead the answer is coming out as 4/6/20 and I cannot work out why. Any help would be much appreciate...
by hrcap
Fri Jun 21, 2019 2:26 pm
Forum: Data Grid Helper
Topic: Data Grid Scroll Bar Position
Replies: 1
Views: 629

Re: Data Grid Scroll Bar Position

... I have now worked out why this was happening: Firstly you need to hide the scrollbar of the datagrid group, then the size of the scrollbar created for that group can have its width adjusted if the environment is not mobile then set the vscrollbar of group "datagrid_qualificationmodules" to false...
by hrcap
Fri Jun 21, 2019 1:44 pm
Forum: Data Grid Helper
Topic: Data Grid Scroll Bar Position
Replies: 1
Views: 629

Data Grid Scroll Bar Position

Hi All I hope that everyone has had a good week. I have a data grid on my card and currently the scroll bar is sitting 15 points from the right of the card, I would like to move the scroll bar so that it sits on the right of the card but I cannot work out how to do this. Any assistance would be grea...

Go to advanced search