473,383 Members | 1,864 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,383 software developers and data experts.

Need help with form view and datasheet view

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 7093
missinglinq
3,532 Expert 2GB
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 "YourFormName", acFormDS, , stLinkCriteria

Post back if you have further problems.

Good Luck!
May 22 '07 #2
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 "YourFormName", 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
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...
3
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 ? ...
6
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...
5
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...
1
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....
2
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
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...
1
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...
5
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.