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

Any suggestions

I have set up a database in access that is used to store different subsets
of data about an entity. The database stoes details about specific companies
and is normalised - I have 4 tables holding data regarding community
involvement, contact details, activity. There are quite a few fields in each
table. I want to be able to view each company record at a time. But want to
use buttons down the side to access the fields held in specific tables. I.e.
when button is clicked on - it pulls a form that displays that specific
record's detail on community involvement for example.

Whats the best way of achieiving this?

Regards,

D R Tester
Nov 13 '05 #1
4 999
DR, Lookup the OpenArgs under the help menu and see if this will do. If not
post back.

--
Reggie

----------
"D R Tester" <dr.tester[nospam]@ntlworldnospam.com> wrote in message
news:ze***************@newsfe1-gui.ntli.net...
I have set up a database in access that is used to store different subsets
of data about an entity. The database stoes details about specific companies and is normalised - I have 4 tables holding data regarding community
involvement, contact details, activity. There are quite a few fields in each table. I want to be able to view each company record at a time. But want to use buttons down the side to access the fields held in specific tables. I.e. when button is clicked on - it pulls a form that displays that specific
record's detail on community involvement for example.

Whats the best way of achieiving this?

Regards,

D R Tester

Nov 13 '05 #2
Hmm,
Still not having any luck. Had a look at openargs - still none the wiser to
solve this problem. I have reviewed my intial post - perhaps it would be
simpler to state that I would like to have a button on a form that opens up
a different form and displays the data from a different table that relates
to the current record.

Dom
"Reggie" <No**********@NoSpamsmittysinet.com> wrote in message
news:79********************@comcast.com...
DR, Lookup the OpenArgs under the help menu and see if this will do. If not post back.

--
Reggie

----------
"D R Tester" <dr.tester[nospam]@ntlworldnospam.com> wrote in message
news:ze***************@newsfe1-gui.ntli.net...
I have set up a database in access that is used to store different subsets of data about an entity. The database stoes details about specific

companies
and is normalised - I have 4 tables holding data regarding community
involvement, contact details, activity. There are quite a few fields in

each
table. I want to be able to view each company record at a time. But want

to
use buttons down the side to access the fields held in specific tables.

I.e.
when button is clicked on - it pulls a form that displays that specific
record's detail on community involvement for example.

Whats the best way of achieiving this?

Regards,

D R Tester


Nov 13 '05 #3

On Sat, 17 Jul 2004 15:57:11 GMT, "D R Tester"
<dr.tester[nospam]@ntlworldnospam.com> wrote:
Hmm,
Still not having any luck. Had a look at openargs - still none the wiser to
solve this problem. I have reviewed my intial post - perhaps it would be
simpler to state that I would like to have a button on a form that opens up
a different form and displays the data from a different table that relates
to the current record.


DoCmd.OpenForm "frmMyForm",,,"RelatedField=" & Me.RelatedField

If the related field is text the surround the value in single
quotes...

DoCmd.OpenForm "frmMyForm",,,"RelatedField='" & Me.RelatedField & "'"

- Jim

Nov 13 '05 #4
Dr, One other thing you could do is design a query using the table(s) you
want to use for the record source of the form to be opened. In the criteria
row under the field you are trying to filter type in something like this
replacing the names here with the name of the control on your form.
=Forms!frmYourForm!ControlName

So for instance if your initial form was called frmContacts and you had a
control on the form named ContactID you would enter
=Forms!frmContacts!ContactID in the criteria row under the ContactID field
in the query. Use this query as the recordsource for your frmContactDetails
form for example. Now when you open the frmContactDetails it will open to
whatever record(s) that match the ContactID control on your frmContacts
form. Hope this helps.
--
Reggie

----------
"Jim Allensworth" <Ji****@datacentricsolutions.com> wrote in message
news:40**************@netnews.comcast.net...

On Sat, 17 Jul 2004 15:57:11 GMT, "D R Tester"
<dr.tester[nospam]@ntlworldnospam.com> wrote:
Hmm,
Still not having any luck. Had a look at openargs - still none the wiser tosolve this problem. I have reviewed my intial post - perhaps it would be
simpler to state that I would like to have a button on a form that opens upa different form and displays the data from a different table that relatesto the current record.


DoCmd.OpenForm "frmMyForm",,,"RelatedField=" & Me.RelatedField

If the related field is text the surround the value in single
quotes...

DoCmd.OpenForm "frmMyForm",,,"RelatedField='" & Me.RelatedField & "'"

- Jim

Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Matt W | last post by:
Hi all, I'm planning to use MySQL's full-text search for my forum system (possibly 5+ million posts). I've been playing with it a lot lately to see the performance and functionality and have...
10
by: Ron Ruble | last post by:
I'd like to get suggestions from some of the folks here regarding tools and processes for a new, small development team. I'm starting a new job next week, and part of the fun is being able to...
1
by: Brian Basquille | last post by:
Hello all. Have been working on the Air Hockey game on and off for a couple of weeks now.. but have had plenty of other assignments to keep me busy along with it. But i would like some...
62
by: A.M. Kuchling | last post by:
Here are some thoughts on reorganizing Python's documentation, with one big suggestion. The tutorial seems to be in pretty good shape because Raymond Hettinger has been keeping it up to date. ...
6
by: iclinux | last post by:
I have to build a GUI applicaiton that could run on different OS such as windows and *nix, which GUI toolkit is better? Best Regards.
45
by: Gregory Petrosyan | last post by:
1) From 2.4.2 documentation: There are two new valid (semantic) forms for the raise statement: raise Class, instance raise instance 2) In python: >>> raise NameError Traceback (most recent...
26
by: Frank Samuelson | last post by:
I love Python, and it is one of my 2 favorite languages. I would suggest that Python steal some aspects of the S language. ------------------------------------------------------- 1. Currently...
0
rnd me
by: rnd me | last post by:
Purpose: Allows you to create "presets" for text form inputs. "Lightweight and simple to setup, it adds a lot of convenience for ~1kb of code." Only one function, two parameters: First...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
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,...
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...

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.