Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Methods in grid
Message
From
13/08/2002 08:49:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/08/2002 08:38:36
Arlei Silva
Chevron Oronite Brasil Ltda.
Capuava, Brazil
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00689063
Message ID:
00689073
Views:
20
>Hi all,
>
>I have a grid that uses a file as record source.
>
>The user have an option to change the file this grid uses as record source. When this is done, all existing formating are discarted and I have to, programatically, format the "new" grid. Ok, this is not a problem.
>
>The problem is: All existing methods are discarted. How I (re)code the methods to the "new" grid?
>
>There is a way to, programatically, set the code for the methods?
>
>Thank you in advance,

Arlei,
Before changing recordsource set it to an empty string. It'd avoid the grid from reconstructing :

myGrid.RecordSource = ""
* Do whatever you want to preapre cursor
myGrid.RecordSource = "cursorname"

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform