Subform records shake if the number of records is large (1 Viewer)

Matin_Murad

Member
Local time
Today, 13:55
Joined
Jul 1, 2020
Messages
39
Enter the highest numbers into the lower rectangle, then enter. When you reach 9 numbers, the subform will vibrate....
 

Attachments

I can't be doing it right? :(
1750435384543.png
 
Interesting that @docman can test this.
The issue most definitely deals with non-latin characters IMO.
Most people on english or latin based languages will get the error shown by @Gasman. I do too.
Here is the discussion why and a way to potentially fix it which is not quick.
 
I do not know if there is some setting latin based dbs can apply to avoid this error. I thought there was some settings for Unicode standard and ANSI but I do not see anything. The only thing I see is maybe some language settings.
@The_Doc_Man do you have any languages loaded.
display.PNG


But if someone want to fix it then follow @sonic8 advice. At least it worked for me.

Save the form as a text file and it will be obvious.

caption.PNG


So where you see something like Caption with a non-latin property, put a latin alphabet text.
Then Loadfromtext once you fixed all non-latin Names or property values.

Actually I do not think it is the properties that you need to worry about, but definitely it is the Names of objects
The below is definitely a problem

display.PNG

So do a text find on "Name =" and validate all of the object names

For those developing in non-latin languages
ALWAYS USE LATIN ALPHABET FOR ANY OBJECT NAMES if you want others to look at it.
 
@The_Doc_Man do you have any languages loaded.

Not that I recall, but the kit I'm using is Office 2021 LTSC originally from Germany and bought through a Canadian reseller. I'm pretty sure I did NOT choose an alternate language, because Office doesn't support Cajun French. All I think I have is English.

Just for clarity, it gives me the usual warnings about code being disabled. I tried it both ways, launching Access separately for "with" and "without" code enabled. No difference.

EDIT: Went back and checked: File >> Options >> Language... same as MajP's display. English for both option boxes.
 
I do have several other languages installed including Greek.
As an experiment, I replaced all Arabic object names and captions and changed the Office language to Greek
I still get the error message

1750460422564.png


Perhaps @The_Doc_Man was entering data directly into the subform which works without error
 
After reading what others said, I was able to reproduce the displayed error, but nothing "vibrated" when I hit the enter key. Colin, you are correct. I guess I didn't understand the instructions.

When I looked at the properties of the subform, I noted that it pointed to something for which there is neither a table entry nor a query entry nor a macro entry. The Latin-alphabet name was fary2, and I only saw a fary1.
 
As an experiment, I replaced all Arabic object names and captions and changed the Office language to Greek
I tried the same workarounds, and cannot "fix" this database. However, In the past I have been pretty successful in just changing the Object names to ensure they use Latin characters and getting it to work. This one I cannot get to work. I get this error pretty consistently when OPs have non Latin dbs.
 
It was explained in the video that when entering data there is vibration in the records... Is there a solution to stop the vibration of the records when entering data... And thanks to everyone
 

Attachments

I am not sure we can help much since most of us cannot run the code and replicate the issue because of the language incompatibility.
Because the actual code is very simple, my guess it has nothing to do with the code. I am guessing it has to do with the extensive use of calculated fields. Most people do not use them and they can be problematic. I am guessing when you move to a new record it is triggering a recalc of all of those fields.
1. I would get rid of all the calculated fields.
2. Get rid of all lookup tables
3. Get rid of all names and properties that use non latin characters. They can be used in captions or visible properties.
 
The video shows the form flickering as it updates. This is a common issue
Try using Application. Echo False before updating then set True afterwards. Ot use Me.Painting = False followed by Me.Painting = True
 
MajP, when you say "get rid of all lookup tables" did you really mean "get rid of all lookup fields"? Because surely the tables should remain?
 
MajP, when you say "get rid of all lookup tables" did you really mean "get rid of all lookup fields"? Because surely the tables should remain?
yes should have said fields.
 

Users who are viewing this thread

Back
Top Bottom