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

Related table question.

25
I have a form and would like to know the best method to link it to a related table so I can retrieve data from it to the form, and maintain this link if the Forms current record is changed.

I have put a subform on the form linked to a Query file, then set the Visible property to false. But there must be a better method to use.

I want to be able to parse the data from this table using the main Forms OnCurrent Event.
Feb 14 '08 #1
3 1328
cori25
83
Hello...

In order to have a combo box pull directly from a table/query....this is how it is done...

1.) When creating the combo box, in properties got to Row Source Type, select Table/Query

2.) Then in the Row Souce(which is directly beneath Row Source Type), select either the table/query you would like to get the data from.

Thats it!

Let me know if this works
Feb 15 '08 #2
mshmyob
904 Expert 512MB
Assuming you meant that you want to bind a table to a form. You would just bind the controls on your form to an underlying table.

Set your Record Source property to your underlying table and then set the Control Source properties for ech control to a field in that table.

Now when you add/edit or move between records everything will be updated automatically.

I have a form and would like to know the best method to link it to a related table so I can retrieve data from it to the form, and maintain this link if the Forms current record is changed.

I have put a subform on the form linked to a Query file, then set the Visible property to false. But there must be a better method to use.

I want to be able to parse the data from this table using the main Forms OnCurrent Event.
Feb 17 '08 #3
Codebug
25
Ive used a different method to access my table data now, but the information provided was of use, thanks
Feb 18 '08 #4

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

Similar topics

1
by: Cpt. Zeep | last post by:
Although this is not strictly PHP related question, i presume lots of you are good in MySql so maybe you could help me. I am making sort of yellowpages application and have following issue: I...
0
by: QWERTY | last post by:
--------------Boundary-00=_O5I3QL80000000000000 Content-Type: Multipart/Alternative; boundary="------------Boundary-00=_O5I3LVC0000000000000" --------------Boundary-00=_O5I3LVC0000000000000...
1
by: DB_2 | last post by:
Greetings, I was searching Google for ways to turn off transaction logging for some queries. I came across this old post from Feb 2003: > From: fareeda (fareeda@pspl.co.in) > Subject: Re:...
2
by: Colm O'Hagan | last post by:
Hi there, I having a problem with a database I'm setting up, I would be delighted if someone out there could help. The database I'm setting up is a task register datebase, it will be used to...
4
by: Filips Benoit | last post by:
Dear All, Is ( how) it possible to find the tablename of the table that is related to a field. Field CLIENT_TITLE_ID is related to table TITLE Thanks, Filip
2
by: Hi5 | last post by:
Hi, I am working on a project in access 2000, Whilst I already have a table called client and seems to be related with other tables ,I tried making TBL client as lookup too, I ended up having...
3
by: Pamela via AccessMonster.com | last post by:
Hi; I have two related tables, Correspondence and EPDBchcklst. The tables are related via record ID which is autonumber. After a person enters a correspondence into the DB, they are to click...
2
by: Jim in Arizona | last post by:
Usually, If i need special formatting, I don't use the datagrid control and use a loop that processes a table for each record read from the database (as in classic asp) like so: ...
4
by: HLCruz via AccessMonster.com | last post by:
I am working with a database that has client information separated in to 4 related tables - tFolder, tAddress, tEmail, tPhone number. In addition there are related tables tGifts and tCalls. The...
1
pbmods
by: pbmods | last post by:
Heya. I'm adding features to a pre-existing project, and I was curious about the way I've been going about designing my database additions. My methodology is to keep my stuff separate from the...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
jinu1996
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...
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
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,...

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.