Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing objects
Message
 
To
10/04/2000 15:52:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00357655
Message ID:
00357660
Views:
12
>So I want to reference a page in a pageframe using a variable...
>
>I have:
>name = my table.pagename
>
>thisform.pageframe1.?name?.caption = ''
>
>or something- How do I input the name in the field of my table into an object reference?
>
>Thanks
>Tom Welch

From my code, hope it helps you

    lcCommand = 'ThisForm.C40pgGlobalQuery.PAGE'+ALLTRIM(THISFORM.cPageDodic)+'.SETFOCUS()'
    &lcCommand
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform