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

How to Display forms, or Combine forms

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 7961
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
I'm using MS Access 2000 by the way.
Jan 8 '07 #3
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,556 Expert Mod 16PB
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
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
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,556 Expert Mod 16PB
What have you managed to do?
Where do you get stuck or what errors do you get?
Jan 9 '07 #8
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,556 Expert Mod 16PB
...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
NeoPa
32,556 Expert Mod 16PB
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!!! ...
As far as your problem goes, you seem to be expecting Access to conform to your rules rather than trying to work with the facilities that Access provides. Furthermore, you choose to follow your own route rather than advice given here. I cannot help you if you try to go the route you've chosen - for me that is far more complicated and I can't be much help. Also, why waste my time if you're going to ignore it anyway.
Good luck.
Jan 10 '07 #11
I agreed to Mr. Moderator

EXCUSE ME HERE................

Access is a very good and developer friendly database and application tool.

If you don't know how to use or work with Qeuries, well I believe Access is not the one who's stupid.

=)





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 10 '07 #12
NeoPa
32,556 Expert Mod 16PB
George,
While I appreciate your support, and understand your point exactly, I would like to keep these forums as friendly as possible and avoid any sort of flaming issues.

Regards -Adrian (MODERATOR).
Jan 10 '07 #13
Copy that...

Regards,
George


George,
While I appreciate your support, and understand your point exactly, I would like to keep these forums as friendly as possible and avoid any sort of flaming issues.

Regards -Adrian (MODERATOR).
Jan 10 '07 #14

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

Similar topics

0
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...
7
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...
3
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...
3
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,...
2
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
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....
18
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...
9
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...
9
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.