Re: forcing a number to be interpreted as a field name

2017-05-30 Thread Dr. Hawkins via use-livecode
On Tue, May 30, 2017 at 5:47 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > When you say "forms" do you mean "web forms" or PDF forms? PDF forms. Particularly badly written pdf . . . I actually recreate them (though, at some point, if people start paying me, I'll pro

Re: forcing a number to be interpreted as a field name

2017-05-30 Thread Bob Sneidar via use-livecode
When you say "forms" do you mean "web forms" or PDF forms? It may not matter much. I wrote an interface which allows the user to associate a database column with a PDF form control. Much the same thing could be done which would allow you to call your form fields anything you like. Populating and

Re: forcing a number to be interpreted as a field name

2017-05-30 Thread Dr. Hawkins via use-livecode
On Tue, May 30, 2017 at 5:12 PM, Mark Schonewille via use-livecode < use-livecode@lists.runrev.com> wrote: > You shouldn't use numbers and constants as names for fields. One and 1 are > identical and field "one" as well as field "1" may be interpreted as the > first field rather than the field wit

Re: forcing a number to be interpreted as a field name

2017-05-30 Thread Mark Schonewille via use-livecode
You shouldn't use numbers and constants as names for fields. One and 1 are identical and field "one" as well as field "1" may be interpreted as the first field rather than the field with name "one" or "1". Instead always start control names with a letter or a symbol that isn't a number. For ex

forcing a number to be interpreted as a field name

2017-05-30 Thread Dr. Hawkins via use-livecode
I have, due to the government's wisdom, checkboxes I have to use to display numeric values. I've created my own to make them the right size, and to function as parts of groups. But looping through, with the fields in these things named for the possible values (usually text), I have to refer to th