473,403 Members | 2,183 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Compiled .accdr will not run any code.

489 256MB
Don't have any idea what's happening but today I made an .accde from my main program then changed the .accde to a .accdr but when I try and run the .accdr the program starts and brings up my main menu but the only button that will work is the Exit. All others call up menus for additional selections. I've recompiled the program a couple of times from the .accdb (which works just fine) but still nothing The code behind the button is
Expand|Select|Wrap|Line Numbers
  1.     stDocName = "DailyProc"
  2.     DoCmd.OpenForm stDocName
  3.  
nothing difficult about that.
I've also tried running this with the .accde and get the same results.
Because the Exit button works I've looked at it and the difference is the Exit uses a Embedded Macro while the other buttons that don't work are using an Event procedure.
I've also looked at the references just to be sure nothing was messed up there and everything is good.

Any ideas what my have happened or how to fix this.

Thanks
Dec 27 '14 #1
3 1491
Seth Schrock
2,965 Expert 2GB
Access runtime can open .accde files, so there would be no reason to change a .accde file to a .accdr file. Infact, this would negate the compiling of the file into a .accde. I would keep it as a .accde file.
Dec 27 '14 #2
CD Tom
489 256MB
that's a good point but even as a .accde the program still will not run any event procedures.
Dec 27 '14 #3
CD Tom
489 256MB
Ok, here's what happened, I've been playing around with this for the last couple of days. This morning I moved the DB to another computer tried the compile and it would not run just like before. I went back to the original computer and tried to open the program and got all kinds of errors about file being corrupt and that Access would try and fix it. I let Access do it's thing and got more errors. After some time I copied the DB I had moved back to the original computer and tried it again, guess what it worked. I don't know why or what Access did but it seems to be working ok now.
Dec 28 '14 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

22
by: Ajay | last post by:
hi! is there an authoritative source on the performance of scripting languages such as python vs. something like java, c, c++. its for a report, so it would be awesome if i could quote some...
1
by: Grzegorz Dostatni | last post by:
Hello. First: Apologies to everyone. I hate spaming, but in this case I'm totally out of ideas. In any case, I feel I can trust anyone who programs in Python, thus I am posting this message...
1
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will...
5
by: Ed | last post by:
I want to pay a monthly fee to a hosting company to host my ASP application. I have some propriety designs in my ASP application which I'm reluctant to expose the source code. Unfortunately, with...
6
by: Jeff Johnson [MVP: VB] | last post by:
My testing seems to indicate that it won't, but no documentation I can find explicitly states this. Let's say I throw a customer exception like this: Try m = New MyObject Catch ex As Exception...
20
by: Don Wash | last post by:
Hi Everyone! I'm new to .NET but I'm a experienced VB programmer (since VB 4) and wanting to move to VB.NET from VB 6. But as I read about .NET, I came across that compiled VB.NET code is...
16
by: Blue Apricot | last post by:
X-No-Archive How long will Classic ASP be supported by Microsoft? Should I start learning ASP.NET? Is it hard if you already know ASP? Blue Apricot
1
by: archana | last post by:
Hi all, I am confuse regarding concept of code behind model and single file model.. I have heard that single file model compiles dynamically. suppose i have application in which i am having...
66
by: Jon Skeet [C# MVP] | last post by:
I'm sure the net will be buzzing with this news fairly soon, but just in case anyone hasn't seen it yet: Microsoft are going to make the source code for the .NET framework (parts of it,...
40
by: castironpi | last post by:
I'm curious about some of the details of the internals of the Python interpreter: I understand C from a hardware perspective. x= y+ 1; Move value from place y into a register Add 1 to the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.