VBA MsgBox - How to use message boxes in MS Access

  Рет қаралды 5,071

Sean MacKenzie Data Engineering

Sean MacKenzie Data Engineering

Күн бұрын

Пікірлер: 11
@davegoodo3603
@davegoodo3603 8 ай бұрын
Hi Sean, I've continued on to the MsgBox function. That was really good! You have a focussed topic to cover and it was great. It makes me want to use MsgBox. I didn't know you could capture those index numbers with the return of the MsgBox, that was really handy. I'll come back to more tomorrow, thanks Sean.
@seanmackenziedataengineering
@seanmackenziedataengineering 8 ай бұрын
Nice!
@niktsol
@niktsol 2 жыл бұрын
I finally found the solution. Something has changed the setting of non unicode languages to English. I switched it back to my native language and everything is OK. I changed the system locale option to my native language.
@seanmackenziedataengineering
@seanmackenziedataengineering 2 жыл бұрын
Nice!
@niktsol
@niktsol 2 жыл бұрын
​@@seanmackenziedataengineering The only problem in Windows 10 is that this option is 2-3 submenus below the Language settings, but i found it!!
@niktsol
@niktsol 2 жыл бұрын
I have a little problem displaying messages with Msgbox. Suddenly it started showing "gibberish", although i have set up my native language in Windows OS (Windows 10) as well as Access 2019 version. I have tried to switch to many fonts supporting my language into VBE, but the problem exists in MsgBox. Meanwhile, all the records typed in my native language appear correctly in form's control and the messages i type in coding appear correctly as well in VBE. Any suggestions about Msgbox? Thank you in advance.
@seanmackenziedataengineering
@seanmackenziedataengineering 2 жыл бұрын
Thanks for commenting. I'm not sure about the language issue in MsgBox. I don't think I've seen that one before! Let me do a little digging..
@prateeksharma5662
@prateeksharma5662 2 жыл бұрын
I have a mandatory field...If the user doesn't enters a value in it I want to show a message "The field is mandatory"...I have tried validation text but it doesn't works
@seanmackenziedataengineering
@seanmackenziedataengineering 2 жыл бұрын
In the design mode for your table, you can set Required = Yes. This will now allow a new record without the entry being made. You can also check values as the user enters data kzbin.info/www/bejne/gHe8eWqjotSFldU If you have a button that closes/saves the form for the user, you can add code like: If IsNull(Me!MyField) Then MsgBox "The MyField field is mandatory." Exit Sub 'stops form from closing End If DoCmd.Close acForm, Me.Name 'closes form
@prateeksharma5662
@prateeksharma5662 2 жыл бұрын
@@seanmackenziedataengineering Thanks a lot this helped..u r awesome
@prateeksharma5662
@prateeksharma5662 2 жыл бұрын
@@seanmackenziedataengineering one more if you can....Cant we use multiple related table in tab form
How to Use a Do Until Loop in MS Access VBA
10:00
Sean MacKenzie Data Engineering
Рет қаралды 3,8 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
Worst flight ever
00:55
Adam W
Рет қаралды 53 МЛН
How to Make Cascading Combo Boxes in MS Access
16:08
Sean MacKenzie Data Engineering
Рет қаралды 31 М.
How to Open a RecordSet in Access VBA and Loop Through the Records
12:45
Sean MacKenzie Data Engineering
Рет қаралды 26 М.
How to Create and Configure a Custom Pop-Up Form in MS Access
11:41
Sean MacKenzie Data Engineering
Рет қаралды 10 М.
An Introduction to VBA Code in Microsoft Access
9:51
MyExcelOnline.com
Рет қаралды 19 М.
How to create MULTI-FIELD SEARCH FORM in MS Access | Edcelle John Gulfan
16:09
How to Launch and Filter Reports Using a Form in MS Access
24:32
Sean MacKenzie Data Engineering
Рет қаралды 26 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17