Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form referencing question
Message
 
 
To
04/04/2002 21:04:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00641213
Message ID:
00641227
Views:
16
Vim,

You should not use form.text1, because that object name is not going to work in every situation.

The textbox itself could invoke the form with do form popname with this

Your form should do do form popname with this.text1

Although you probably should rename the textbox from text1 to txtCompany so that your code will be clearer.

>thank you! i first tried "do form formname with this.value" but it didn't like that. so i used "do form fornmane with form.text1" and it worked perfectly!
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform