I encountered a glitch when writing my code for the modified Height and Width of the Notes Field while using the variable method shown in the lesson.
For some reason as soon as I input the "Form.Section("Detail").Height = " portion of the code on the Lost Focus Event, the Notes section would shrink to 0 H, 0 W. When I back tracked I used message box to show that the form was reading the Notes Field height/width as 0 despite it being visible on the form when I loaded it up.
I was eventually able to fix it by setting that line of code = to "Notes.Height" instead of myH as I had done previously. Probably an easy thing, but for me was odd given I followed the lesson step by step lol.
That is odd. What version of Access? Maybe they changed something.
Luke WorzaskOP
@Reply 4 years ago
I'm running Microsoft 365, Version 2207. Could have changed in the last month or so, but not entirely sure. Like my coworker and I say at work: "We don't have defects, we have workarounds". :)
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Developer 4.