continuous form

P

PeterM

I have a continuous form. On that form is a item which is a date. I have an
onClick event which works just great. It knows which row I clicked. When I
click on row 9, it displays the date for row 9. However, I want to create an
onMove event for that item. When I place the cursor over a row, say row 4,
it displays the date in row 1. When I place the cursor over row 6, it again
displays the date in row 1. Regardless of the row I place the cursor over,
it always displays row 1.

What a I doing wrong? This is driving me crazy....any help would be greatly
appreciated!
 
R

Rick Brandt

PeterM said:
I have a continuous form. On that form is a item which is a date. I have an
onClick event which works just great. It knows which row I clicked. When I
click on row 9, it displays the date for row 9. However, I want to create an
onMove event for that item. When I place the cursor over a row, say row 4,
it displays the date in row 1. When I place the cursor over row 6, it again
displays the date in row 1. Regardless of the row I place the cursor over,
it always displays row 1.

What a I doing wrong? This is driving me crazy....any help would be greatly
appreciated!

There is one row that has focus regardless of where your mouse is positioned and
that is the value your code will see. When you were clicking you were actually
changing which row was the currently selected row, but just hovering your mouse
over a row does not do that.
 
P

PeterM

I do appreciate your help!

....however

when I used the solution here's what is displayed

when I place the cursor over the first row the second row data is displayed
when I place the cursor over the second row the first row data is displayed
when I place the cursor over the third row the second row data is displayed
when I place the cursor over the fourth row the third row data is displayed

I had to convert the app in the .zip file to the 2002 format and the form
using the new class is a subform....would either of these things cause the
problems?
 
Top