General information
Category:
Coding, syntax & commands
Title:
Activatecell() in a grid
I am trying to use the Activatecell(row, col). What I am trying to accomplish is setting the user in the grid's row and column that they were last in.
The Column part of Activatecell(row, col) works great. However, it looks like the Row part works only for the currently visible rows in the grid.
For example, if I have 100 rows(records) in my grid and only 10 rows display at 1 time, if I issue grid.Activatecell(30, 2). This command fails. The command will only allow row values of 1-10, the number of rows currently displaying.
I would rather not include the ROW portion of the command because I seek() the correct row(record), however, Activatecell(row, col) seems to require the row.
Am I missing something? I really only need to activate the correct Column anyway. Is there a better way?
Thanks,
Jerryt
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only