Access 2000 with VBA code doesn't work in Access 2013
I have a database that was created in Access 2000 with lots of VBA code to pull data from SQL for reports. When I try to run a report in 2013, I get 'file not found". When I go into debug, it appears the forms for the reports are not being found.
How can I fix this?
Good Morning MariS2,
Did you verify the change in the connection type?
Did you check all your references which are changed for the new version of Access?
Just takes a click to give thanks for a helpful post or answer.
Please vote “Helpful” or Mark as “Answer” as appropriate.
Chris Ward
Microsoft Community Contributor 2012
Similar Messages
-
LAN with TCP/IP doesn't work
Hello,
I have a problem with my laptop IdeaPad S10e 4187-5PG: LAN with TCP/IP doesn't work, after I have updated all the drivers to the latest ones form the Lenovo site (except BIOS update). I tried to check if LAN worksby sending a ping to the IP address and that is OK, but when Isend a ping to the default gateway it failes. A ping to the DNS server also fails.Could you please help me because I tried everythinh and I can't getthe LAN to work.
Thank you very muchPerhaps you could describe you network in a little more detail.
Is this a Workgroup home network or are you connected to a Domain server?
If this is a workgroup are you connecting to the internet via a cable or DSL router?
Do other computers on your network connect OK?
Has your S10e ever worked properly on the network?
Are you connecting via a wireless access point or LAN cable?
What do you Ping on and from where?
Can you Ping OK on another networked computer?
Open up a DOS Prompt (aka command prompt, DOS Box). and type IPCONFIG /ALL <enter>. Do you get a compatible IP address and subnet mask? You should also get the gateway IP address. -
How to use documentbeforesaved method? And why my code doesn't work in template files?
Can someone help me with these two codes?
----Beginning of code 1-------------
Private WithEvents App As Word.Application
Private Sub Document_Open()
Set App = Word.Application
End Sub
Private Sub App_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI As Boolean, Cancel As Boolean)
MsgBox("BeforeSave")
End Sub
--------------End of the code----------------
Beginning of code 2--------------- Code 2 is from https://msdn.microsoft.com/en-us/library/office/ff838299(v=office.15).aspx
Public WithEvents appWord as Word.Application
Private Sub appWord_DocumentBeforeSave _
(ByVal Doc As Document, _
SaveAsUI As Boolean, _
Cancel As Boolean)
Dim intResponse As Integer
Private Sub App_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI As Boolean, Cancel As Boolean)
MsgBox("BeforeSave")
End Sub
In the first code, they have:
Private Sub Document_Open()
Set App = Word.Application
End Sub
I test these two codes in "This document" object, and I find out the first code works but the second code are not!
Why second code doesn't work?
Extra question: I am using microsoft 2013. I insert this code into a macro-enabled template. But when I am about to save my file I am expecting these code works. However, they didn't work!
Thank you for solving these problem for me!Hello,
Please note that the code snippet 2 in your post is different from the code snippet in the MSDN document. Also please read the comments of the MSDN code sample:
This example prompts the user for a yes or no response before saving any document.
This code must be placed in a class module, and an instance of the class must be correctly initialized to see this example work; see
Using Events with the Application Object for directions on how to accomplish this.
Public WithEvents appWord as Word.Application
Private Sub appWord_DocumentBeforeSave _
(ByVal Doc As Document, _
SaveAsUI As Boolean, _
Cancel As Boolean)
Dim intResponse As Integer
intResponse = MsgBox("Do you really want to " _
& "save the document?", _
vbYesNo)
If intResponse = vbNo Then Cancel = True
End Sub
So the problem in your code snippet 2 is that you didn't put it into a class module and initialize the class module. If you just put it into ThisDocument, you have to initialize the word application object.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
ISF/javascript code doesn't work for non-English RequestCenter proile
ISF/javascript code doesn't work for non-English RequestCenter proile
Hello,
I am not sure if i posted the same question before also. We have some customers who have set thier language profile in newScale requestcenter to French. However, all the javascript customizations configured on the service forms do not function for 'French' as a Langauge preference. Has anyone encountered the similar issue before and can anyone please suggest a solution for it?
Thanks,
Mihirwe had a similar issue a while back where the Approval button was not working in Spanish, needed a fix from nS for it
The way to fix this would be to locate the language XML file, override the French caption with Submit and on onLoad write a global JS that would write the button label again (not so sure about this)
But really its an major defect and they should be able to fix it. -
Code Doesn't work although it works on DEV
hello evey body
some functions and codes doesn't work on application server But it works on developer ??!!
as i have code to export data from oracle to excell . it works from developer but it doesn't from application server
this is my code in the link
http://www.4shared.com/document/7wTQrK1-/Excell_Rep.html
does Application Server didn't contain this packages ?
or what ??Hi dorpfeld,
Please check the KB : http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html
I would strongly recommend that you work directly with our support team for serial number issues.
You can reach our chat support for serial number issues at : http://adobe.ly/1aYjbSC
Regards,
Rave -
the ussd code doesn't work on my iphon since i update to ios 7.0.3 what can i do for this problem?
Maybe
SOLUTION: circle with red square Some Music Won't Play After...: Apple Support Communities -
Why tethering with USB cable doesn't work after IOS6.0 update?
why tethering with USB cable doesn't work after IOS 6.0 update?
Try updating the carrier settings, if that doesn't do it try following along with this Apple doc -> iOS: Troubleshooting Personal Hotspot
-
ITunes 10.4 full screen with Win7-64bit doesn't work correctly.
iTunes 10.4 full screen with Win7-64 doesn't work correctly. I have the Windows taskbar on the left side of my screen. Maximized iTunes is panned to the left.
Same issue here. When the Windows taskbar is position on the top of the screen and then the iTunes windows is maximised, it's position is as if the Windows taskbar is at the bottom of the screen so the top of the iTunes window sits under the taskbar.
For those wanting a workaround, hold shift and right click the iTunes icon in the taskbar/quick launch bar and click restore, at least then you can adjust it to be full screen manually.
System:
Windows 7 Ultimate x64
iTunes 10.4
ATI 5750 video card -
MS Project and print automatically a planning per ressource with VBA code for instance
Hello, i'm in MS project 2010 and i would like to print automatically a planning per ressource (PDF) with VBA code or other quick way.
Somebody can help me with a simple macro VBA and how to install/use it?
regards,
M.Probably oyu need the loop:
Dim Res as Resource
for each Res in ActiveProject.Resources
'Apply resource filter then print
Next Res
Rod Gill
Author of the one and only Project VBA Book
www.project-systems.co.nz -
In day 4, video # Creating "pages" with Flex states doesn't work
i can't open video training http://www.adobe.com/devnet/flex/videotraining in day 4. it's name( Creating "pages" with Flex states ) doesn't work, it report error. supporter can look it and solve problem
Hi,
I'm also pacing the same issue. if click on the video in the Day 4 exercises. i don't know, what is the issue with that particular videos. and also pacing one more issue that design mode is not showing in my flash builder 4. if u have any ans plz help me out. PFA -
Mountain lion redeem code doesn't work!!!
Mountain lion redeem code doesn't work!!!
The codes got sent out pre-maturely on the 23rd to some folks. And now on the go-live those codes have been re-used.
https://discussions.apple.com/message/19014392?ac_cid=tw123456#19014392
In short - wait for a new email from apple. -
Every Programme that it is opened with Adobe Reader doesn't work What Can I do ?
Every Programme that it is opened with Adobe Reader doesn't work What Can I do ?
More information please.
Version of Reader? OS? Can you open reader by double-clicking on its icon? Can you open reader by double-clicking on a pdf file? What programs are trying to open reader? Some programs might be restricting your ability to view pdf files using the Reader plug-in due to security concerns. If this is the case you need to find out how to enable the plug-in in the case of each application. -
I downloaded and paid for Lightroom 5 on my laptop then my laptop's disc went corrupt, now my serial code doesn't work. how can i get it to work again? i don't want to be paying for another copy
Are you able to get to the point where you can enter the serial number? If so, what happens?
-
I bought a CS for Windows and used it on Windows.
Now I bought a Mac and want to use it,
but the key-code doesn´t work.
How can I get a key-code wich works???Neither the keycode nor the Windows version of the software will work on a Mac.
You can only swap platforms for the latest version of Adobe products, which is currently CS6.
Order product | Platform, language swap -
Comcast came to fix my internet. My AIRPORTWIFI now only works with desktop. it doesn't work with my IPhone or IPad. Why? What can I do?
Hello lila54,
It sounds like your Wi-Fi network is working if your desktop works with it, we just need to get the Wi-Fi on your iPhone and iPad connected to it. I found a couple of resources to help with not being able to connect to Wi-Fi on an iOS device.
I recommend following the steps in this tutorial first (the steps should work on the iPhone and iPad):
Join a network
http://www.apple.com/support/iphone/assistant/wifi/
If you are still having trouble connecting to Wi-Fi, follow the steps in this article (you can skip any steps you have already taken):
iOS: Troubleshooting Wi-Fi networks and connections
http://support.apple.com/kb/ts1398
Thank you for posting in the Apple Support Communities.
Best,
Sheila M.
Maybe you are looking for
-
IPod Touch won't sync some of my music
I upgraded to OS4 and my entire library was wiped out, which isn't that big of a deal. I copied my music back on, but have found that no matter how many times I try some of my music will not sync to my IPOD Touch. I am pretty sure that it is music pu
-
How do I make text in web pages bigger?
I'm using Firefox 13.0.1. The text on most sites is too small!
-
Missing Information in Elements 12
In prior versions of Elements, when a file was opened in the organizer, at the bottom of the screen it showed all albums in which the file could be found. Is that feature not available in Elements 12?
-
HT1338 Why do I get so many "time out" connection problems?
I keep getting "time out" connection problems when I am on computer. I am also experiencing a lot of "spinning wheeling" issues. Are they related?
-
Oracle 8i - select between to date ranges, but exculde time ranges
Hi, I'm using Oracle 8i I'm trying to select a set of records that are between a certain date time (say between October 15 at 6pm and October 17 at 6am) and then want to include only those records that fall between 6am and 6pm within the range. I've