473,405 Members | 2,187 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,405 software developers and data experts.

Multiple Entries per field


Does anyone know if I can have a field in a row where I can add two
lines of info without adding a whole new line?
and then there would be a drop down menu?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #1
4 5321
Abbey Krystowiak wrote:
Does anyone know if I can have a field in a row where I can add two
lines of info without adding a whole new line?
and then there would be a drop down menu?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Not sure what you're asking here.

If you require more than one line of text in a textbox then yes, the
underlying column in the table should be sufficiantly large to hold the
text (either text or memo type) and a form's textbox properties can be
tweaked to allow multi line entry.

If OTOH you are suggesting as the subject line suggests then that's a
bad idea anyway, the columns should be atomic, i.e. hold one item of data.

If you're talking about a combo box (drop down list) then you can use
them but you cannot put multiple lines into them, they're for selecting
one of multiple values, the values themselves coming from a different
source than the table it's bound to.

--
Error reading sig - A)bort R)etry I)nfluence with large hammer
Nov 13 '05 #2
I want to have one row of information in a table, but in one of the
fields I want to have more lines of data without creating a new row of
everything being the same except one field. Can you do that?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #3
The design of your table is incorrect. If you have data like this, you have a
one-to-many relationship in that field where you want to have more than one line
of data. You need one table for the main part of your existing record and a
second table for the data you want to have more than one line of data in your
record. An example would be parents and children. You need one table to record
the parents which would look like:
TblParents
ParentsID
FatherFirstName
FatherLastName
MotherFirstName
MotherLastName
etc

and you need another table to record the children which would look like:
TblChild
ChildID
ParentsID
ChildFirstName
ChildLastName
ChildSex
etc

So for a set of parents, you have one parent record with the possibility of
multiple child records. A relationship is created between ParentsID in both
tables. ParentsID in TblParents is referred to as the primary key in the
relationship and ParentsID in TblChild is referred to as the foreign key in the
relationship.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com


"Abbey Krystowiak" <kr**************@basco.com> wrote in message
news:41**********************@news.newsgroups.ws.. .
I want to have one row of information in a table, but in one of the
fields I want to have more lines of data without creating a new row of
everything being the same except one field. Can you do that?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 13 '05 #4
When connecting the tables, as I did, how can I then incorporate the
infomation that is connected (ex. child ID) into the parent's info table
when I want to create and run a query.

Ultimately what I need to be able to do is create a query for me and
others to use to search for information in the tables.

EX.
TABLE 1 fields:
Study Name
Date
Person Initiated
Study Done By
Type of Study
Product Category
Study Target
Study ID (primary key and autonumber)

TABLE 2 fields:
Keywords
Study ID

What I want to do is be able to narrow down to the Product Category, and
then be able to search by keyword.

The reason for my first request was that each "Study Name" has multiple
keywords. Hopefully this makes enough sense for someone to be able to
help me.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #5

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

Similar topics

2
by: Jas | last post by:
I want an ASP page with a dropdown and a simple button. Every time the user chooses an item from the dropdown and clicks on the button i want that value written below in list and allow user to...
2
by: Joe | last post by:
Hey, I'm going to give some background on my situation in case anyone can point out a way around my problem altogether... for the problem itself, please skip to the bottom of the post. thanks....
1
by: ccr | last post by:
Please view in a text editor so that the columnar text lines up. I used Terminal 9pt font to compose this post and copied/pasted to my newsreader program. I am writing in the hope that one of...
1
by: ccr | last post by:
Reposted with a longer line length. Apologies if I did not cancel the 1st attempt before you got it. If necessary, please view in a text editor so the columnar text lines up. I used Terminal...
3
by: Usenet | last post by:
Hi there, I am quite a novice to MS Access, and I would deeply appreciate help on the following: I have created a list box in a form. I wish for that list box to enter multiple values from table...
0
by: misscrf | last post by:
I am currently working on a database, in 3rd normal form, which is for candidates who apply for a job with the law firm that I workd for. My issue is with good form design. I have a main...
8
by: Kasghost | last post by:
I am trying to create a DB in Access 2007 where the values in certain fields requires multiple entries. I would like to send this DB out as an HTML to my techs and have them fill the information...
0
by: TechnoAtif | last post by:
<?php include "dbconnect.php"; include "commonFunc.php"; ?> <!----------------------------------> <table width="80%" border="1" cellpadding="2" cellspacing="0"> <tr > <td...
1
by: cssExp | last post by:
Hi, Assume i have two tables. "accounts" and "accounts_logs" "accounts" (accid, type) "accounts_log" (accid, ip, timestamp) Here i want to choose a radom 3 accids from "accounts" if...
10
by: Phillipe | last post by:
Hi, hope you can help with this query as it's had me stuck for quite a while. I have two tables: user table ----------------- id (primary key) firstname lastname
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...
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
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
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
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,...
0
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...

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.