> Access Will Not Save Picture Appropriately .... Form VBA Runtime Error 2450, Acces

emax79

Registered User.
Local time
Yesterday, 19:52
Joined
Jan 22, 2014
Messages
11
> Access Will Not Save Picture Appropriately .... Form VBA Runtime Error 2450, Acces

Hello My name is Eric and I am need of some assistance . I have a access program and recently I began getting this Error out of the blue . I really need to fix this error because it shuts down my entire program . I am not a skilled VBA man so I am looking for help from someone that is .... I go to save a pic like i always do and it will not recognize the "quote Main " Thank you in advanced very much ....

Code:
     Forms![frm_Quote_Main]![HousePicture] = Me.PicSave
     Forms![frm_Quote_Main]![ZoomValue] = Me.ZoomValue
     Forms![frm_Quote_Main]![GoogleZoom] = Me.GoogleZoom



Error i receive



Runtime access error 2450 ............. ? Capture2.PNG

Capture.PNG
 
Re: > Access Will Not Save Picture Appropriately .... Form VBA Runtime Error 2450, Ac

What is the name of the Form?

Is it really frm_Quote_Main or is it something else.

Look at the properties for this form. I cannot find its use anywhere.
 
Re: > Access Will Not Save Picture Appropriately .... Form VBA Runtime Error 2450, Ac

That just the name of the form my friend .... Generic name i specified to the form .... Thank you Rain ... :)
 
Re: > Access Will Not Save Picture Appropriately .... Form VBA Runtime Error 2450, Ac

Heres a example of how someone else fixed this error ..... Here's the bad code

Forms![FrmSplash].Open


Heres what they did to fix it ..


DoCmd.OpenForm "FrmSplash"


How could I rewrite those lines of code i Have into the correct format above
 
Re: > Access Will Not Save Picture Appropriately .... Form VBA Runtime Error 2450, Ac

A little trick.

Access has a lot of built in tools so use them.

Create a button to open your Form. Once done and working check the code out and use the parts of the code that you need in you new situation.

Last thing is to go back and delete the Button and all the code behind it.

You can use this trick to fix many things. Or at least find the correct code.
 

Users who are viewing this thread

Back
Top Bottom