S
Sara Mellen
This is for our church auction, for which I've developed a pretty usable
little database. One of the things I want to do is to create bid sheets
that contain the description above, then a subreport that has a table with a
line for each of the possible bids that can be made for that item. An
example is called for, I think: Let's say someone has donated a six-pack of
home-brewed beer (yum!). The Minimum Bid is $10, the Maximum Bid is $20,
and the Increment is $2. The possible bids are 10, 12, 14, 16, 18, and 20,
so I would need the subreport to create a 6-line bid sheet.
Here's what the bid sheet would look like this (but there would be a column
to the right of the incremental bid numbers where people would write in
their bidder numbers):
Bid Amount
10 (this is the MinimumBid)
12 (This is the next bid amount--based on the increment of $2)
14
16
18
20 (This is the MaximumBid)
Given that we have over 250 items, it sure would be nice to come up with
either code that would produce this automatically.
One idea was to create a table called BidIncrements, where each ItemID would
have records for each of the possible increments, like this:
ItemID BidAmount
1 10 (where 10 is the MinimumBid)
1 12
1 14 (and 14 is the MaximumBid)
2 50 (MinimumBid)
2 55
2 60
2 65 (MaximumBid)
and so on for all the items.
I just can't figure out how to do it. Just a query won't work (I don't
think) and I don't have the code skills to create it. Thanks a lot for your
help!
Sara
little database. One of the things I want to do is to create bid sheets
that contain the description above, then a subreport that has a table with a
line for each of the possible bids that can be made for that item. An
example is called for, I think: Let's say someone has donated a six-pack of
home-brewed beer (yum!). The Minimum Bid is $10, the Maximum Bid is $20,
and the Increment is $2. The possible bids are 10, 12, 14, 16, 18, and 20,
so I would need the subreport to create a 6-line bid sheet.
Here's what the bid sheet would look like this (but there would be a column
to the right of the incremental bid numbers where people would write in
their bidder numbers):
Bid Amount
10 (this is the MinimumBid)
12 (This is the next bid amount--based on the increment of $2)
14
16
18
20 (This is the MaximumBid)
Given that we have over 250 items, it sure would be nice to come up with
either code that would produce this automatically.
One idea was to create a table called BidIncrements, where each ItemID would
have records for each of the possible increments, like this:
ItemID BidAmount
1 10 (where 10 is the MinimumBid)
1 12
1 14 (and 14 is the MaximumBid)
2 50 (MinimumBid)
2 55
2 60
2 65 (MaximumBid)
and so on for all the items.
I just can't figure out how to do it. Just a query won't work (I don't
think) and I don't have the code skills to create it. Thanks a lot for your
help!
Sara