Urgent Assistance Needed: Script Overflow Issue Causing Program Shutdown!
Posted: March 20th, 2024, 5:40 pm
Hello friends,
I am a completely new user in the world of CSPro, and I would like to ask for your support with an issue I am facing. I am working on a data entry project in which I have a script with over 4 thousand records. However, this volume of data is causing the program to shut down completely when compiling or running it.
I have noticed that if I limit the number of characters, the program works correctly. The script consists of assigning values to different variables when entering a specific code, as shown below:
PROC IDSTUDENT
if IDSTUDENT = "G123" then
cod_centro = "040200002B20";
depto = "COPAN";
muni = "CABANAS";
n_centro = "28 DE FEBRERO";
idschool = "IH055";
n_alumno = "MARBENI XIOMARA FRANCO CASTRO";
elseif IDSTUDENT = "G124" then
cod_centro = "040200002B20";
depto = "COPAN";
muni = "CABANAS";
n_centro = "28 DE FEBRERO";
idschool = "IH055";
n_alumno = "KENIA MARIBEL LEIVA ALVARADO";
elseif IDSTUDENT = "G125" then
cod_centro = "040200002B20";
depto = "COPAN";
muni = "CABANAS";
n_centro = "28 DE FEBRERO";
idschool = "IH055";
n_alumno = "MARYURI YORLENI INTERIANO GUEVARA";
elseif IDSTUDENT = "G126" then
cod_centro = "040200002B20";
depto = "COPAN";
muni = "CABANAS";
n_centro = "28 DE FEBRERO";
idschool = "IH055";
n_alumno = "LESLY YOHELY MORALES JAVIER";
This is the structure of the script, but as I mentioned, it has over 4 thousand records, which is causing issues. Could you please help me solve this?
Thank you very much for your attention and collaboration!
Best regards,
LEONARD
I am a completely new user in the world of CSPro, and I would like to ask for your support with an issue I am facing. I am working on a data entry project in which I have a script with over 4 thousand records. However, this volume of data is causing the program to shut down completely when compiling or running it.
I have noticed that if I limit the number of characters, the program works correctly. The script consists of assigning values to different variables when entering a specific code, as shown below:
PROC IDSTUDENT
if IDSTUDENT = "G123" then
cod_centro = "040200002B20";
depto = "COPAN";
muni = "CABANAS";
n_centro = "28 DE FEBRERO";
idschool = "IH055";
n_alumno = "MARBENI XIOMARA FRANCO CASTRO";
elseif IDSTUDENT = "G124" then
cod_centro = "040200002B20";
depto = "COPAN";
muni = "CABANAS";
n_centro = "28 DE FEBRERO";
idschool = "IH055";
n_alumno = "KENIA MARIBEL LEIVA ALVARADO";
elseif IDSTUDENT = "G125" then
cod_centro = "040200002B20";
depto = "COPAN";
muni = "CABANAS";
n_centro = "28 DE FEBRERO";
idschool = "IH055";
n_alumno = "MARYURI YORLENI INTERIANO GUEVARA";
elseif IDSTUDENT = "G126" then
cod_centro = "040200002B20";
depto = "COPAN";
muni = "CABANAS";
n_centro = "28 DE FEBRERO";
idschool = "IH055";
n_alumno = "LESLY YOHELY MORALES JAVIER";
This is the structure of the script, but as I mentioned, it has over 4 thousand records, which is causing issues. Could you please help me solve this?
Thank you very much for your attention and collaboration!
Best regards,
LEONARD