![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a field set in my database that I want to use to control a loop. The field is set as a global and contains the number 100. I want my script to create new records based on the number in that field. I think that I need to use variables to do that. But I'm not sure how to use a variable and how to add to it. I've set a variable $$a and assigned it the value in that field. But how do you do a $$a=$$a+1 ? -S |
#3
| |||
| |||
|
|
I think that I need to use variables to do that. But I'm not sure how to use a variable and how to add to it. |
#4
| |||
| |||
|
|
squeed2... (AT) yahoo (DOT) com> wrote: I think that I need to use variables to do that. But I'm not sure how to use a variable and how to add to it. you can use a variable or decrement the global, with the field of the new record being calculated once after the global's value. I Think taht script with the variable is speediest. -- Philippe Manet |
![]() |
| Thread Tools | |
| Display Modes | |
| |