Search found 164 matches

by KimD
Tue Apr 23, 2019 6:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge & Storing input validation logic as a custom property
Replies: 18
Views: 396

Re: Merge & Storing input validation logic as a custom property

Thanks to your help your help, I've got both the "Do" and "Merge(Merge())" solutions that you proposed working. But, I also decided to try and create solution that used the Value function. What I came up with, which works, is: The custom property (PassedValidation) of field "Latitude1" contains - (m...
by KimD
Wed Apr 17, 2019 10:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge & Storing input validation logic as a custom property
Replies: 18
Views: 396

Re: Merge & Storing input validation logic as a custom property

Thanks all To answer your questions about "why". I'm building an e-forms app (for my first paying client). Up until a week ago all of my data validation only considered the single field being entered. 1) I stored validation logic in as a custom property of the field. For example - Set the ValRule1 o...
by KimD
Wed Apr 17, 2019 9:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge & Storing input validation logic as a custom property
Replies: 18
Views: 396

Re: Merge & Storing input validation logic as a custom property

Thanks Craig and Richard. Yes - the evaluation of the IF statement, which will test the CONDITION that I store as a custom property, is triggered by the user exiting the field. I'll have another try with this over the next couple of days and get back to you with the results. As you have rightly gues...
by KimD
Wed Apr 17, 2019 2:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge & Storing input validation logic as a custom property
Replies: 18
Views: 396

Re: Merge & Storing input validation logic as a custom property

Hi Craig Thanks for your reply. What I want to do is store field validation logic in the field (and not in script). To this end - I want to (1) store the CONDITION component of an IF statement as a custom property of the field. I want to store the text of the condition (e.g. ">=5"), not the result o...
by KimD
Tue Apr 16, 2019 11:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge & Storing input validation logic as a custom property
Replies: 18
Views: 396

Merge & Storing input validation logic as a custom property

I'm wanting to store the input validation logic for a field, as a custom property of that field. For example - Set the MyTestCondition of field "ABC" to Field "ABC" >=5 then return true else return false (mucking around with quote marks abridged) - If MyTestCondition of field "ABC" then doOption1 el...
by KimD
Wed Mar 20, 2019 11:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Initialization Error - failed to load external?
Replies: 7
Views: 1488

Re: Initialization Error - failed to load external?

Just in case anyone else finds themselves at this post because they made the same rookie mistake as me. 1) I copied my standalone's .exe file; and 2) Pasted it onto my desktop When I ran the .exe file from my desktop, I got the "failed to load external" error message. When I replaced step 2 with "Pa...
by KimD
Wed Feb 20, 2019 10:51 pm
Forum: Android Deployment
Topic: send email with attachment
Replies: 18
Views: 1932

Re: send email with attachment

On Android 5.0.1, using "mobileComposeMail tSubject,,,,tEmailBody, tAttachment": - did NOT work if tAttachment was located in specialFolderPath("documents"). The email, with attachment, was composed. Gmail could clearly "see" the attachment, because it correctly told me what size the attachment was....
by KimD
Wed Feb 20, 2019 3:10 am
Forum: Android Deployment
Topic: File path to Download folder
Replies: 4
Views: 297

Re: File path to Download folder

Hi FYI With a sample size of one (Android 5.01) test device: - I couldn't get specialFolderPath("external documents") to work. This evaluated to "/storage/emulated/0/android/data/myappname/files", which wasn't the Download folder; but - after a fair bit of experimentation I got "/mnt/sdcard/Download...
by KimD
Fri Feb 15, 2019 3:05 am
Forum: Android Deployment
Topic: File path to Download folder
Replies: 4
Views: 297

Re: File path to Download folder

Thanks Jacque & Sparkout

I've ended up having to debug another problem today, but I'll try your suggestions on Monday.

Regards

Kim
by KimD
Thu Feb 14, 2019 5:46 am
Forum: Android Deployment
Topic: File path to Download folder
Replies: 4
Views: 297

File path to Download folder

Hi The scenario that I'm trying to address is, on Android: 1) User A emails a data file to user B 2) Within their email programme, User B selects the option to "download" the data file The data file is now sitting in a "Download" folder of user B's Android device. I know that, in general, Android ri...
by KimD
Sun Feb 10, 2019 12:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Email Attachments on Windows
Replies: 10
Views: 534

Re: Email Attachments on Windows

Hi AxWald True - I'll revise my statement - Other than a "Hello World" VB script which I wrote as a test after reading the above responses to my original post, I've never worked with calling another programme from LC. The thing that put me off MailAlert was that it seemed to me that this solution wo...
by KimD
Fri Feb 08, 2019 4:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Email Attachments on Windows
Replies: 10
Views: 534

Re: Email Attachments on Windows

Thanks all I will follow-up on the Powershell option. I've never worked with calling another programme from LC before. My understanding of what I will need to do is: 1) Use a tool like PS2EXE-GUI to create a PowerShell standalone executable, that accepts arguments (e.g. email attachment file name) 2...
by KimD
Thu Feb 07, 2019 3:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Email Attachments on Windows
Replies: 10
Views: 534

Email Attachments on Windows

Hi I'm hoping to get some advice on which Livecode email solution to use within an app which I'm developing. Requirements: - must work on Windows desktop, Android & IOS mobile; but - if that's what's required - I am happy to use MobileComposeMail for Android & IOS, and something else for Windows des...
by KimD
Wed Jul 18, 2018 3:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SQLite - OK in Development but not in Standalone
Replies: 1
Views: 291

Re: SQLite - OK in Development but not in Standalone

I went for a long walk on the beach and worked it out. To fix my missing SQLite db problem I had to: - Go into Standalone App settings > Copy Files & remove the existing database file; then - Go into Standalone App settings > Copy Files & add the database file back again. This had the effect of chan...
by KimD
Tue Jul 17, 2018 5:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SQLite - OK in Development but not in Standalone
Replies: 1
Views: 291

SQLite - OK in Development but not in Standalone

I've got an app, which I want to run on Windows+Android+IOS, to which I want to pass a pre-populated SQLite db. On PreOpenStack ... If the environment = "development" then Put specialFolderPath("desktop") & "/TSER_Docs" into ggDocumentsFolder Put specialFolderPath("desktop") & "/TSER_Temp" into ggTe...

Go to advanced search