Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSOleDBGrid run-time error '381'

Status
Not open for further replies.

rpaull

Programmer
Sep 6, 2001
1
US
I made a program which has several tabs, and on these tabs are Sheridan Grids (SSOleDBGrids). When the user submits the form, I am using this code to loop through them to retrieve any information entered:

For X = 0 To grid.Rows - 1
grid.Row = X
grid.Col = 0
S = grid.ActiveCell.Text
Next X

When I run the program, it works great, as long as I activate every tab at least once. If not, I get a "Run-Time error '381' Invalid property array index" message.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top