I have a form that I use to input criteria that I have then being passed into a query. Currently the query saves the results as an excell file. I would also like to have the results show up in the form, I guess as a subform. If this is possible I would love some assitance on this. Thanks to all of you who have helped me so far.
Jan 4 '07
32 18630 NeoPa 32,569
Recognized Expert Moderator MVP
You don't seem to be following what I'm saying here.
1. What are you referring to? Tables or databases?
In your latest post (#20) you refer to a ComboBox. This is the first mention of it that I can find.
How do you expect anyone to answer your questions when they keep changing and you don't respond to requests for clarification but just go on your own sweet way?
It is now unclear what you're wanting to do as well as what you want to do it to.
Please try to clear this up as I don't want to be dealing with this question in days to come.
I want my form to be able to look at different databases. I would like to have the option to select the DB from a dropdown menu, or maybe by checking a box. I am not sure how else to word my request.
My form is providing the criteria for my query which is looking at the DB.
I am as confused as you are apparently. I really need some help on this. Sorry if I am confusing people.
NeoPa 32,569
Recognized Expert Moderator MVP
OK let's take this slowly. Do you understand the difference between a database and a table (You must answer questions when they are posted if you want people to work with you)?
If so then we need to know that. Your question seemed to switch between the two as if you assumed they were indifferentiabl e (the same).
You are, presumably, showing details on a form for a particular type of record (from one of similar tables). On this form you also have a ComboBox from which the operator should select the particular table to be used at the time. I suggest you need to have all the tables available in your front-end database (the one the form is run from). If any are from other (back-end) databases then their tables should be linked into this one so that all are available to this one. How is your ComboBox populated with the table names (You need to answer this question too)?
When the operator has selected an entry from the ComboBox (This will trigger an AfterUpdate event in which you can place some code), you need to set the RecordSource of the form and ReQuery it.
If you would like some help putting the code together for this you will also need to provide the names of the Form and the ComboBox control on the form.
Do you understand the difference between a database and a table (You must answer questions when they are posted if you want people to work with you)?
I am not aware of the difference.
Your question seemed to switch between the two as if you assumed they were indifferentiabl e (the same).
Thank you for delineating this. (defining)
I do not control the DB's. I am trying to search through them to get the info I need.
How is your ComboBox populated with the table names (You need to answer this question too)?
I do not know how to populate the combobox with the names. I am not sure of how to do this.
NeoPa 32,569
Recognized Expert Moderator MVP
I gave a basic description of the difference in Post #19 but here is another.
A database is (generally) a file which contains various types of object within it. One of those object types (usually contains many of this particular type) is a table. A table contains data grouped together by Record (Row) and Field (Column).
For instance you may have a Customer Table which contains an ID field; a Name field and some Address fields. Every customer in this table can have an ID; a Name and some Address data. Another table, inside the same database could be a Supplier table which would contain its own fields and all the records in it could have data in all those fields.
Queries; Forms; Reports; etc are other types of objects that can be stored inside a database with (but not inside) the tables.
Assuming that you need to select TABLES rather than DATABASES in your ComboBox, we probably need to look at the possibility of storing your data in a single table, but with a field added to differentiate between your different types of data.
Before we go on, let me know if any of this makes sense to you.
Ok I am following you. I am working in something called the Falcon Database. I understand now that I am looking at tables within that Database. So I need to be able to dynamicaly change which table the form looks at.
I do not think I can store all of the data in one table, since each table is updated independently of eachother by someone other than myself.
NeoPa 32,569
Recognized Expert Moderator MVP
OK. That's a lot clearer now :)
Do you know which tables are to be included in the list?
If so, please post the full list of them.
If not, please indicate how to determine which tables to select from among all the tables you have available (in your database).
OK. That's a lot clearer now :)
Do you know which tables are to be included in the list?
If so, please post the full list of them.
If not, please indicate how to determine which tables to select from among all the tables you have available (in your database).
Not at the moment, I would guess there would be about 9 or 10. I will know more after todays meeting. I will told which tables to include.
it may be possible to load all of the tables into one. I will let you all know after lunch. Thanks.
NeoPa 32,569
Recognized Expert Moderator MVP
Lunch?
It's nearly time to go home.
It sounds like we have a static list anyway. That's quite straightforward to deal with when you let me know the list (As exact and precisely as possible). Please use [] around the table names.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: heyitsme_ryan |
last post by:
Ei guys I’m Ryan from Philippines, I need your advice and
recommendations about Windows 2003 Server and SQL Server 2000
installation. Well, here’s the scenario.
First is for windows 2003 server:
We have a windows 2003 server that is a Logon Server and we have at
least 90 workstation here in our office to manage. The problem is when
we connect to this logon server. It takes 15 to 20 minutes to connect
the workstation to the server. My...
|
by: Jeremiah J. Burton |
last post by:
I am trying to create a database (in Acces 2000) to track my fossil
collection. I have a main table that has records for every specemen. I
have a secondary table with information on localities that the specimens
were collected at. The tables are linked. Each record in the specimen
table will link to only 1 record in the locality table, however each
locality can be linked to multiple specimens.
I am trying to create a form (based on...
|
by: Susan Bricker |
last post by:
Greetings.
I am having trouble populating text data that represents data in my
table. Here's the setup:
There is a People Table (name, address, phone, ...)
peopleID = autonumber key
There is a Judge Table (information about judges)
judgeID = autonumber key
|
by: Susan Bricker |
last post by:
Greetings. Before I begin, I have been stuck on this problem for about a
5 days, now. I have tried and just seem to be not getting anywhere. I
know that the explanation is lengthy, but I am a relative newcomer to
Access and need to be methodical until it become more familiar. Thanks
in advance for your help.
I have a form with a subform that has a subform.
form: frmEvents
subform: sfrmTrialInfo (controlname = )
|
by: Uninvisible |
last post by:
I have put together a db for a law firm to keep track of counterfeit
activities. There are four parent tables:
tblContact
tblTransaction
tblAction
tblFile
I have created a form, frmNewMatter, for adding new records to the db.
The form is based on tblFile and has a subform based on tblContact,
| |
by: Anja |
last post by:
Hi everyone,
Well, kind of new to Access and VBA development in general.
What I have a query that returns me all records based on a criteria.
Now, I have a form where the user can choose this criterial via a combo
box and I want a sub form to show up with the relevant records.
I have 2 questions actually...
|
by: sesling |
last post by:
I have an unbound form (A). The form contains lists boxes that get information from different tables. When the form is opened the lists are populated with various bits of data. The operator will select certain items from the list boxes.
I have a query (Z) that uses the information the operator selects on form (A). This information is listed in the criteria section of the query.
I have a form (B) that is bound to query (Z).
On...
|
by: jerk |
last post by:
Hello,
Houston, i´ve got a problem... ;)
I am trying to make a subform Details which contains the following information (i am only mentioning the relevant ones)
- Country
- Currency
- Date
- Excange Rate
|
by: canabatz |
last post by:
im using paging on this query:
i got this code that returning wrong results:
(SELECT bid_price, count(*) as n from bidding_details where bid_id=$bid_id GROUP BY bid_price DESC HAVING n = 1 )
UNION ALL
(SELECT bid_price, count(*) as d from bidding_details where bid_id=$bid_id GROUP BY bid_price DESC HAVING d > 1) limit $eu, $limit ";
the limit is working only on the first query ,the second query is running after the first limit ,so...
|
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,...
|
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...
| |
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,...
|
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...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |