I have clients recieving leads...records. Sometimes, their number of records delivered from my suppliers exceeds thier order, leaving a balance due of (-).
How would I query clients [ClientID] that have exceeded thier [OrderAmount], and only pull up the number of records equal to their [OrderAmount], so I can append only these records to another table, thus leaving the number of records exceeding their order in the original table.
Example: [OrderAmount]=10
[LeadsDelivered]=12
[Balance]= -2
Need to query [ClientID] Balances that are negative, but only up to the [OrderAmount], in this case 10 records.
How would I query clients [ClientID] that have exceeded thier [OrderAmount], and only pull up the number of records equal to their [OrderAmount], so I can append only these records to another table, thus leaving the number of records exceeding their order in the original table.
Example: [OrderAmount]=10
[LeadsDelivered]=12
[Balance]= -2
Need to query [ClientID] Balances that are negative, but only up to the [OrderAmount], in this case 10 records.