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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datagrid.row error

Status
Not open for further replies.

SQLScholar

Programmer
Aug 21, 2002
2,127
GB
Hey all,

Bit of a confusing issue here.

On our DG we use a property called datagrid.row - this should return what row we are on.

For some reason after row 30 - the row seems to start going odd (the number seems quite random).

Any ideas what could cause this?

Many thanks

Dan

----------------------------------------
There are 2 types of computer, the prototype and the obsolete!!
----------------------------------------
No D, just plank - and its not my fault
 
This is actually my problem (not Dans), the grid is limited to 32 on screen.

When we are on the last row on screen it returns 32, if I press down on the keyboard it returns 32 too...

If I use the vertical scroll bar the last row is less than 32...

What I want/need to do is do allow editing of the last record only.

Cheers
Dave
 
Fixed it... Forget using the datagrid.row it's useless...

Use Recordset.AbsolutePosition

Right I'll go back and change all my fecking code ever...

AAAAAAAAAAAAAHHHHHHHH!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top