145cd Open Form in Datasheet view from Switchboard
Sign Up |  Live StatsLive Stats    Articles 37,335| Comments 177,298| Members 19,418, Newest Ssimran| Online 510
Home Contact
 (Forgotten?): 
    Sikhism
    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
Sikh Philosophy Network » Sikh Philosophy Network » Current News » Information Technology » Open Form in Datasheet view from Switchboard

Open Form in Datasheet view from Switchboard

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Datasheet View Ryan W Information Technology 3 28-Jul-2006 08:30 AM
Form in Datasheet View - Column Order Simon Harris Information Technology 3 28-Jul-2006 08:27 AM
Setfocus on a datasheet view tsison7 Information Technology 4 28-Jul-2006 08:20 AM
How do I change from datasheet view to form view Lisa Information Technology 3 28-Jul-2006 08:09 AM
open an Employee record (in FORM View) using a drop-down menu of n Walter Mills Information Technology 1 13-Nov-2005 17:32 PM


Tags
open, form, datasheet, view, switchboard
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 08-Nov-2005, 12:53 PM
Mouse's Avatar Mouse
Guest
 
Posts: n/a
   
   
Open Form in Datasheet view from 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 designed a pretty basic database which uses the Switchboard. Some of
the forms I have create I want to only open in Datasheet view (not form
view). I have modified the details in the forms properties which works from
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/6899-open-form-in-datasheet-view-switchboard.html
the Forms view of Access. However when I launch these forms from the
Switchboard it still opens them in Form view. How can I stop this from
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6899
happening?

*







Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-Nov-2005, 12:53 PM
fredg's Avatar fredg
Guest
 
Posts: n/a
   
   
Re: Open Form in Datasheet view from Switchboard

  Donate Today!  
On Mon, 7 Nov 2005 20:38:05 -0800, Mouse wrote:

> I have designed a pretty basic database which uses the Switchboard. Some of
> the forms I have create I want to only open in Datasheet view (not form
> view). I have modified the details in the forms properties which works from
> the Forms view of Access. However when I launch these forms from the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6899
> Switchboard it still opens them in Form view. How can I stop this from
> happening?


If you open a form from an event, regardless of the default view
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6899
settings of the form, you must specify datasheet view:
DoCmd.OpenForm "FormName", acFormDS

This is easy to do if your switchboard is one you created yourself.
Just add the ,acFormDS to the OpenForm code, as above.
However, if your switchboard is one created by the built in Access
Switchboard manager, you'll need to go into the code to modify it.

Open the Switchboard Code window.

Find the
Private Function HandleButtonClick(intBtn As Integer)
code line.
A few lines down you'll find the Constants listed.
Add
Const conCmdOpenFormDS = 9
at the end of the list (I believe there are originally just 8
constants).

Then go down further into the Select Case statements.
Add
Case conCmdOpenFormDS
DoCmd.OpenForm rst!Argument, acFormDS
just before the Case Else statement.

Close the code window.

Open the Switchboard Items table.
Change the Command value for the form you wish to
open from it's current number (either 2 or 3) to 9.

That should do it.
You cannot make or edit this changes using the Switchboard manager.
You must work around it, as above.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
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.

LinkBacks (?)
LinkBack to this Thread: http://www.sikhphilosophy.net/information-technology/6899-open-form-in-datasheet-view-switchboard.html
Posted By For Type Date
Open datasheet view from switchboard - microsoft.public.access | Microsoft Newsgroups This thread Refback 22-Apr-2011 16:57 PM

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
How does Sikhi help you...
Today 11:35 AM
32 Replies, 996 Views
Request for assistance...
Today 09:34 AM
10 Replies, 129 Views
Occultism - Rejection in...
Today 08:44 AM
62 Replies, 2,649 Views
‘Bigoted’ Facebook...
Today 08:32 AM
1 Replies, 53 Views
Australia mulls allowing...
Today 07:30 AM
0 Replies, 43 Views
Woolwich Killing: The...
Today 06:41 AM
3 Replies, 73 Views
Panjabi
By Ishna
Today 04:40 AM
16 Replies, 314 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 03:09 AM
316 Replies, 7,649 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 03:00 AM
179 Replies, 4,549 Views
Transgenderism ... Right...
By Kaylee
Today 00:33 AM
25 Replies, 1,274 Views
Losing My Religion: Why...
Today 00:00 AM
14 Replies, 394 Views
Kirtan
Yesterday 21:24 PM
0 Replies, 42 Views
Keeping Amrit Vela
Yesterday 16:49 PM
12 Replies, 941 Views
Do you believe in...
Yesterday 15:08 PM
196 Replies, 4,118 Views
Black Sikhs?
Yesterday 06:33 AM
20 Replies, 5,919 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 13:09 PM.
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 0.32722 seconds with 32 queries
0