Hi, Marco,
I'm facing some problems with Refactoring (PLSD 9 final). I've sent the sample code to support@allroundautomations.com:
1. Go to line 283 (For r_regra In ...) and place the cursor on the "For" keyword
2. Click the last "For loop" in the Hierarchy Pane to select the whole "r_regra" loop
3. Right-click the selected text and choose Refactoring -> Extract procedure
4. Give it a name. I tried "verifica_regras", "regras" and "verif". The same problems occurred anyway
5. Click OK
The extracted procedure will be placed within "verifica_conta", the procedure right above "valida_conta". I've been through this before, but I forgot to report it.
Also, notice that no references to the "r_dist" cursor were replaced for parameters.
Regards,
Gustavo
I'm facing some problems with Refactoring (PLSD 9 final). I've sent the sample code to support@allroundautomations.com:
1. Go to line 283 (For r_regra In ...) and place the cursor on the "For" keyword
2. Click the last "For loop" in the Hierarchy Pane to select the whole "r_regra" loop
3. Right-click the selected text and choose Refactoring -> Extract procedure
4. Give it a name. I tried "verifica_regras", "regras" and "verif". The same problems occurred anyway
5. Click OK
The extracted procedure will be placed within "verifica_conta", the procedure right above "valida_conta". I've been through this before, but I forgot to report it.
Also, notice that no references to the "r_dist" cursor were replaced for parameters.
Regards,
Gustavo