Len Boorman
Back in gainfull employme
- Local time
- Today, 12:16
- Joined
- Mar 23, 2000
- Messages
- 1,930
Basically I have a Form with Sub form
I add soem data to sub form and then need to refresh the Main Form which will use sub form data in calculation.
That's basically okay using Me.Requery. All teh calcs work no problem
Problem is that this returns me to first record in the query results. Yes as expected result
Now I want to stay on the current record so I think I need something like
Detect record number as shown in navigation at bottom of form and hold as variable
Docmd.Requery
Docmd.GoToRecord where record number = navigation number.
Have seached but not found what I am looking for.
Would appreciate guidance on picking up teh record number as shown in navigation.
Thanks
len
I add soem data to sub form and then need to refresh the Main Form which will use sub form data in calculation.
That's basically okay using Me.Requery. All teh calcs work no problem
Problem is that this returns me to first record in the query results. Yes as expected result
Now I want to stay on the current record so I think I need something like
Detect record number as shown in navigation at bottom of form and hold as variable
Docmd.Requery
Docmd.GoToRecord where record number = navigation number.
Have seached but not found what I am looking for.
Would appreciate guidance on picking up teh record number as shown in navigation.
Thanks
len