Here is a simplified situation:
Form has a pageframe with 2 pages. Page 1 has detailed information about a company. Page 2 has a grid of company orders. I want to create a view of company orders only when/if user clicks on the Page 2 tab. But the grid on the Page 2 is bound to this "non-existent" view and obviously form gets error on initial display.
If the grid had a property .BindControl (like form does) it would be nice, then I could set this property to .T. only when user clicks on Page 2 tab and the code retrieves a view.
How can I make the grid not to be bound until a view is created?
TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham