473,657 Members | 2,733 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The command or Action "SendObject " isn't available now

39 New Member
I wrote a short program that uses "SendObject ". It works fine on my computer, it works fine on my clients computer, but when I copy/paste it up to the server to use it there also, Access issues the following message: The expression on click......The command or Action "SendObject " isn't available now. If you click on the See Details button you get:

Visual Basic for Applications (VBA) encountered a problem while attempting to access a property or method. The problem may be one of the following:
A reference is missing.
For help restoring missing references, see the Microsoft Knowledge Base article 283806.
An Expression is misspelled.
Check all expressions used in event properties for correct spelling.
A user-defined function is declared as a sub or as a private function in a module.
Expressions can resolve a user-defined function only if the function is declared as one of the following:
A public function in a module
A public or private function in a code module of the current form or report
Security in Access is set to Medium or High and the Microsoft Jet 4.0 SP8 update is not installed.
A more recent verion of Jet 4.0 must be installed for Access to function properly when security is set to Medium or High. To obtain the latest version of Microsoft Jet, go to Windows Update.

All computers are using Access 2003, and XP except the server which is using Server 2003. Security is set to LOW just like all the other computers. All the other help points should not be it, right? Thanks in advance, Ken
Apr 12 '08 #1
5 12343
Stewart Ross
2,545 Recognized Expert Moderator Specialist
Hi Ken. This is probably a references issue - which relates to the object libraries that are loaded. On the problem machine either a reference is missing, or there is a conflict of references (with an older and a newer version of the same library in scope at the same time). Given that it is SendObject that is in conflict I suspect a duplicate reference, but you will need to check the list to find out for sure.

To check the references, open a code module and from the Visual Basic editor choose Tools, References and scroll through all the ones ticked. Check first on the known good machine and note down all those ticked. Check on the machine with the problems, in particular for duplicate references or references missing.

I attach a screenshot showing the list of references for a test database of mine as an exemplar.

The MS knowledge base article mentioned in the Help message is linked here for reference.

-Stewart
Attached Images
File Type: gif Snap1.gif (5.2 KB, 1087 views)
Apr 12 '08 #2
Ken OHanlon
39 New Member
Hi Ken. This is probably a references issue - which relates to the object libraries that are loaded. On the problem machine either a reference is missing, or there is a conflict of references (with an older and a newer version of the same library in scope at the same time). Given that it is SendObject that is in conflict I suspect a duplicate reference, but you will need to check the list to find out for sure.

To check the references, open a code module and from the Visual Basic editor choose Tools, References and scroll through all the ones ticked. Check first on the known good machine and note down all those ticked. Check on the machine with the problems, in particular for duplicate references or references missing.

I attach a screenshot showing the list of references for a test database of mine as an exemplar.

The MS knowledge base article mentioned in the Help message is linked here for reference.

-Stewart
Hi Stewart, thanks for replying. I looked at that before posting this problem. Both computers(Good and Bad) have exactly the same ticks and they are the first 5 ticks of your exemplar. NO doubles, and nothing that says MISSING! The computer(Server 2003) with this problem is new and was just set up for this application. I hope you have another idea!! Thanks- Ken.
Apr 12 '08 #3
Stewart Ross
2,545 Recognized Expert Moderator Specialist
Hi Ken. Hmm, which version of Access are you using? Ah, I notice now you mentioned 2003. 2007 is compatible with Server 2003, but Access 2003 does not say specifically that it is. The System Requirements information from MS simply specifies XP or a later OS. This could be very significant, and I suspect is what is wrong.

Why do you need to run Access 2003 on Server 2003, which is really intended as a web or file server? If it was SQL server (a back-end database designed for server applications) I would understand it, but not Access which, even when shared, is designed to run on an end-user PC (on XP or Vista primarily).

Perhaps other contributors could clarify whether the use of Server 2003 could cause a reference difficulty, which appears the most likely cause of this issue to me...

-Stewart
Apr 12 '08 #4
Ken OHanlon
39 New Member
Hi Ken. Hmm, which version of Access are you using? Ah, I notice now you mentioned 2003. 2007 is compatible with Server 2003, but Access 2003 does not say specifically that it is. The System Requirements information from MS simply specifies XP or a later OS. This could be very significant, and I suspect is what is wrong.

Why do you need to run Access 2003 on Server 2003, which is really intended as a web or file server? If it was SQL server (a back-end database designed for server applications) I would understand it, but not Access which, even when shared, is designed to run on an end-user PC (on XP or Vista primarily).

Perhaps other contributors could clarify whether the use of Server 2003 could cause a reference difficulty, which appears the most likely cause of this issue to me...

-Stewart
Hi Stewart, thanks for replying so fast.

I'll be the first to tell you that what I am about to tell you is crazy, but the client is always right, right? I wrote my client an Access 2003 application(mdb ) that he loves. It runs on a Server 2003 network but doesn’t have a SQL backend. The problem now is that my client’s employees are always on the phone answering questions for his customers that a direct customer web access would solve. I told him that we needed to convert the backend to SQL and then use PHP to create a web user access program. My client did not want to go thu all the de-bugging of converting over. I can understand that! Well his “hardware man” told him to just add another server to this system and let his customers access it from the web with “Remote Desktop Connection”. So that how we get to this Server 2003 w/ Access 2003 computer coming into existence. The rest of the story is once the customer finds what he wants using “Remote Desktop Connection” he then wants to get this data into his own computer. So he E-mails himself the data out of my clients computer and into his own using sendobject. Thats a long story, I hope it was good reading!!! If you have a better way, please clue me in. Thanks- Ken.
Apr 12 '08 #5
Stewart Ross
2,545 Recognized Expert Moderator Specialist
Hi Ken. Oh dear... Your proposed solution was a good one, but if your client won't listen...

I don't use MS Remote Desktop, so it is not familiar to me. I do use the Citrix thin client system which is not the same but has similar features.

What if you were to try splitting your Access application into a front end/back end application where the back-end (just the shared tables and nothing else) is on the Server 2003 system accessed via remote desktop as necessary, and the front-end with all the forms, reports, and code is local, residing on each end-user's computer as is normal with any Access Front End/Back End split. The front end would have no changing tables, as these would reside on the back-end database and would be linked as necessary via the remote desktop folder involved.

Using a front end/back end split there will be no attempt to run the front end on a server OS that is not compatible. I am assuming that the back-end will still work when used that way on a Server 2003 platform, and this may not be true, but it is the only other solution I can think of that might help. It would do away with the need for users to e-mail anything back to themselves as well...

There is a HowTo article on front end/back end splits linked here.



Good luck!

-Stewart
Apr 12 '08 #6

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

Similar topics

2
2312
by: ML | last post by:
This may have been answered lately, but I have not been able to access this group for some time. I am using Access 2000 and Outlook 2000. (Can move to 2002 or 2003 if necessary). Certain reports will always need to be faxed to the same recipient. The latest security patches to Outlook seem to have crippled the use of SendObject etc....
1
1512
by: Dave Holmes | last post by:
please can anybody help with sendobject command it works on some computers and not others. (Same App) regardless of OS I get message The command or Action isn't available now I am trying to send e-mails (text) Thanks in advance
0
1852
by: Klaus Herzberg | last post by:
Hallo, with a access-application i send reports via email/SendObject. After installing office 2007 beta the Sendobject doesn't work. Also after deinstalling office 2007. The error: 2046 "the command or action 'sendobject' isn't available now" Any ideas? thanks. klaus.
0
1078
by: PW | last post by:
Hi, A client of ours is having problems using our email interface. Our application is written in Access 2003 and the client is using Microosft Outlook Express version 6. We use the DoCmd SendObject syntax and they are receiving the error "The command or action 'SendObject' isn't available now." Using Internet Explorer we go to Tools/Options and the default email program is set to Outlook Express.
4
3685
by: PW | last post by:
Hi, A client of ours is having problems using our email interface. Our application is written in Access 2003 and the client is using Microosft Outlook Express version 6. We use the DoCmd SendObject syntax and they are receiving the error "The command or action 'SendObject' isn't available now." Using Internet Explorer we go to Tools/Options and the default email program is set to Outlook Express.
0
8394
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8306
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7327
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4152
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.