RE: Setting a Different DataField for each Label2()

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



My own reply.
Sorry, I found the error. Some Elem names at the Database had a blank space
right after the last character. It was invisible, of course, unless I placed
the pointer on it. Works fine now.

"Guillermo" wrote:

> Dim FLDS(6) As String
> Dim Elem As Integer
> [I load FLDS String Elements from DB, no problem]
>
> Private Sub Label1_Change(Index As Integer)
> For Elem = 1 To 6
> Label2(Elem).DataField = FLDS(Elem) [ I get Error 545 here]
> Next Elem
> [But if I set the DataField property MANUALLY, with the SAME String, it
> works fine.
> Why?. Thanks.Guillermo.]
.



Relevant Pages

  • Re: HTML generieren in Java
    ... private static class Elem { ... Elem(String name, Object... ... public String toString() { ... static Attr a{ ...
    (de.comp.lang.java)
  • New jQuery announced!
    ... But it has the same old attr method. ... Don't pass null, 0, '', undefined, etc. for elem either. ... // Try to normalize/fix the name ... That's a string. ...
    (comp.lang.javascript)
  • Idle Chuckles with FORMAT
    ... how do I derive a string of the form "(elem, elem, ..., elem)" where ... Someone thought about doing it with STRING-JOIN and using FORMAT ... to wrap the string in parentheses. ... I have always thought FORMAT was an ugly beast, ...
    (comp.lang.scheme)
  • Re: hash, key, problem...
    ... hash.each do |elem| ... puts elem.join ... You can also of course get the string as: ... Katja ...
    (comp.lang.ruby)
  • Re: JSLint Reports on last 2 Production Versions of jQuery
    ... Problem at line 38 character 48: ... Problem at line 1476 character 28: Expected an assignment or function ... Problem at line 2968 character 30: 'elem' is already defined. ... Problem at line 2989 character 61: 'nodeCheck' used out of scope. ...
    (comp.lang.javascript)