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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditional field selection

Status
Not open for further replies.

ceej

IS-IT--Management
Jun 20, 2001
46
US
Is it possible to do something like this?

For i = 1 to 10

Qty = SalesPeriod(i)

Next i

Where the actual field names are SalesPeriod1, SalesPeriod2, etc.
 
You should be able to make a statement like this
For i = 1 to 10

Qty = SalesPeriod& totext(i)

Next i
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top