Search found 7 matches

by barend.scholtus
Thu Mar 16, 2017 2:07 pm
Forum: Talking LiveCode
Topic: Understanding and removing custom/system properties
Replies: 4
Views: 4106

Re: Understanding and removing custom/system properties

There's no point in removing it, it will just get recreated. It changes constantly. Most document files keep information like this, if you've ever opened a Word file in a text editor you'll see similar things. The IDE relies on the info, and since none of it is included in a standalone, it does no ...
by barend.scholtus
Tue Mar 14, 2017 7:09 am
Forum: Talking LiveCode
Topic: Understanding and removing custom/system properties
Replies: 4
Views: 4106

Re: Understanding and removing custom/system properties

1) What are those custom properties for? Is there any documentation for each of their purpose? 2) Why is HTML stored in the stack file? Isn't that just garbage since it isn't the same as what it seems to represent? 3) Can we safely remove them all, and how would I do that? Since I don't understand ...
by barend.scholtus
Mon Mar 13, 2017 12:11 pm
Forum: Talking LiveCode
Topic: Understanding and removing custom/system properties
Replies: 4
Views: 4106

Understanding and removing custom/system properties

Just converted a large product to LC8, and came across something new in the property inspector. Since I don't understand Livecode internals too well, I would really appreciate if you could shed a little bit of light on the below. Thanks big time! There are lots of custom properties added to every st...
by barend.scholtus
Thu Dec 10, 2015 7:51 pm
Forum: Databases
Topic: How to insert NULL in a placeholder?
Replies: 1
Views: 3397

Re: How to insert NULL in a placeholder?

I guess I found a pretty good solution myself (sorry, this usually happens *after* asking others for help :mrgreen: )
I just set the placeholder itself to "NULL", using: (assume placeholder 6 is the one that should be NULL)

Code: Select all

if tParams[6] is empty then
  replace ":6" with "NULL" in tSQL
end if
by barend.scholtus
Thu Dec 10, 2015 7:04 pm
Forum: Databases
Topic: How to insert NULL in a placeholder?
Replies: 1
Views: 3397

How to insert NULL in a placeholder?

Hi y'all I use an INSERT SQL statement with revExecuteSQL and I use placeholders to fill in the values. One of the values needs to be (SQL) NULL. Unfortunately, "empty" and "null" are not SQL NULL, so my query inserts either an empty string or a \0. :( How to insert NULL with revExecuteSQL with plac...
by barend.scholtus
Tue Aug 18, 2015 9:37 am
Forum: Talking LiveCode
Topic: Build standalone from another app
Replies: 2
Views: 2324

Re: Build standalone from another app

I am working on a deployment/continuous integration tool and run against a problem building a Standalone. The entire process to Download from RCS / Save as Standalone Application / Encrypt / Add resources / Deploy needs to be automated. I can actually get it done using BAT files (!) except the Save...
by barend.scholtus
Tue Aug 18, 2015 8:04 am
Forum: Talking LiveCode
Topic: Build standalone from another app
Replies: 2
Views: 2324

Build standalone from another app

I am working on a deployment/continuous integration tool and run against a problem building a Standalone. The entire process to Download from RCS / Save as Standalone Application / Encrypt / Add resources / Deploy needs to be automated. I can actually get it done using BAT files (!) except the Save ...