Groups > dBase > dBase SQL Servers > Re: setfocus()




Re: setfocus()

Re: setfocus()
Thu, 31 Jan 2008 09:50:26 -080
Andy Ellis wrote:
> having successfully issued .rowset.beginappend() I'm trying to give focus
to 
> the first entryfield with "form.entryfieldname1.setfocus()" but
it says 
> variable not found. What am I doing wrong?

Try copying and pasting the *exact* code out of the form. This will make 
it possible for us to know for certain ...

For example, is "entryfieldname1" the actual name of the Entryfield 
object? Or is it the default "ENTRYFIELD1"?

Ken

-- 
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase/dBASEBooks.htm
Post Reply
setfocus()
Thu, 31 Jan 2008 17:14:48 -000
having successfully issued .rowset.beginappend() I'm trying to give focus to 
the first entryfield with "form.entryfieldname1.setfocus()" but it
says 
variable not found. What am I doing wrong?

Andy 

Post Reply
Re: setfocus()
Thu, 31 Jan 2008 20:43:38 -080
Andy Ellis wrote:
> Many thanks Ken - I'd stared at it for ages but failed to see that I was 
> misspelling the entryfield name. So sorry. All fine now.

Easy to do. I stare at things forever until it smacks me in the face 
sometimes and I feel really stooopid.

Ken

-- 
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase/dBASEBooks.htm
Post Reply
Re: setfocus()
Fri, 1 Feb 2008 00:05:59 -0000
Many thanks Ken - I'd stared at it for ages but failed to see that I was 
misspelling the entryfield name. So sorry. All fine now.

Andy

"Ken Mayer [dBVIPS]" <dbase@_nospam_goldenstag.net> wrote in
message 
news:ACulsRDZIHA.1240@news-server...
> Andy Ellis wrote:
>> having successfully issued .rowset.beginappend() I'm trying to give
focus 
>> to the first entryfield with
"form.entryfieldname1.setfocus()" but it 
>> says variable not found. What am I doing wrong?
>
> Try copying and pasting the *exact* code out of the form. This will make 
> it possible for us to know for certain ...
>
> For example, is "entryfieldname1" the actual name of the
Entryfield 
> object? Or is it the default "ENTRYFIELD1"?
>
> Ken
>
> -- 
> /(Opinions expressed are purely my own, not those of dataBased
> Intelligence, Inc.)/
>
> *Ken Mayer* [dBVIPS]
> /Golden Stag Productions/
> dBASE at goldenstag dot net
> http://www.goldenstag.net/GSP
> http://www.goldenstag.net/dbase/dBASEBooks.htm
> http://www.goldenstag.net/dbase 

Post Reply
about | contact