>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