Whatever this problem is, it affects generation of grids if the data source is opened before the form.
if I put a grid on a form and give a view as a controlsource, say View1, then assign data to some columns, then generate, I will get error that "record xxx cannot instantiate becaiuse it cannot find recordouirce='View1'
1. Happens about 60%of the time, no pattern seen.
2. If suspend when prompted to debug, if the view was opened by the calling form, it is clearly there.
3. public or prvate datasession no different
4. not matter if view opened in xxsets, in calling form, or in child form. (this is a child form)
However it seems that if I make a private data session and put everything in there, it will generate.
Shouldn't it generate OK and run OK from a table or view opened by the calling form in a public data session?