insert multiple records from a number
The reason I write is that when the user enters a numerical value, this value performs a mathematical operation, for example, that the final result was 7, what he wants the system to do is insert a new record in another module depending on of the amount thrown by the mathematical operation, for example 7 e system creates 7 records for that record.
I know that in other programming languages I only use a FOR (i: 0; i <7; i ++) and inside I specified that I wanted it to work.
In this case, how can we do
regards