K
Kyle
OK, I would love some thoughts and suggestions on something I'm hoping
to attempt with a database I'm working with.
I'm revising a database using Access 2003 - the database was created
using Access 97, and updated most recently on Access 2000.
What I want to do is create something that will sample a number of
fields in the parent/primary table and one child/secondary table, and
insert those fields at certain points in a text string so that I get
something like the following for each unit in my database (where the
existing fields are in []s):
ALERT! Freezer [ID#] in room [Room#] is in alarm. During working hours,
contact the following people:
[Employee] [OfficePhone] [LabPhone]
[Employee] [OfficePhone] [LabPhone]
After working hours, contact the following people:
[Employee] [HomePhone] [MobilePhone] [Pager]
[Employee] [HomePhone] [MobilePhone] [Pager]
then put that text string into a completely separate field (call it
CAlertText)in a third table which will be exported to Excel for
insertion into a security system's database.
So what I'm wondering is:
(1) Is it possible to have this CAlertText field automatically
generated? (Please tell me I can do this without knowing VB or SQL!)
(1a) Here's a tricky one: can I make this conditional upon what is in
another field entirely? For example, have it generate one text string
if the value in field [AlarmType] is "Local Alarm" and the text string
above if the value of the field is "C-CURE"?
(2) What are the pros and cons of doing this all at one time for the
entire database, vs. doing it as I update a record?
(3) Is there a potential for accidentally bringing code over from
Access to Excel which could then be read into the security system when
importation from the Excel file is done?
(I am very afraid: this sounds like a lot to ask of Access...)
to attempt with a database I'm working with.
I'm revising a database using Access 2003 - the database was created
using Access 97, and updated most recently on Access 2000.
What I want to do is create something that will sample a number of
fields in the parent/primary table and one child/secondary table, and
insert those fields at certain points in a text string so that I get
something like the following for each unit in my database (where the
existing fields are in []s):
ALERT! Freezer [ID#] in room [Room#] is in alarm. During working hours,
contact the following people:
[Employee] [OfficePhone] [LabPhone]
[Employee] [OfficePhone] [LabPhone]
After working hours, contact the following people:
[Employee] [HomePhone] [MobilePhone] [Pager]
[Employee] [HomePhone] [MobilePhone] [Pager]
then put that text string into a completely separate field (call it
CAlertText)in a third table which will be exported to Excel for
insertion into a security system's database.
So what I'm wondering is:
(1) Is it possible to have this CAlertText field automatically
generated? (Please tell me I can do this without knowing VB or SQL!)
(1a) Here's a tricky one: can I make this conditional upon what is in
another field entirely? For example, have it generate one text string
if the value in field [AlarmType] is "Local Alarm" and the text string
above if the value of the field is "C-CURE"?
(2) What are the pros and cons of doing this all at one time for the
entire database, vs. doing it as I update a record?
(3) Is there a potential for accidentally bringing code over from
Access to Excel which could then be read into the security system when
importation from the Excel file is done?
(I am very afraid: this sounds like a lot to ask of Access...)