I'm developing my first really big DB that requires actual PROGRAMMING, so I'm having to learn a lot on the fly and the TEK-TIPS forums have been a lifesaver! So... I've searched high and low through the Report forum and can't quite find an answer to this, so here's my first question to the experts on TEK-TIPS.
I have a report that simply prints continuous records. No problem. One of the fields is a quantity field that is generally a 1. Every now and again it's a 2 - and this is where my question comes from. If that quantity field is 2 (or 3 or any number) I need to have the record print that many times AND, just so it's not too easy, I need to have the Account# get a -A or -B or -C based on whether it's the 1st, 2nd, 3rd, etc. instance of the record.
This is an example of what I have now:
Acct# 0001
ManID -- Qty
1 -- 1
Acct# 0002
ManID -- Qty
2 -- 2
What I need for it to do is PRINT like this (but keep the STORED QUANTITY for the Acct as a 2):
Acct# 0001
ManID -- Qty
1 -- 1
Acct# 0002-A
ManID -- Qty
1 -- 1
Acct# 0002-B
1 -- 1
I can't split the Acct into an "A" and "B" because they might receive 8 different manuals and only ONE of them twice.
I appreciate any thoughts.
Thanks,
C
I have a report that simply prints continuous records. No problem. One of the fields is a quantity field that is generally a 1. Every now and again it's a 2 - and this is where my question comes from. If that quantity field is 2 (or 3 or any number) I need to have the record print that many times AND, just so it's not too easy, I need to have the Account# get a -A or -B or -C based on whether it's the 1st, 2nd, 3rd, etc. instance of the record.
This is an example of what I have now:
Acct# 0001
ManID -- Qty
1 -- 1
Acct# 0002
ManID -- Qty
2 -- 2
What I need for it to do is PRINT like this (but keep the STORED QUANTITY for the Acct as a 2):
Acct# 0001
ManID -- Qty
1 -- 1
Acct# 0002-A
ManID -- Qty
1 -- 1
Acct# 0002-B
1 -- 1
I can't split the Acct into an "A" and "B" because they might receive 8 different manuals and only ONE of them twice.
I appreciate any thoughts.
Thanks,
C