Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating a grid
Message
 
 
To
24/06/2006 22:54:45
Randy Wessels
Screentek Business Solutions, Llc.
Phoenix, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01131464
Message ID:
01131474
Views:
11
Randy,

Did you try to call Grid.Refresh()?

>I have a grid bound to columns in a view. The view is sorted by a line item number - a column on the table and view. There is a delete and an add button to manage the items in this grid. I would like to specify where on the grid the item that is being added by using a line item number. For example, if I have a line with a number of 1 and a line with a number of 3 on the grid, if I add one with a number of 2, I would like it to insert between lines 1 and 3. Right now, it just puts it on the end when I perform the insert. After the records are saved and the form/grid is reopened, the records are sorted fine. What am I missing?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform