Popup Form in larger font

BennyLinton

Registered User.
Local time
Today, 06:28
Joined
Feb 21, 2014
Messages
263
I need to have the ability to have the user click on a notes field/textbox and have that launch another form that has the information in a quite larger font and it be sync'd to the Notes Textbox I have so they can see it better and have their edits immediately seen on the main screen... is this possible?
 
Of course. For example, you could create a smaller form bound to the same table as your form now and only include the Notes field on it. Make the font size as big as you'd like and when you're ready to open it, you could try something like:
Code:
DoCmd.OpenForm "FormName", , , "ID=" & Me.ID
You'll probably need more code than that, but give it a shot for now.
 
That works so far.. .I just need to write some code to refresh the main form... thanks
 
have their edits immediately seen on the main screen...

Adding to what DBGuy said. You probably want to open the pop up as Acdialog. This will stop code execution in the calling form. When the pop up closes it will return code execution to the calling form. Then you will need to requery to see your changes

Something like
Code:
dim tempID as long
tempID = me.ID
DoCmd.OpenForm "FormName", , , "ID=" & Me.ID,,ACDIALOG
'code stopped until called form closes
me.requery 'refresh the changes
me.recordset.findfirst "ID = " & TempID
 
FYI. I would likely do this customized approach; however, Access does have a zoombox built in. You could call this from any textbox on a double click event for example.
Code:
Public Function openZoomBox()
  DoCmd.RunCommand acCmdZoomBox
End Function
 

Users who are viewing this thread

Back
Top Bottom