raydan
Registered User.
- Local time
- Today, 10:14
- Joined
- Aug 24, 2005
- Messages
- 28
I have a database that has a few tables and in one of them (Originators), there is all the info about my loan originators including there comission level. I would like it when they turn in a certain amount of loans there commision level will increase. Is this posible? Here is my DB setup.
Tables:
Originators- 1 to many-
OriginatorID,FirstName,LastName,OrigSSN, Address,City,State,PostalCode,HomePhone,WorkPhone,CellPhone,FaxNumber,EmailName,BirthDate,Level(This is the commision level, and its in %).
Customers- 1 to many-CustomerID,FirstName,LastName,SSN,HomePhone,MobiPhone,FaxNumber,Address,City,State,Zip,Email,BirthDate,CreditScore,SpouseFirst,SpouseLast,SpouceSSN,SpouceBirthDate,SpouceCreditScore,OriginatorID.
Loans- many to 1-
LoanID,LoanType,StartDate,EndDate,LoanLender,CustomerID.
Lenders- 1 to 1-
ID,LoanLender.
When a customer is added to the DB it is done with a form that has OriginatorID(which is autocreated), CustomerID(also auto) and some other of the customer stuff like phone numbers. When this happens I would like to have the originators % level increase, say after every 4 customers entered. Is it possible?
Thanks,
Scott
Tables:
Originators- 1 to many-
OriginatorID,FirstName,LastName,OrigSSN, Address,City,State,PostalCode,HomePhone,WorkPhone,CellPhone,FaxNumber,EmailName,BirthDate,Level(This is the commision level, and its in %).
Customers- 1 to many-CustomerID,FirstName,LastName,SSN,HomePhone,MobiPhone,FaxNumber,Address,City,State,Zip,Email,BirthDate,CreditScore,SpouseFirst,SpouseLast,SpouceSSN,SpouceBirthDate,SpouceCreditScore,OriginatorID.
Loans- many to 1-
LoanID,LoanType,StartDate,EndDate,LoanLender,CustomerID.
Lenders- 1 to 1-
ID,LoanLender.
When a customer is added to the DB it is done with a form that has OriginatorID(which is autocreated), CustomerID(also auto) and some other of the customer stuff like phone numbers. When this happens I would like to have the originators % level increase, say after every 4 customers entered. Is it possible?
Thanks,
Scott