jfgambit
Kinetic Card Dealer
- Local time
- Today, 08:56
- Joined
- Jul 18, 2002
- Messages
- 798
I've been reading throught the old posts, but can't seem to grasp this:
I have a table of Bids containing the following MemberID, VehicleID, AuctionDate, ChoiceNumber. What I need to do is to rank the bids from 1 to ....(however many there are) based on the lowest BidAmount within the form by updating the ChoiceNumber field with the appropriate Rank number.
1) What would be the best way to re-rank the ChoiceNumber field utilizing the AfterUpdate event of the BidAmount Field? Criteria: All BidAmounts from tblBids where Vehicle ID = VehicleID on frmBid and AuctionDate = AuctionDate on FrmBid
2) What would be the best way to re-rank the ChoiceNumber field if a number is manually entered in the ChoiceNumber field?
Example: A user changes ChioceNumber 3 to 1...I need all the remaning BidAmounts to rank in order by Lowest Bid, but keep the manually changed one to 1.
Thanks in advance for any help you can provide.
I have a table of Bids containing the following MemberID, VehicleID, AuctionDate, ChoiceNumber. What I need to do is to rank the bids from 1 to ....(however many there are) based on the lowest BidAmount within the form by updating the ChoiceNumber field with the appropriate Rank number.
1) What would be the best way to re-rank the ChoiceNumber field utilizing the AfterUpdate event of the BidAmount Field? Criteria: All BidAmounts from tblBids where Vehicle ID = VehicleID on frmBid and AuctionDate = AuctionDate on FrmBid
2) What would be the best way to re-rank the ChoiceNumber field if a number is manually entered in the ChoiceNumber field?
Example: A user changes ChioceNumber 3 to 1...I need all the remaning BidAmounts to rank in order by Lowest Bid, but keep the manually changed one to 1.
Thanks in advance for any help you can provide.