Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Programming (http://www.go4expert.com/forums/programming-forum/)
-   -   IF statement or loop (http://www.go4expert.com/forums/statement-loop-t23081/)

chrisjack001 23Aug2010 20:39

IF statement or loop
 
I have a subform called (Recocilation Account Budget >=5) that opens up in dataview sheet. I want the user to be able to open other records in other forms specifically when he/she DOUBLE CLICKS that row in subform (Recocilation Account Budget >=5) based on the following conditions in the column field [Budgetcategory] of the subform (Recocilation Account Budget >=5)
Some of the fields in the form are
Account BudgetCategory Voucher
These are the conditions:
If the BudgetCategory = 5, 7, 8 or 9 Open that specific record by Account in another form called Req Log
If the BudgetCategory = 6 Open that specific record by Account in another form called Travel
Thanks for your help. Im new at this

shankar.489 25Aug2010 11:56

Re: IF statement or loop
 
type switch() in infinte loop(ex:while(1){
switch()
{case 7:
..
}//switch close
}//while close


All times are GMT +5.5. The time now is 04:02.