Sign Up |  Live StatsLive Stats    Articles 37,470| Comments 178,663| Members 19,495, Newest singhajay| Online 400
Home Contact
 (Forgotten?): 
    10 years of Excellence
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

Access 2003 switchboard

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 0 USD (0%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Office 2003,Access 2003 and PMC 2000 ORRIRO Information Technology 1 28-Jul-2006 08:36 AM
Launch switchboard without Access screen behind it H2OBOWL Information Technology 11 28-Jul-2006 08:35 AM
How do I access my db table, it's not behind the switchboard? VictorE Information Technology 2 28-Jul-2006 08:28 AM
switchboard in Access 2007 beta jasonshohet@gmail.com Information Technology 6 28-Jul-2006 08:12 AM
access switchboard formats Rikki Williams Information Technology 1 11-Nov-2005 20:08 PM


Tags
2003, access, switchboard
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:12 AM
philster's Avatar philster
Guest
 
Posts: n/a
   
   
Access 2003 switchboard

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I have an access 2k3 app that I distribute in runtime. Whne I install it on
a machine with windows 2000 Pro (SP3) when I click on any switchboard item, I
get the following message:

"The expression OnClick you entered as the event property setting produced
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10356-access-2003-switchboard.html
the following error: the expression you entered has a function name that
microsoft access can't find" The onClick function is "=HandleButtonClick(1)"
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10356

Any ides on what the problem is?

TIA

Phil

*







Do you agree or disagree with the writer above? Why not share your immediate thoughts with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:12 AM
Allen Browne's Avatar Allen Browne
Guest
 
Posts: n/a
   
   
Re: Access 2003 switchboard

As you probably know, HandleButtonClick() is part of the code generated by
the switchboard wizard. The fact that it fails suggests that there is a
problem with the database. That could be a Name AutoCorrect fault (failure
to recognise names), or it could be a compilation problem that a Decompile
would fix (since the A2003 binary is different from the A2000 binary.)

Suggested sequence:
1. Uncheck the boxes under:
Tools | Options | General | Name AutoCorrect
Explanation of why:
http://allenbrowne.com/bug-03.html

2. Compact the database to get rid of this junk:
Tools | Database Utilities | Compact

3. Close Access. Make a backup copy of the file. Decompile the database by
entering something like this at the command prompt while Access is not
running. It is all one line, and include the quotes:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10356
"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"

4. Open Access, and compact again.

5. Open a code window.
Choose References from the Tools menu.
Uncheck any references you do not need.
For a list of the ones you typically need in your version of Access, see:
http://allenbrowne.com/ser-38.html

6. Still in the code window, choose Compile from the Debug menu.
Fix any errors, and repeat until it compiles okay.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10356
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"philster" wrote in message
news:B4283352-9EDB-4538-BAC5-F4A51DA09129@microsoft.com...
>I have an access 2k3 app that I distribute in runtime. Whne I install it
>on
> a machine with windows 2000 Pro (SP3) when I click on any switchboard
> item, I
> get the following message:
>
> "The expression OnClick you entered as the event property setting produced
> the following error: the expression you entered has a function name that
> microsoft access can't find" The onClick function is
> "=HandleButtonClick(1)"
>
> Any ides on what the problem is?
>
> TIA
>
> Phil



Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:14 AM
philster's Avatar philster
Guest
 
Posts: n/a
   
   
Re: Access 2003 switchboard

Alllen,

Thank you for your detailed resonse. Unfortunately, this did not reslove
my issue. I found MS article 827490 which describes a similar problem if
access 2003 runtime is installed and then removed. This is in reference to
access 2002. This is a test machine that Installed the app on. In order to
install the next version, I had to remove the first installation. Since
then, subsequent installations produce the error. The test machine did not
have a previos version of Access installed - just the 2003 RT.

Thanks,
Phil

"Allen Browne" wrote:

> As you probably know, HandleButtonClick() is part of the code generated by
> the switchboard wizard. The fact that it fails suggests that there is a
> problem with the database. That could be a Name AutoCorrect fault (failure
> to recognise names), or it could be a compilation problem that a Decompile
> would fix (since the A2003 binary is different from the A2000 binary.)
>
> Suggested sequence:
> 1. Uncheck the boxes under:
> Tools | Options | General | Name AutoCorrect
> Explanation of why:
> http://allenbrowne.com/bug-03.html
>
> 2. Compact the database to get rid of this junk:
> Tools | Database Utilities | Compact
>
> 3. Close Access. Make a backup copy of the file. Decompile the database by
> entering something like this at the command prompt while Access is not
> running. It is all one line, and include the quotes:
> "c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
> "c:\MyPath\MyDatabase.mdb"
>
> 4. Open Access, and compact again.
>
> 5. Open a code window.
> Choose References from the Tools menu.
> Uncheck any references you do not need.
> For a list of the ones you typically need in your version of Access, see:
> http://allenbrowne.com/ser-38.html
>
> 6. Still in the code window, choose Compile from the Debug menu.
> Fix any errors, and repeat until it compiles okay.
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "philster" wrote in message
> news:B4283352-9EDB-4538-BAC5-F4A51DA09129@microsoft.com...
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10356
> >I have an access 2k3 app that I distribute in runtime. Whne I install it
> >on
> > a machine with windows 2000 Pro (SP3) when I click on any switchboard
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10356
> > item, I
> > get the following message:
> >
> > "The expression OnClick you entered as the event property setting produced
> > the following error: the expression you entered has a function name that
> > microsoft access can't find" The onClick function is
> > "=HandleButtonClick(1)"
> >
> > Any ides on what the problem is?
> >
> > TIA
> >
> > Phil

>
>
>

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:14 AM
Allen Browne's Avatar Allen Browne
Guest
 
Posts: n/a
   
   
Re: Access 2003 switchboard

Are you certain there are no broken references, or other issues with that
machine?

If not, you could export the form with the undocumented SaveAsText, delete
it, compact, and then import it using LoadFromText. The syntax looks like
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10356
this:
SaveAsText acForm, "Form1", "C:\Form1.txt"
LoadFromText acForm, "Form1", "C:\Form1.txt"
No guarantees.

If that does not solve it either, could it have to do with permissions?
Sandbox mode? Local computer administrator?

Not sure what else to suggest.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"philster" wrote in message
news:42702A68-81DD-4EC4-99DD-665442814C60@microsoft.com...
> Alllen,
>
> Thank you for your detailed resonse. Unfortunately, this did not reslove
> my issue. I found MS article 827490 which describes a similar problem if
> access 2003 runtime is installed and then removed. This is in reference
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10356
> to
> access 2002. This is a test machine that Installed the app on. In order
> to
> install the next version, I had to remove the first installation. Since
> then, subsequent installations produce the error. The test machine did
> not
> have a previos version of Access installed - just the 2003 RT.
>
> Thanks,
> Phil
>
> "Allen Browne" wrote:
>
>> As you probably know, HandleButtonClick() is part of the code generated
>> by
>> the switchboard wizard. The fact that it fails suggests that there is a
>> problem with the database. That could be a Name AutoCorrect fault
>> (failure
>> to recognise names), or it could be a compilation problem that a
>> Decompile
>> would fix (since the A2003 binary is different from the A2000 binary.)
>>
>> Suggested sequence:
>> 1. Uncheck the boxes under:
>> Tools | Options | General | Name AutoCorrect
>> Explanation of why:
>> http://allenbrowne.com/bug-03.html
>>
>> 2. Compact the database to get rid of this junk:
>> Tools | Database Utilities | Compact
>>
>> 3. Close Access. Make a backup copy of the file. Decompile the database
>> by
>> entering something like this at the command prompt while Access is not
>> running. It is all one line, and include the quotes:
>> "c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
>> "c:\MyPath\MyDatabase.mdb"
>>
>> 4. Open Access, and compact again.
>>
>> 5. Open a code window.
>> Choose References from the Tools menu.
>> Uncheck any references you do not need.
>> For a list of the ones you typically need in your version of Access, see:
>> http://allenbrowne.com/ser-38.html
>>
>> 6. Still in the code window, choose Compile from the Debug menu.
>> Fix any errors, and repeat until it compiles okay.
>>
>> "philster" wrote in message
>> news:B4283352-9EDB-4538-BAC5-F4A51DA09129@microsoft.com...
>> >I have an access 2k3 app that I distribute in runtime. Whne I install
>> >it
>> >on
>> > a machine with windows 2000 Pro (SP3) when I click on any switchboard
>> > item, I
>> > get the following message:
>> >
>> > "The expression OnClick you entered as the event property setting
>> > produced
>> > the following error: the expression you entered has a function name
>> > that
>> > microsoft access can't find" The onClick function is
>> > "=HandleButtonClick(1)"



Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:14 AM
philster's Avatar philster
Guest
 
Posts: n/a
   
   
Re: Access 2003 switchboard

  Donate Today!  
Allen,

You guessed it this time!! Thanks!! I had created a registry entry for
sandboxmode = 3 to surpress some dialogue boxes for Win XP . This causes the
error in Win 2K. Good news is that with the registry entry removed I don't
get the dialogues in Win 2K.

Phil

"Allen Browne" wrote:

> Are you certain there are no broken references, or other issues with that
> machine?
>
> If not, you could export the form with the undocumented SaveAsText, delete
> it, compact, and then import it using LoadFromText. The syntax looks like
> this:
> SaveAsText acForm, "Form1", "C:\Form1.txt"
> LoadFromText acForm, "Form1", "C:\Form1.txt"
> No guarantees.
>
> If that does not solve it either, could it have to do with permissions?
> Sandbox mode? Local computer administrator?
>
> Not sure what else to suggest.
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "philster" wrote in message
> news:42702A68-81DD-4EC4-99DD-665442814C60@microsoft.com...
> > Alllen,
> >
> > Thank you for your detailed resonse. Unfortunately, this did not reslove
> > my issue. I found MS article 827490 which describes a similar problem if
> > access 2003 runtime is installed and then removed. This is in reference
> > to
> > access 2002. This is a test machine that Installed the app on. In order
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10356
> > to
> > install the next version, I had to remove the first installation. Since
> > then, subsequent installations produce the error. The test machine did
> > not
> > have a previos version of Access installed - just the 2003 RT.
> >
> > Thanks,
> > Phil
> >
> > "Allen Browne" wrote:
> >
> >> As you probably know, HandleButtonClick() is part of the code generated
> >> by
> >> the switchboard wizard. The fact that it fails suggests that there is a
> >> problem with the database. That could be a Name AutoCorrect fault
> >> (failure
> >> to recognise names), or it could be a compilation problem that a
> >> Decompile
> >> would fix (since the A2003 binary is different from the A2000 binary.)
> >>
> >> Suggested sequence:
> >> 1. Uncheck the boxes under:
> >> Tools | Options | General | Name AutoCorrect
> >> Explanation of why:
> >> http://allenbrowne.com/bug-03.html
> >>
> >> 2. Compact the database to get rid of this junk:
> >> Tools | Database Utilities | Compact
> >>
> >> 3. Close Access. Make a backup copy of the file. Decompile the database
> >> by
> >> entering something like this at the command prompt while Access is not
> >> running. It is all one line, and include the quotes:
> >> "c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
> >> "c:\MyPath\MyDatabase.mdb"
> >>
> >> 4. Open Access, and compact again.
> >>
> >> 5. Open a code window.
> >> Choose References from the Tools menu.
> >> Uncheck any references you do not need.
> >> For a list of the ones you typically need in your version of Access, see:
> >> http://allenbrowne.com/ser-38.html
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10356
> >>
> >> 6. Still in the code window, choose Compile from the Debug menu.
> >> Fix any errors, and repeat until it compiles okay.
> >>
> >> "philster" wrote in message
> >> news:B4283352-9EDB-4538-BAC5-F4A51DA09129@microsoft.com...
> >> >I have an access 2k3 app that I distribute in runtime. Whne I install
> >> >it
> >> >on
> >> > a machine with windows 2000 Pro (SP3) when I click on any switchboard
> >> > item, I
> >> > get the following message:
> >> >
> >> > "The expression OnClick you entered as the event property setting
> >> > produced
> >> > the following error: the expression you entered has a function name
> >> > that
> >> > microsoft access can't find" The onClick function is
> >> > "=HandleButtonClick(1)"

>
>
>

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Nice Punjabi Songs with...
Today 02:40 AM
18 Replies, 499 Views
Would an Atheist Pray in...
Today 01:12 AM
54 Replies, 5,264 Views
Sikh Philosophy Network...
Today 00:56 AM
17 Replies, 789 Views
Thought of the Moment!
Today 00:06 AM
116 Replies, 6,126 Views
English Sri Guru Granth Sahib Ji Translations
Yesterday 23:30 PM
6 Replies, 95 Views
Can Sikhs worship...
Yesterday 23:17 PM
15 Replies, 180 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Yesterday 21:25 PM
256 Replies, 6,071 Views
Difference in Bowing...
By Kamala
Yesterday 15:08 PM
11 Replies, 264 Views
What Really Happened on...
Yesterday 12:46 PM
13 Replies, 231 Views
Free Online Gurbani...
Yesterday 03:56 AM
13 Replies, 4,339 Views
English Sri Guru Granth...
Yesterday 03:51 AM
5 Replies, 173 Views
Edward Snowden: the...
Yesterday 03:34 AM
3 Replies, 187 Views
Rozana Reports (ਪੰਜਾਬੀ...
Yesterday 03:23 AM
407 Replies, 9,445 Views
What Is Difference...
18-Jun-2013 09:18 AM
6 Replies, 183 Views
First There is Water by...
By Ishna
18-Jun-2013 05:03 AM
3 Replies, 193 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 03:29 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 5.25583 seconds with 32 queries