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.RES ULT
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 1557
In message <b4************ **************@ posting.google. com>, Max
<ab******@aol.c om> 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.transfert ext
--
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.c om... In message <b4************ **************@ posting.google. com>, Max <ab******@aol.c om> 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 requirement s, 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.transfert ext -- 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 system requirments.
2. should be roubust and fast.
3. must be able to handle a bit large tables( upto 5000 rows)
4. should be available for both linux and ms windows 9x/xp/2000
platforms.
|
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.
Where can I find such free software which converting flat file to xml?
Is there any place I can get the source code ?
Thanks a lot.
|
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
CRASHID | VEH1_TYPE | VEH2_TYPE | VEH_3TYPE
-------------------------------------------
555555 | CAR | TRUCK | VAN
|
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 distribution. It needs to be searchable.
I don't want to use MS Access or MSDE (SQL Server) in this application for a
few reasons. 1. It does not need to be relational. 2. The search will be
restricted to a single field of data, the results of which will set...
|
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 so this code
has to be ultra efficient. Its a colllection of few flat files which
willl be mapped to a relational structure in the database.
Following are the options I am looking at:
1. Using Datasets to read the data and execute one stored...
| |
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 time-effective is this method (flat file data storage).
Anyone can share thoughts? Thanks
|
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 with many configurations settings, once the options are set the
values will not change much.
So I thought it would be a good idea to move the data to a flat file.
I have written a small wrapper class to first look for the file, if it
exists...
|
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 show - text boxes, input boxes, buttons,
hyperlinks ie the usual.
The data is not obtained directly from a database.
|
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: 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: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |