I've created a small database with the purpose of tracking events, who
is invited, who attends, and all related information.
I"ll try to explain here what I've done so far and where I need help.
Current Customers:
I have businesses, with a unique id and contact for the business with a
unique id. A business could be invited multiple times per event, but
separate contacts.
A business can be invited to several event, each time could be the same
contact, or different contacts invited.
The first thing I need to now is, how do I go about 'attaching' these
invitations to an Event?
The invitation list and all of it's information is pulled from DBSi and
I can import it into my database easily. I assume I need a
tblCustomers with keys being combination of customer and contact id #s,
I can then import the invitation list to that table.
If that combo person/business already exists, it won't add it again.
SO, now how do I 'attach' these to a specific event? Each event of
course has a unique id.
I will then have to somehow track 'responses', which could mean they
attended an event, responded to a mailer with a phone inquiry or
several other different things.
I'm just lost and need some direction..
I'm sure anyone willing to help will have questions.. feel free.. and
thanks in advance 3 1620
Based on what you describe, I think the relationships will look
something like this.
BUSINESS/CUSTOMER----(1,M)---CONTACT---(1,M?)---INVITATION(atte ndance
response)---(M,1)---EVENT
IOW,
Each Contact belongs to only one Business. Each Biz can have many
contacts. Each Contact can receive many invitations, but only one for
each event. (so EventID, ContactID combination is unique in
Invitation). There's only one response per invitation, right? If so,
you can put that in the invitation table. Otherwise, you'd need a
child table of Invitation (InvitationID as FK as minimum). Then you'd
have a table of events. If you can get multiple responses for an
invitation, your schema would be slightly different... the relationship
between Invitation and Response would be 1,M. At present, I have it as
inherently 1:1, because it's still in the Invitation table. Breaking
it out would yield this:
The only difference would be the PK for Invitation. If a contact can
have multiple invites per event, your PK is something other than the
(EventID, ContactID) combination, like an Autonumber. (Then that
record can have child records.) otherwise, your PK is (EventID,
ContactID).
I would test the design by creating some tables, adding a few sample
records, and writing some queries to test your design. Once you have
that, (ie. you get the info out that you need), build forms etc.
HTH,
Pieter
Ok.. I'm getting somewhere.. I just can't decide, where to record
responses to campaigns (i.e. event attendance)
Would I put a response Field in the table you refer to below as
invitation?
The table would have a customer id, contact id, event id and a response
field?? pi********@hotm ail.com wrote:
Based on what you describe, I think the relationships will look
something like this.
BUSINESS/CUSTOMER----(1,M)---CONTACT---(1,M?)---INVITATION(atte ndance
response)---(M,1)---EVENT
IOW,
Each Contact belongs to only one Business. Each Biz can have many
contacts. Each Contact can receive many invitations, but only one for
each event. (so EventID, ContactID combination is unique in
Invitation). There's only one response per invitation, right? If so,
you can put that in the invitation table. Otherwise, you'd need a
child table of Invitation (InvitationID as FK as minimum). Then you'd
have a table of events. If you can get multiple responses for an
invitation, your schema would be slightly different... the relationship
between Invitation and Response would be 1,M. At present, I have it as
inherently 1:1, because it's still in the Invitation table. Breaking
it out would yield this:
The only difference would be the PK for Invitation. If a contact can
have multiple invites per event, your PK is something other than the
(EventID, ContactID) combination, like an Autonumber. (Then that
record can have child records.) otherwise, your PK is (EventID,
ContactID).
I would test the design by creating some tables, adding a few sample
records, and writing some queries to test your design. Once you have
that, (ie. you get the info out that you need), build forms etc.
HTH,
Pieter
te**@conwaycorp .net wrote:
Ok.. I'm getting somewhere.. I just can't decide, where to record
responses to campaigns (i.e. event attendance)
Would I put a response Field in the table you refer to below as
invitation?
The table would have a customer id, contact id, event id and a response
field??
It depends on whether you need to store multiple responses or not. If
you need to store one per letter or whatever, then store it in that
table. Otherwise, store it in the invitations table. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Fritz Switzer |
last post by:
Can anyone provide a small snippet in C# that pulls out the Contacts in
Outlook XP.
I've seen a couple of examples in C++ and VB in previous newsgroup posts,
but either the originals didn't work or my conversion skills are weak. And
if I have to use tlbimp.exe what is the right file to use.
Thanks for the help.
--
Fritz
|
by: Ashish Shridharan |
last post by:
Hi All
I have been trying to add a control to the header cell of
a datagrid on my ASP.NET page. These controls are defined
in the HTML as ASP.NET web controls.
They are being added into the header of the datagrid in
the "ItemDataBound" method of the grid. However, once,
they are added in the grid, i seem to lose the event
handler for the same control. Is there anyone who has
tried this before and knows why this is hapenning ??
|
by: Justin Koivisto |
last post by:
I am trying to create a report that displays a name of an advertising
source and count of the number of times it was hit between certain date
ranges. The data is split between two different databases: this access
db, and a remote MySQL server. The MySQL tables are linked in the access db.
What I have done so far is created an On Open event for a report that
does the following:
* prompt user for the date range
* get which sources were...
|
by: Shyguy |
last post by:
I have a form where one of the entries is "Contact". On BeforeUpdate
I check the table for the existance of that Contact. A mesage box
informs the user that the name is already in the table and cancels the
event. What I want to do is clear the text from the text box to allow
the user to enter another name without deleting it.
I have tried to set focus, set value to "" etc. but nothing works.
Any help is appreciated.
|
by: Dan Bass |
last post by:
Environment
C#, Asp.Net 2.0, Windows 2000 Server
Problem
I'm trying to enumerate all the names in the global contacts on the exchange
server using CDO / ADO / (whatever I can).
In writing an ASP.Net support ticket application, I want to populate the
list of "Who reported this ticket" with names from the global contacts.
An extension of this would then be to allow the user to add a person to the
| |
by: George Durzi |
last post by:
Hey all,
I finally found the necessary resources in the Exchange 2003 SDK to "pull"
Contacts out of Exchange and display them on a WebForm. I have been trying
to do this forever, and couldn't until the Exchange 2003 SDK came out.
Here's the code. Hopefully someone else can find this useful.
#region DisplayExchangeContacts
private void DisplayExchangeContacts()
{
|
by: John Boy |
last post by:
Hi,
Can anyone help. This is really doing my nut in. 3 years ASP exp. and
now doing .DOT which is a step in the wrong direction.
Basically I am left with the code of a guy who has left. When I click a
button on a pop-up window the javascript for that button click does a
'button.form.submit'. On the Server side there is a Button click event
for this button, but for some reason it no longer fires. It worked fine
before and everything...
|
by: charliej2001 |
last post by:
Hi all
My access database has import/export capabiltiy of contact details
between outlook. The database is getting big now (1000+ contacts) and
so are the outlook address books that have the contacts info in them.
When I export contacts from access to outlook, it takes a long time
because there are so many contacts in the Outlook address book, and it
is checking all of these against the contacts coming in, so as to avoid
duplicates....
|
by: Bill Davy |
last post by:
I am trying to edit Contacts in Outlook. This is so I can transfer numbers
from my address book which is an Excel spreadsheet to my mobile phone. I
came across the following snippet of code which enabled me to the contacts
at least list. I had to root around to discover CdoDefaultFolderContacts
(though it was guessable; how could I enumerate win32com.client.constants?).
I now want to work through the Contacts in Outlook patching in...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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: 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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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: 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: 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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |