F
francvs
hi all, I am trying to set up a report for a multimedia library. The
report must display the records from a query in different ways,
depending on the value of a particular field. More precisely, the
report should show, for example, 'title' as first field of the row if
the corresponding record refers to a 'review' type; if the type is
'book', the first field displayed should be 'author', etc.
At the same time, blank fields (in my database there are plenty of)
should be suppressed, so that the resulting row makes sense as a
coherent bibliographic entry.
I think I need to write a function in VBA in order to build the
necessary string... but as I am new to Access, it's a bit hard to me...
As for the empty fields, I have already seen solutions like CanGrow and
CanShrink, but they seem to me unfitting, as blanks in a single row
happen to be many...
Any hint for the way to go?
Thanks in advance.
report must display the records from a query in different ways,
depending on the value of a particular field. More precisely, the
report should show, for example, 'title' as first field of the row if
the corresponding record refers to a 'review' type; if the type is
'book', the first field displayed should be 'author', etc.
At the same time, blank fields (in my database there are plenty of)
should be suppressed, so that the resulting row makes sense as a
coherent bibliographic entry.
I think I need to write a function in VBA in order to build the
necessary string... but as I am new to Access, it's a bit hard to me...
As for the empty fields, I have already seen solutions like CanGrow and
CanShrink, but they seem to me unfitting, as blanks in a single row
happen to be many...
Any hint for the way to go?
Thanks in advance.