How to fix the Runtime Code 2158 Microsoft Access Error 2158
Error Information
Error name: Microsoft Access Error 2158Error number: Code 2158
Description: You can use the Print method and the report graphics methods (Circle, Line, PSet, and Scale) only in an event procedure or a macro set to the OnPrint, the OnFormat, or the OnPage event property.@@@1@1@10129@1.
Software: Microsoft Access
Developer: Microsoft
Try this first: Click here to fix Microsoft Access errors and optimize system performance
This repair tool can fix common computer errors like BSODs, system freezes and crashes. It can replace missing operating system files and DLLs, remove malware and fix the damage caused by it, as well as optimize your PC for maximum performance.
DOWNLOAD NOWAbout Runtime Code 2158
Runtime Code 2158 happens when Microsoft Access fails or crashes whilst it's running, hence its name. It doesn't necessarily mean that the code was corrupt in some way, but just that it did not work during its run-time. This kind of error will appear as an annoying notification on your screen unless handled and corrected. Here are symptoms, causes and ways to troubleshoot the problem.
Definitions (Beta)
Here we list some definitions for the words contained in your error, in an attempt to help you understand your problem. This is a work in progress, so sometimes we might define the word incorrectly, so feel free to skip this section!
- Access - DO NOT USE this tag for Microsoft Access, use [ms-access] instead
- Circle - This tag has been deprecated
- Graphics - Graphics are visual presentations
- Methods - A method often called function, routine or procedure is code that performs a task and is associated with a class or an object.
- Procedure - A procedure is a subroutine that does not return a value
- Report - A report contains summarized information from a data source, usually in an end-user-friendly format, such as PDF or Excel, although proprietary reporting tools usually with built-in design tools also exist.
- Scale - The scale tag is mostly used for questions that relate to proportional resizing of images or UI elements.
- Set - A set is a collection in which no element is repeated, which may be able to enumerate its elements according to an ordering criterion an "ordered set" or retain no order an "unordered set".
- Access - Microsoft Access, also known as Microsoft Office Access, is a database management system from Microsoft that commonly combines the relational Microsoft JetACE Database Engine with a graphical user interface and software-development tools
- Property - A property, in some object-oriented programming languages, is a special sort of class member, intermediate between a field or data member and a method
- Microsoft access - Microsoft Access, also known as Microsoft Office Access, is a database management system from Microsoft that commonly combines the relational Microsoft JetACE Database Engine with a graphical user interface and software-development tools
- Print - Printing is a process for reproducing text and images, typically with ink or toner, on paper using a printer.
- Event - An event is a way for a class to provide notifications to listeners when a particular thing happens.
- Macro - A macro is a rule or pattern that specifies how a certain input sequence often a sequence of characters should be mapped to an output sequence also often a sequence of characters according to a defined procedure.
Symptoms of Code 2158 - Microsoft Access Error 2158
Runtime errors happen without warning. The error message can come up the screen anytime Microsoft Access is run. In fact, the error message or some other dialogue box can come up again and again if not addressed early on.
There may be instances of files deletion or new files appearing. Though this symptom is largely due to virus infection, it can be attributed as a symptom for runtime error, as virus infection is one of the causes for runtime error. User may also experience a sudden drop in internet connection speed, yet again, this is not always the case.
(For illustrative purposes only)
Causes of Microsoft Access Error 2158 - Code 2158
During software design, programmers code anticipating the occurrence of errors. However, there are no perfect designs, as errors can be expected even with the best program design. Glitches can happen during runtime if a certain error is not experienced and addressed during design and testing.
Runtime errors are generally caused by incompatible programs running at the same time. It may also occur because of memory problem, a bad graphics driver or virus infection. Whatever the case may be, the problem must be resolved immediately to avoid further problems. Here are ways to remedy the error.
Repair Methods
Runtime errors may be annoying and persistent, but it is not totally hopeless, repairs are available. Here are ways to do it.
If a repair method works for you, please click the upvote button to the left of the answer, this will let other users know which repair method is currently working the best.
Please note: Neither ErrorVault.com nor it's writers claim responsibility for the results of the actions taken from employing any of the repair methods listed on this page - you complete these steps at your own risk.
- Open Task Manager by clicking Ctrl-Alt-Del at the same time. This will let you see the list of programs currently running.
- Go to the Processes tab and stop the programs one by one by highlighting each program and clicking the End Process buttom.
- You will need to observe if the error message will reoccur each time you stop a process.
- Once you get to identify which program is causing the error, you may go ahead with the next troubleshooting step, reinstalling the application.
- For Windows 7, click the Start Button, then click Control panel, then Uninstall a program
- For Windows 8, click the Start Button, then scroll down and click More Settings, then click Control panel > Uninstall a program.
- For Windows 10, just type Control Panel on the search box and click the result, then click Uninstall a program
- Once inside Programs and Features, click the problem program and click Update or Uninstall.
- If you chose to update, then you will just need to follow the prompt to complete the process, however if you chose to Uninstall, you will follow the prompt to uninstall and then re-download or use the application's installation disk to reinstall the program.
- For Windows 7, you may find the list of all installed programs when you click Start and scroll your mouse over the list that appear on the tab. You may see on that list utility for uninstalling the program. You may go ahead and uninstall using utilities available in this tab.
- For Windows 10, you may click Start, then Settings, then choose Apps.
- Scroll down to see the list of Apps and features installed in your computer.
- Click the Program which is causing the runtime error, then you may choose to uninstall or click Advanced options to reset the application.
- Uninstall the package by going to Programs and Features, find and highlight the Microsoft Visual C++ Redistributable Package.
- Click Uninstall on top of the list, and when it is done, reboot your computer.
- Download the latest redistributable package from Microsoft then install it.
- You should consider backing up your files and freeing up space on your hard drive
- You can also clear your cache and reboot your computer
- You can also run Disk Cleanup, open your explorer window and right click your main directory (this is usually C: )
- Click Properties and then click Disk Cleanup
- Reset your browser.
- For Windows 7, you may click Start, go to Control Panel, then click Internet Options on the left side. Then you can click Advanced tab then click the Reset button.
- For Windows 8 and 10, you may click search and type Internet Options, then go to Advanced tab and click Reset.
- Disable script debugging and error notifications.
- On the same Internet Options window, you may go to Advanced tab and look for Disable script debugging
- Put a check mark on the radio button
- At the same time, uncheck the "Display a Notification about every Script Error" item and then click Apply and OK, then reboot your computer.
Other languages:
Wie beheben Fehler 2158 (Microsoft Access-Fehler 2158) - Sie können die Print-Methode und die Berichtsgrafikmethoden (Circle, Line, PSet und Scale) nur in einer Ereignisprozedur oder einem Makro verwenden, das auf die Ereigniseigenschaft OnPrint, OnFormat oder OnPage festgelegt ist.@@@1@1@ 10129@1.
Come fissare Errore 2158 (Errore di Microsoft Access 2158) - È possibile utilizzare il metodo Print e i metodi grafici del report (Circle, Line, PSet e Scale) solo in una routine evento o in una macro impostata sulla proprietà evento OnPrint, OnFormat o OnPage.@@@1@1@ 10129@1.
Hoe maak je Fout 2158 (Microsoft Access-fout 2158) - U kunt de afdrukmethode en de grafische methoden voor rapporten (Cirkel, Lijn, PSet en Schaal) alleen gebruiken in een gebeurtenisprocedure of een macro die is ingesteld op de eigenschap OnPrint, OnFormat of OnPage.@@@1@1@ 10129@1.
Comment réparer Erreur 2158 (Erreur Microsoft Access 2158) - Vous pouvez utiliser la méthode Print et les méthodes graphiques de rapport (Circle, Line, PSet et Scale) uniquement dans une procédure événementielle ou une macro définie sur la propriété d'événement OnPrint, OnFormat ou OnPage.@@@1@1@ 10129@1.
어떻게 고치는 지 오류 2158 (마이크로소프트 액세스 오류 2158) - Print 메서드 및 보고서 그래픽 메서드(Circle, Line, PSet 및 Scale)는 이벤트 프로시저 또는 OnPrint, OnFormat 또는 OnPage 이벤트 속성으로 설정된 매크로에서만 사용할 수 있습니다.@@@1@1@ 10129@1.
Como corrigir o Erro 2158 (Erro 2158 do Microsoft Access) - Você pode usar o método Print e os métodos gráficos de relatório (Circle, Line, PSet e Scale) apenas em um procedimento de evento ou uma macro definida para a propriedade de evento OnPrint, OnFormat ou OnPage. @@@ 1 @ 1 @ 10129 @ 1.
Hur man åtgärdar Fel 2158 (Microsoft Access Error 2158) - Du kan bara använda utskriftsmetoden och rapportgrafikmetoderna (cirkel, linje, PSet och skala) endast i ett händelseförfarande eller en makrouppsättning till OnPrint, OnFormat eller OnPage -händelseegenskapen. @@@ 1@1@ 10129@1.
Как исправить Ошибка 2158 (Ошибка Microsoft Access 2158) - Вы можете использовать метод Print и методы графики отчета (Circle, Line, PSet и Scale) только в процедуре события или макросе, для которого задано свойство OnPrint, OnFormat или OnPage. @@@ 1 @ 1 @ 10129 @ 1.
Jak naprawić Błąd 2158 (Błąd Microsoft Access 2158) - Metody Print i metod grafiki raportu (Okrąg, Linia, PSet i Skala) można używać tylko w procedurze zdarzenia lub makrze z ustawieniem właściwości zdarzenia OnPrint, OnFormat lub OnPage.@@@1@1@ 10129@1.
Cómo arreglar Error 2158 (Error 2158 de Microsoft Access) - Puede utilizar el método Print y los métodos de gráficos de informes (Circle, Line, PSet y Scale) solo en un procedimiento de evento o una macro establecida en la propiedad de evento OnPrint, OnFormat o OnPage. @@@ 1 @ 1 @ 10129 @ 1.
Follow Us:
STEP 1:
Click Here to Download and install the Windows repair tool.STEP 2:
Click on Start Scan and let it analyze your device.STEP 3:
Click on Repair All to fix all of the issues it detected.Compatibility
Requirements
1 Ghz CPU, 512 MB RAM, 40 GB HDD
This download offers unlimited scans of your Windows PC for free. Full system repairs start at $19.95.
Speed Up Tip #80
Turning off Unnecessary Windows Features:
Some of the bundled features that came with Windows are not really being used by most users. To free up some needed extra power to speed up your PC, disabling or uninstalling these features can be the best option to take. In the Control Panel, you can turn off services like Windows Meeting Space, DFS replication service, Media Features, Remote Differential Compression and a whole lot more.
Click Here for another way to speed up your Windows PC
Microsoft & Windows® logos are registered trademarks of Microsoft. Disclaimer: ErrorVault.com is not affiliated with Microsoft, nor does it claim such affiliation. This page may contain definitions from https://stackoverflow.com/tags under the CC-BY-SA license. The information on this page is provided for informational purposes only. © Copyright 2018