473,786 Members | 2,795 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need help with form view and datasheet view

57 New Member
I have a form that content all sales. Right now the default view is single form. the problem is that I can't view the form as a datasheet view when I run the form, even I already specified on the views properties allowed as both. but if I'm on the design view, I can change the view from form to datasheet view, not when the form is load as a startup form. Could anybody please help? Thank you.
May 21 '07 #1
2 7115
missinglinq
3,532 Recognized Expert Specialist
I'm afraid you're not the only one who's confused, May! Your post is not very clear.

If you have Datasheet selected as the Default View in your form's Property Box the form should open in Datasheet view when either clicking on it in the Objects Dialog Box or when having it open the database thru

Tools -- Startup -- Display Page/Form.

If you open the form thru code in another form, you have to specify that you want it to open in Datasheet View by using acFormDS, regardless of how Default View is set for the form.

DoCmd.OpenForm "YourFormNa me", acFormDS, , stLinkCriteria

Post back if you have further problems.

Good Luck!
May 22 '07 #2
ConfusedMay
57 New Member
I'm afraid you're not the only one who's confused, May! Your post is not very clear.

If you have Datasheet selected as the Default View in your form's Property Box the form should open in Datasheet view when either clicking on it in the Objects Dialog Box or when having it open the database thru

Tools -- Startup -- Display Page/Form.

If you open the form thru code in another form, you have to specify that you want it to open in Datasheet View by using acFormDS, regardless of how Default View is set for the form.

DoCmd.OpenForm "YourFormNa me", acFormDS, , stLinkCriteria

Post back if you have further problems.

Good Luck!
Thank you for the reply and sorry for the confusion. What I need is the first time the form is loading, I need it to open as a form view (that's why I used the default view as single form.) Then, I want user to be able to view it as datasheet view by just going to view tool bar and datasheet view ( to do this I used the view allowed property as both) But when the form load, I'm not able to open it as datasheet view. The option on the view tool bar is gray out. Could you please help me? is there a code that say, view form allow and view datasheet allow?
May 22 '07 #3

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

Similar topics

2
3971
by: Phil Matish | last post by:
I would like to know if the following is possible: I have a form and a subform. In the subform, there are records summarized. (For ex, instead of showing all 19 fields, I only show 3 to save space.) I would like the user to be able to select a record in the subform datasheet, and click a button, or double click, to bring up the ENTIRE record. (I would have a separate form created for this).
3
15852
by: Prakash Wadhwani | last post by:
Is there any EASY way to highlight a full row in a continuous form so that as i navigate up & down the table/continuous form using the arrow keys, the entire line (all fields) get highlighted ? This will give the effect of a bar moving up & down. BTW, all fields are locked so this form is View-Only & not editable. Thx & Best Rgds, Prakash.
6
4354
by: ti33m | last post by:
Hi All, I'd like to include a datasheet on my user interface but since I'm starting to run tight on space, I'd like to have a vertically-oriented datasheet (column 1 has labels, column 2 has values), i.e. a transposed datasheet or datasheet in column format. A vertical datasheet will look cleaner, eliminate the need to scroll across (for miles) and lay out bit more efficiently since I have some long labels. It seems like Access only...
5
7280
by: Danny | last post by:
I am using a switchboard to load a form that I would like to display in datasheet view or table view. But it does not go into that mode when using the switchboard wizard to launche the form. is there a way to set this on the form's load property? Danny
1
1525
by: Big Time | last post by:
I have a form that is based on a parameter query that needs to be opened in datasheet view. I have set the default view to datasheet and disallowed all other types of views other than design view. When I open the form directly, after entering the appropriate parameters, the form opens up in datasheet view. However, when I access this form through the Switchboard, it always opens the form in Form view rather than Datasheet view. How...
2
1849
by: sierrachang | last post by:
Why would one not want to sort records in a form using Form Properties > Datasheet View > Sort Ascending? It's the fastest way, isn't it?
2
1413
by: AA Arens | last post by:
When I finished whitch the Design View and want to go back to normal view, the form does not appear. Instead of that the table appears. I only get the form when I cal it on the Switchboard. How to solve it? (I dismissed the button like close/minimise etc. on the form, they are also not viible on the table) Bart Access 2003
1
20242
by: Simon | last post by:
Dear reader, In a form with the property "Default view" as DataSheet I like to hide some fields in the datasheet view. It is possible to manage this with the command Format>>Unhide columns, a form pops up with tick boxes to hide or unhide the columns.
5
4759
by: Newbie | last post by:
I would like to display certain columns from a table on a form. One of my columns that I want to show is a Yes/No field so that my users can pick their players for a fantasy football week. If they could use the table directly, the datasheet view allows them a check box to set yes and no for the player in that row. However, I don't want them to access the table directly. I can't find a contol that will let me use the datasheet view...
0
9650
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
9497
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
10363
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
10164
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...
0
9962
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
8992
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...
1
4067
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
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.