Textbox not uptodate

stoicy

Registered User.
Local time
Yesterday, 23:31
Joined
Feb 16, 2019
Messages
40
Hello everybody

I have below code in subform after update:
Code:
Me. Parent! HeaderTotal=Me.Text22

I realized it update the records in subform except the last record!

How to make it refrished and uptodate after each record addition!

Thank you
 
Last edited:
You'll have to force a save of the record. Otherwise, while the record is still in edit mode, it might not reflect the changes yet.
 
You'll have to force a save of the record. Otherwise, while the record is still in edit mode, it might not reflect the changes yet.
How to force it?

Sent from my SM-N900V using Tapatalk
 
I tend to use something like:
Code:
If Me.Dirty Then Me.Dirty=False
Other methods are also available, like macro actions.
 
I tend to use something like:
Code:
If Me.Dirty Then Me.Dirty=False
Other methods are also available, like macro actions.
Nothing changed 3.GIF

Sent from my SM-N900V using Tapatalk
 
Okay. Instead of that, try Me.Recalc.
 
You have to force the save, as said, but you have to do it before the assignment:

Code:
If Me.Dirty Then Me.Dirty = False
Me.Parent!HeaderTotal=Me.Text22
Linq ;0)>
 
You have to force the save, as said, but you have to do it before the assignment:



Code:
If Me.Dirty Then Me.Dirty = False

Me.Parent!HeaderTotal=Me.Text22

Linq ;0)>
Nothing changed [emoji53]


Sent from my SM-N900V using Tapatalk
 
It might be time for you to consider posting a sample db, so we can get to the bottom of the problem sooner. Just a thought...
OK my friend I will try by tomorrow
Appreciated your help

Sent from my SM-N900V using Tapatalk
 
Anybody can help.. Please

Sent from my SM-N900V using Tapatalk
 
No, I was not suggesting that would fix the problem, that involves code, but it will prevent further errors down the road.

Also you can now upload the DB. Most people are not prepared to download from external sites, and it is you that needs the help.?
 
No, I was not suggesting that would fix the problem, that involves code, but it will prevent further errors down the road.

Also you can now upload the DB. Most people are not prepared to download from external sites, and it is you that needs the help.?
Thank you Gasman

I try from Yesterday to upload it but all the time rejected while it is rar format
So the only link is that I put in Google drive

Sent from my SM-N900V using Tapatalk
 

Users who are viewing this thread

Back
Top Bottom