Hello everyone,
I have a task of combining two tables: tblPatient and tblSolution,
related by a KEY field in a one-to-many relationship from tbl Patient
to tblSolution, respectively. So, I have the following table layout:
tblPatient
----------
REC: Autonum (Primary Key)
KEY: Number (NOT UNIQUE)
FN: Text
LN: Text
TEL: Text
tblSolution
----------
KEY: Number (NOT UNIQUE)
RESULT: Memo
a) What I would like, is, essentially, a file for a mail-merge. For
the lack of better understanding and currect merge document layout
requirements, I would like to create a table (for now) with these
fields:
tblPatient.REC, tblPatient.KEY, tblPatient.FN, tblPatient.LN,
tblPatient.TEL, tblSolution.RESULT
and somehow have all of the RESULTS for that KEY combined into one
RESULTS field, comma or Hard Return separataed.
---or---
b) create a table for mail-merge, which will contain the following:
REC, KEY, FN, LN, TEL, RESULT1, RESULT2, RESULT3, RESULT4... RESULT8
(max num of RESULTS is 8).
If anyone is kind enough to comment and show me the light, I would
really appreciate this.
Thanks,
Max 2 1541
In message <b4**************************@posting.google.com >, Max
<ab******@aol.com> writes a) What I would like, is, essentially, a file for a mail-merge. For the lack of better understanding and currect merge document layout requirements, I would like to create a table (for now) with these fields:
Create a query by linking the two tables then export that as a text
file. There's no need to create a merged table.
Use docmd.transfertext
--
Bernard Peek
London, UK. DBA, Manager, Trainer & Author. Will work for money.
Max, One other thing I see is that you say this is a one to many relationship, however, the Key
field in both tables is Not Unique. In this setup you can't have a one to many relationship using
this field as the PK/FK. For example you could have the following scenario:
tblPatient
----------
REC: KEY
1 2
2 2
3 2
tblSolution
----------
KEY: RESULT
2 Fixed
2 Not Fixed
2 In Process
......
As you can see this is not a one to many relationship.
--
Reggie
----------
"Bernard Peek" <ba*@shrdlu.com> wrote in message news:3h**************@shrdlu.com... In message <b4**************************@posting.google.com >, Max <ab******@aol.com> writes
a) What I would like, is, essentially, a file for a mail-merge. For the lack of better understanding and currect merge document layout requirements, I would like to create a table (for now) with these fields:
Create a query by linking the two tables then export that as a text file. There's no need to create a merged table.
Use docmd.transfertext -- Bernard Peek London, UK. DBA, Manager, Trainer & Author. Will work for money. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: mir nazim |
last post by:
hi.
i want to know if there is any flat-file relational database system
available for python.
i require it in a project. it should have following capabilities:
1. should be small and compact on...
|
by: BlackSnail |
last post by:
I need a free software which can convert flat file to xml.
I know there are some product,XML Converter of unidex and xmlTextWriter.
But I want to find a free software and get the source code.
...
|
by: meyvn77 |
last post by:
I have a flat file table that describes crash data in SQL Server.
It contains vehicle information.
I would like to know if anyone knows a SQL statement that could go from
this
table= events
...
|
by: Dennis D. |
last post by:
I want to construct a simple flat file, non-relational database within my
windows application. It would be a simple table with fields contained in a
separate file which accompanies the...
|
by: Neural |
last post by:
Hi,
I was wondering if anybody knew of any other ways of efficiently
parsing a flat file into SQL Server 2000 using C#. The flat files are
tab delimited. And the general file size is around 1 GB...
|
by: vunet.us |
last post by:
Hi,
I would like to use flat file data storage instead of database. Since I
am new to it, I am wondering:
What text file extension is a safe one to store my data online and how
cost- and...
|
by: FFMG |
last post by:
In my site I have a config table, (MySQL), with about 30 entries; the
data is loaded on every single page load. This is not the only call to
the db, (we do a total of about 8 calls to the db).
As...
|
by: lxyone |
last post by:
Using a flat file containing table names, fields, values whats the
best way of creating html pages?
I want control over the html pages ie
1. layout
2. what data to show
3. what controls to...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
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
|
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...
|
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...
|
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,...
|
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...
| |