Asking only for my personal education here. Would Grid.DoScroll be useful here? Never used it myself. Saw it mentioned in some similar grid threads here.
Rich.
>Steve,
>Are you using the grid ONLY as a display mechanism? Not to move between records? If so, then you may wish to do a grid refresh() when you change records. This should put the displayed record back on the visible portion of the grid. This assumes that the grid is using the same record source as your editing textboxes, not a view or cursor.
>
>Barbara
>
>>I have a grid whose controlsource is a table. The grid is an adjunct which
>displays multiple records while the user can VCR,add,edit,delete a single record from the table in textboxes on the form. I've used dynamicbackcolor to create a marker which designates the current record by comparing id#.
>>
>>All goes well until I have enuf records to overfill the grid, then the 'current' record and its mark just marches downward out of the displayed portion of the grid as the user VCRs thru the records. You can scoll manually but how do I keep the displayed portion of the grid scrolled auto-magically so that the 'current' record is always displayed?
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing