Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically finding a corresponding number based on selected number

Status
Not open for further replies.

SHAWTY721

Programmer
Aug 16, 2007
116
US
I have a table that contains 900+ records that are related to each other on a row basis. The Dept field needs to be able to determine which of the other account numbers is being used.

-Once a particular department is selected I need to have the corresponding numbers fill a form based on the department that is being used.

- The other aspects of the form will be imported from an external source that my company is using to do gather the payroll information.

- I thought of creating an IF Statement that would check to see which Dept is being used and based on that fill in the other Account Numbers. I guess where I ran into problems with this approach was trying to make the IF Statement generic so that I could use one IF Statement for the whole table instead of writing multiple statements since there are so many records for this particular table.

 




Hi,

Use a query of Accounts quallified by selected dept.

Skip,

[glasses] When a wee mystic is on the loose..
It's a Small Medium at Large! [tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top