Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple Grid Question
Message
 
To
21/06/2001 06:04:28
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00521780
Message ID:
00521800
Views:
16
Jimi,

I load all my grids and save column settings programmicly and so I forget about all these troubles. The quickest solution is to set the Grid's RecordSourceType = 1 and you handle the opening of the network table and the local table in code.

** Your network table
USE f:\temp\MyCursor.dbf IN 0 ALIAS 'MyCursor'

** Your local table
USE c:\temp\MyCursor.dbf IN 0 ALIAS 'MyCursor'

If you use the same alias for both tables and the same field names the grid columns should load...

Set the RecordSource = "" before opening the local table and set it back to the same alias.

That should do it.

Will
Heavy Metal Pedal - click with care
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform