Microsoft Access
--
Questions
--
Followers
Top Experts
AccessFormCutOff.png
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
I looked for the Form_Load event. I do not see it anywhere.
I am not sure how to embed the code in the VB from here either. I am green as can be. If you can get me into the right section or area that the code should be in I think I can put this together. Any thoughts on that?






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Please reply to each Experts suggestions in order.
It is not clear if you tried my suggestion either...
JeffCoachman

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Boag: I tried yours as well. All of your suggestions I tried and that did not do it either.
capricorn1: Is it possible to upload just the form or do I have to upload the whole db. That will be a bit harder. The data in there is unique and I cannot post that. It is unfortunately sensitive.
upload the created db...






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Private Sub Form_Load()
'Created by Helen Feddema 2-Jul-2006
'Last modified 9-Jul-2006
On Error Resume Next
DoCmd.RunCommand acCmdSizeToFitForm
On Error GoTo ErrorHandler
'Load textbox values from db properties
strDocsPath = GetProperty("DocsPath", "")
Me![txtDocsPath].Value = strDocsPath
strTemplatesPath = GetProperty("TemplatesPath", "")
Me![txtTemplatesPath].Value = strTemplatesPath
strFolderPath = GetProperty("FolderPath", "")
Me![txtOutlookFolder].Value = strFolderPath
ErrorHandlerExit:
Exit Sub
ErrorHandler:
MsgBox "Error No: " & Err.Number & "; Description: " & _
Err.Description
Resume ErrorHandlerExit
End Sub

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Microsoft Access
--
Questions
--
Followers
Top Experts
Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.