Re: Error when tryijng to use Upper()
- Posted by George Walters <gwalters at sc.rr.com> Oct 15, 2003
- 464 views
you may have your include after it's use. this is a one pass compiler. to force an edit text field to be upper case do this id = create(EditText,"",mainWindow,xt,yt,fl+10,cy+5,ES_UPPER) if you want only numbers use ES_NUMBER george ---- Original Message ----- From: <ronaustin at alltel.net> To: "EUforum" <EUforum at topica.com> Subject: Error when tryijng to use Upper() I included wildcard.e and misc.e in my program and wrote to following to force text to upper case when it was saved. err = db_insert(Upper(getText(Code)),Upper(getText(Desc))) I get an error stating that "Upper is not defined". What am I doing wrong? I would really prefer that the text be entered in upper case as the user types it, but I don't see any way to do that unless I get the letters one at a time, convert them to upper case and then display them back on the screen. It would be nice if a flag could indicate that text should be entered in upper case when using the SleText control. TOPICA - Start your own email discussion group. FREE!