473,804 Members | 3,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Display forms, or Combine forms

14 New Member
Hi, I'm somewhat new to MS Access and I'm having trouble with displaying two forms. Firstly my program is going to use a search button to search through several different Tables. The Search Form has a search field and once the 'Search' Button is pressed it is supposed to open multiple forms showing the correct results. I'm able to do this correctly now, but I'm having a problem displaying them. When the search button is pressed I do a simple DoCmd.OpenForm. I open multiple forms using this command, but they all just pop up. This means the last form that is opened covers the rest of the forms, and it is somewhat 'ugly' to look at. If a user is to look at this they'd have to look through all these windows. I was wondering if it was possible to display all these forms at a certain position on a screen and with a certain size dimension. This is one of my options. My other option is to somehow combine all the forms into one form. Since all these forms contain completely different data it was decided to do them seperately in the first place.
Jan 8 '07 #1
13 8024
deville75
14 New Member
I'm still looking into it, and I was thinking if I could somehow link a forum to a table I specified I should be able to do this. Is there a way I can make a form which displays more than one table.
Jan 8 '07 #2
deville75
14 New Member
I'm using MS Access 2000 by the way.
Jan 8 '07 #3
deville75
14 New Member
Ok, well I've finally found out how to display two forms in one: SubForms. Not really that hard I guess. But I still have one problem. When I used to do the DoCmd.OpenForm command in the Where condition I'd put some kind of condition to filter the results. But now there are two subforms in my form.. How do I filter the results in each of the subforms respectively? Basically, how do I call a subform within a form.

Any help is appreciated.

Thank You.
Jan 8 '07 #4
NeoPa
32,579 Recognized Expert Moderator MVP
I'm still looking into it, and I was thinking if I could somehow link a forum to a table I specified I should be able to do this. Is there a way I can make a form which displays more than one table.
Rather than subforms, I would populate the form with a multi-table query.
Putting all the fields in one query gives all the data required which can then be put in the relevant parts of the form - grouped by original table if you like.
Jan 9 '07 #5
deville75
14 New Member
Hmm. I see. Well I tried doing this and what I want to do is display all the values from one of the tables first and then the values from the other table second.The problem is that there is only form header and footer which effects my table. As You can see I'm very new to access and I'm having a lot of trouble displaying two tables in one form one after the other in Tabular mode.
Jan 9 '07 #6
deville75
14 New Member
Hmm. I see. Well I tried doing this and what I want to do is display all the values from one of the tables first and then the values from the other table second.The problem is that there is only form header and footer which effects my table. As You can see I'm very new to access and I'm having a lot of trouble displaying two tables in one form one after the other in Tabular mode.
Is it possible to make more than one Form Header, Detail, and Form Footer?
Jan 9 '07 #7
NeoPa
32,579 Recognized Expert Moderator MVP
What have you managed to do?
Where do you get stuck or what errors do you get?
Jan 9 '07 #8
deville75
14 New Member
Is it possible to make more than one Form Header, Detail, and Form Footer?

Wow I really don't like MS Access. But I continue to try and Since I really don't understand how to work with Queries I've continued to work with tables. I made two forms that are bound to the two tables and one form that contains the two forms as subforms. Now all I need to do is simply Apply a Filter to each of these Subforms. But for some reason MS Access is too stupid to realize I'm applying the filter to the subform and not to the main form. Therefore it is giving me an error saying this Form is not bound to a table and therefore I can't use ApplyFilter. So I tried the SelectObject, which also didn't work because it said the form was not open. But it is OPEN!!! It's open as a subform. Not many people use this forum do they? I feel like I'm talking to myself.
Jan 9 '07 #9
NeoPa
32,579 Recognized Expert Moderator MVP
...Not many people use this forum do they? I feel like I'm talking to myself.
I can't stop you trying to criticize the forums where you are expecting to get help, but it doesn't seem a great policy in the circumstances. Particularly when you consider the time gap between posts - Your post #7 01:51 GMT - My post #8 01:56 GMT (5 mins) - Your post #8 02:38 (42 mins). These are forums where members of the public volunteer their time and I don't want to see their contributions (or perceived lack of them) criticised by you or anyone here.

MODERATOR.
Jan 10 '07 #10

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

Similar topics

0
1983
by: MikeY | last post by:
Hopefully someone can help, I have a listview box where I display my desired files. I single click on the desired file to be renamed and I rename it with a new name. My problem arises when the new name gets displayed through refreshing of my loop and display function. The problem is that when, if I rename the last file entry, everything appears to display fine. If I rename a file above the last entry (bottom entry), two of the new file...
7
6066
by: Stefan Finzel | last post by:
Hi, is there a way to change the display property on Windows Mobile 2003 SE Mobile/Pocket Internet Explorer? See following example. Please note: visibilty property has the same problem. Is there any other way to display/undisplay parts of web pages? TIA
3
1219
by: tom | last post by:
I am using javascript to dynamically generate four forms. Currently, for each of these forms, an email is sent using 'mailto'. I want to combine the output of these four forms into one, single email. Is there someway to concatenate all the values of the form into one email? I've tried playing with onSubmit, onClick, onDonner, onDasher, onPrancer, and Vixen, but still no success. Thanks!
3
2724
by: Nick | last post by:
I am working a new application...well actually a series of applications for my company. They want internal users to be able to go to a site and everything regarding security is transparent, however we will have brokers and customers that also need to connect and will require a username and password. In this case we were going to store their credentials in a SQL database. Internal users will have the ability to access the same resources...
2
5324
by: Henro V | last post by:
Can I integrate 3 existing forms (all based on the same query) integrate in one form by using Tab's? Thanx for thinking, Henro
6
2317
by: Jules | last post by:
Hi: I have an Access 97 Search form set up - a couple of combo boxes, a couple of text fields and a command button. I want the command button to run an SQL script and then open the results form. I can get the button to open the other form but I can't get it to run the module with the subroutine in it. This is my first sorti into programming Access so be kind - I have some SQL and ASP experience but these modules are a problem for me.
18
3354
by: Alpha | last post by:
Hi, I'm working on a Windows applicaton with VS 2003 on windows 2000. I have a listbox that I have binded to a dataset table, "source" which has 3 columns. I would like to display 2 of those columns, "scode" and "sname", as 1 column (if not possible then 2 columns will be fine) in the listbox. Can the listbox display 2 columns information from the dataset and how can I do that? Also, I set the property of the listbox to selectionmode...
9
3537
by: Confused but working on it | last post by:
Just wanted to say thanks for the posts helping me make ths work. Added a few comments and after the readdir used a pattern match to test for ..jpg, and seems to work fine on my test setup. Maybe I should test for gif, tiff, and png... Anyway, here's the code: <?php //Open images directory $dir = opendir("images"); //read files in the dir while (($file = readdir($dir)) !== false) //test to make sure jpg
9
4126
by: tshad | last post by:
I have a Windows App that is doing some work and then writing a "Now Processing..." line to the status line of the window as well as the Textbox on the form. But the problem is that the work is in another class from the main class. So it couldn't access the Status Line or textbox. So what we did was set them up as properties: string IStatusDisplay.Status
0
9706
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
10571
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...
1
10317
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10075
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
9143
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
7615
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5520
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4295
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

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.