Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid RecordSource
Message
From
14/01/2008 11:46:27
 
 
To
14/01/2008 10:57:24
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01281589
Message ID:
01281616
Views:
20
>MyGrid.RecordSourceType = Alias.
>
>MyGrid.RecordSource:
>
>
>AppointmentTypeSets.Colors,FromDate,ToDate,Day,StartTime,EndTime
>
>
>The grid is not populating, though the Alias has records.
>
>If I just put this:
>
>
>AppointmentTypeSets
>
>
>Then the grid populates, but not in the field order that I want.
>
>I now remember why I started to not like grids many years ago. They are a pain to work with.
________

This should work
Form.load

use AppointmentTypeSets in 0 && order ...
select AppointmentTypeSets 
set fields to Colors,FromDate,ToDate,Day,StartTime,EndTime


&& grid.RecordSourceType = Alias
&& grid.RecordSource='AppointmentTypeSets'
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform