473,406 Members | 2,345 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,406 software developers and data experts.

Hide Datasheet View Using Docmd.Openquery

5
Hi,

1. I am doing a simple timesheet model in Access. When i click on Review button with given dates, this will run a query to find the Username, Start Date, Break Start time, Break End Time and Work Finish Time. The query works perfectly. I have insert a Subform in my main form (assigned to this query) to retreive this query data and display. but I dont want to open the query in a seperate window as I have the subform in my Main Form to display. how can I hide this seperate query window?
2. Also how can I display that query data in the Subform when click on Review button.
3. When I export the main form as a html, I dont see any button etc. Only following image 'securedownload'

I am using MS Access 2003.
Attached Images
File Type: jpg securedownload.jpg (13.5 KB, 450 views)
File Type: jpg securedownload1.jpg (8.2 KB, 476 views)
Jul 5 '10 #1
2 5003
NeoPa
32,556 Expert Mod 16PB
  1. When working with forms built on queries, it is not ever necessary to open the queries separately. Simply by opening the form (or subform etc) the query is run to populate it.
  2. If your form is not showing the data then we have an entirely separate problem. This is all about how you've set your form up. As we have no knowledge of that there is little we can do for you other than a basic set of instructions on form design. I suggest you post this question separately and include some information to illustrate what may be going wrong, or at least something to indicate what you do and don't understand so we know how best to pitch a response. Separate questions should always be in their own threads by the way. Please see the FAQ link for all our rules.
  3. Again. This is a separate question that I cannot help with. This is one of a few reasons we don't allow multiple questions in a single thread. It makes it too complicated to manage if an expert knows the answer to one but not all. It's quite logical really.
Welcome to Bytes!
Jul 6 '10 #2
Ceylon
5
Thanks for the info:
Jul 6 '10 #3

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

Similar topics

1
by: Ralph | last post by:
Hi My users are going to toggle back and forth between DataSheet and Form view. This eliminates the need for a pile of queries <g> Anyway, I would like my form to be viewed at the current size...
2
by: ivan | last post by:
I have a form (CustomerImfo) that has a subform within it (order). Within that subform is another subform (OrderDetail). That subform (OrderDetail) is displayed in Datasheet view. When I am...
3
by: jj | last post by:
I've got a form button that fires off 3 queries but if the first query returns an error, I don't want the other two queries to happen. Example: first query runs an insert from a linked table but...
4
by: Terry | last post by:
I have created a Main Switchboard in Access 2000 and it has a button which opens a Form. I have set the form Properties Default View to Datasheet and this always opens in datasheet view. When I...
1
by: Yuki | last post by:
I am trying to find out if I can have a specific record that has been selected in a list box be opened in datasheet view. I can't seem to find where this can happen or what I need to use to make...
1
by: jsb2n | last post by:
I haven't developed applications in 2 years (have been doing straight SQL Server work) and I am new to developing in Access. I know that using the datasheet view of a form is not usually the...
2
by: swb76 | last post by:
I have a query in MSAccess and it is a select query. As i understand, any query run from Visual Basic would be returned in a recordset. Can i display the results to the user in a datasheet view?...
4
by: dwasbig9 | last post by:
Hi Group, I'm creating a maintenance switchboard and am trying to create forms to update tables and wanted these to appear as datasheets. Although I have the default view set to datasheet and...
2
by: Alan Forsyth | last post by:
That rather long subject says it. In Access97 running on XP - I want to display a Maximized size Form01, then open a Restore size Datasheet View Form02 on top of the first Form. PopUp won't give...
10
by: teddysnips | last post by:
My clients have asked me to maintain a database that was developed in- house. It's pretty good, considering the developer isn't a "programmer". The first thing they want me to do is to split it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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...
0
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,...
0
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...
0
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.