Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filtered records using grids
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01102016
Message ID:
01102030
Views:
12
Hi Terry thanks for your reply.

Tried go top but still not joy. I open the table in my start script called VWMACTIONS.

Then on my form there is a pageframe and then within that is a grid. In the grid init event I have:
SELECT vwmactions
lcaction = vwmactions.event

SET FILTER TO event = lcaction
GO top

thisform.pageframe1.page1.grid1.Refresh()
thisform.refresh()
The grid is bound to VWMACTIONS! Im starting to think im coming at it in the wrong way. The VWMACTIONS table list actions by event (which is the name). All I want to do is to take the 1st name event in the list and set filter to that and refresh the grid.

To change events I have a browse window which will reset the filter. Its just when I start the form I want to set filter to the 1st event.
Neil Lewis
IT R&D Manager
Velmore Ltd
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform