G
gemma.mbhh
[Will Access be able to do what I need. Will it involve VBA?]
So. I have a large spreadsheet which is becoming unwieldy. I use it to
create tables in html (using If statements and concatenating fields
with html fragments to either side of fields with the data I want to
display). This works remarkably well for me. But it's not quite
flexible enough for me to creatively manipulate the many pieces of
interconnected data. My data contains plenty of repetition and seems
ideally suited to moving to Access, from what I have been learning.
Some lines in the table have an image associated with them and some
don't (marked with a y/n field). The If statement checks if I have an
image (y/n) and if I do, concatenates the image name.jpg (contained in
a separate field) with the html for displaying an image. Otherwise it
uses the html for a blank cell. [And so on for other conditions.]
I have reached the limits of flexibility in Excel and want to create
something more robust in Access. I am new to databases and have been
working through some of the training at Office Online.
I am making my database from scratch (and have just about mastered the
concept of relationships and basic queries). I see how to concatenate
fields in a query result, which is ideal for my needs. I can also see
how I would be able to create a query that only shows data with
associated images, or only shows data with no image, etc.
How would I go about selecting a bunch of data with a query (some with
images, some without).... AND present that data in two different ways
depending on if it has an image or not?
i.e. If image=y, concatenate xyz fields, If image=n or null,
concatenate abc fields.....
Nothing I've read so far seems to suggest this functionality is built
into Access. Am I right? Do I need to invest in VBA for Dummies and
quite a bit of spare time?
So. I have a large spreadsheet which is becoming unwieldy. I use it to
create tables in html (using If statements and concatenating fields
with html fragments to either side of fields with the data I want to
display). This works remarkably well for me. But it's not quite
flexible enough for me to creatively manipulate the many pieces of
interconnected data. My data contains plenty of repetition and seems
ideally suited to moving to Access, from what I have been learning.
Some lines in the table have an image associated with them and some
don't (marked with a y/n field). The If statement checks if I have an
image (y/n) and if I do, concatenates the image name.jpg (contained in
a separate field) with the html for displaying an image. Otherwise it
uses the html for a blank cell. [And so on for other conditions.]
I have reached the limits of flexibility in Excel and want to create
something more robust in Access. I am new to databases and have been
working through some of the training at Office Online.
I am making my database from scratch (and have just about mastered the
concept of relationships and basic queries). I see how to concatenate
fields in a query result, which is ideal for my needs. I can also see
how I would be able to create a query that only shows data with
associated images, or only shows data with no image, etc.
How would I go about selecting a bunch of data with a query (some with
images, some without).... AND present that data in two different ways
depending on if it has an image or not?
i.e. If image=y, concatenate xyz fields, If image=n or null,
concatenate abc fields.....
Nothing I've read so far seems to suggest this functionality is built
into Access. Am I right? Do I need to invest in VBA for Dummies and
quite a bit of spare time?