Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class based forms and Default DS
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01186390
Message ID:
01186406
Views:
24
>I knew there is something more :-))))))))
>Grids doesn't like when you switch data sessions. But I think SET DATASESSION is much faster than CURSORTOXML/XMLTOCURSOR. You just must redefine your grid, if you pass DATASESSIONID as parameter and not use _screen.ActtiveForm.

Right, Borislav, I used the Load idea and the cursor is now accessible. But now my FormatAndSetCaption method of the grid is giving me "Object name is invalid" error on NewObject command... :(

I actually was lazy again (as always) and thought I would try to format grid initially in run-time, then switch to command window and grab all properties and then use some sort of a builder. But I think designing it in design time in this case would be easier and less time wasting.

Thanks a lot for your help.

On the second thought <g> let me try something like Re: Grid - replacing text boxes with my text boxes... Thread #626348 Message #626508 first.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform