>Thanks everyone. This instant messaging is great. I have a few more questions.
>
>1) The line of code that was causing trouble was in the Load of the Form when I said "thisform.txtname.setfocus. It said txtname was an unknown member.
>
>2) How do I clear the screen a:) when the form first comes up; b) after a record is written. I have a thisform.refresh but that doesn't seem to do anything.
>
>3) Any suggestions for some reading material to help me get started. I'm a long-time Clipper programmer..
>
>Thanks.
By clear the screen, do you mean like *Set talk off* so commands do not echo to the screen? In forms, many *set* commands scope to the DataSession. So if a form has a private DS, you have to issue all the set commands again. Many of us have a form subclass whose Load event does all these set commands for us. In VFP help see *Set DataSession* for all the set commands taht are affected by the private DS.
Mark McCasland
Midlothian, TX USA