subform hidding first record (1 Viewer)

cpampas

Registered User.
Local time
Today, 09:39
Joined
Jul 23, 2012
Messages
218
Hello,
Everytime I update a new record in my continuous subform, the first record becomes invisible. I have to use the mouse rolldown to make it visible again.
I ve been trying most of the format properties of the subform, even creating a new subform, and still I cant solv this. any thoughts ?
 

theDBguy

I’m here to help
Staff member
Local time
Today, 09:39
Joined
Oct 29, 2018
Messages
21,499
Hi. Can you post a screenshot of before and after the update?
 

cpampas

Registered User.
Local time
Today, 09:39
Joined
Jul 23, 2012
Messages
218
Hi. Can you post a screenshot of before and after the update?
I attached 3 images, before update, after update, and finaly after mouse rolling down
thanks
 

Attachments

  • 1_before.jpg
    1_before.jpg
    50 KB · Views: 194
  • 2_after.jpg
    2_after.jpg
    116.7 KB · Views: 193
  • 3_after_mouse_rolldown.jpg
    3_after_mouse_rolldown.jpg
    49.7 KB · Views: 191

theDBguy

I’m here to help
Staff member
Local time
Today, 09:39
Joined
Oct 29, 2018
Messages
21,499
Thanks for posting those images. I think you need to figure out why the blank line is not showing in your second image. Are you using any code behind your form?
 

cpampas

Registered User.
Local time
Today, 09:39
Joined
Jul 23, 2012
Messages
218
Thanks the DBguy, you were right I had code behind my subform that had to be updated, that was the problem, so on the afterUpdate event of the for I dis Me.requery, and on the afterInsert event DoCmd.GoToRecord , , acNewRec, and that did the trick
Thanks for your help
 

theDBguy

I’m here to help
Staff member
Local time
Today, 09:39
Joined
Oct 29, 2018
Messages
21,499
Thanks the DBguy, you were right I had code behind my subform that had to be updated, that was the problem, so on the afterUpdate event of the for I dis Me.requery, and on the afterInsert event DoCmd.GoToRecord , , acNewRec, and that did the trick
Thanks for your help
Glad to hear you got it sorted out. Good luck with your project.
 

Users who are viewing this thread

Top Bottom