dear all CSPro community,
I am new to cspro i need your help.
I want to fill all fields of PPRPIMPACT from LFPPRP. if ID fields matched.
I also need your help in creating dynamic valuesets.
program files are attache please help.
fetch data from external file
-
Shahmeer
- Posts: 3
- Joined: July 9th, 2019, 2:42 am
fetch data from external file
You do not have the required permissions to view the files attached to this post.
-
aaronw
- Posts: 571
- Joined: June 9th, 2016, 9:38 am
- Location: Washington, DC
Re: fetch data from external file
Once the id items have been entered for PPRPIMPACT, you can call loadcase to see if the case exists in LFPPRP. If it does the values will be in memory and you can do the assignments.
if loadcase(LFPPRP_DICT, DISTRICT, TALUKA, UC, TRAINEE) then
DISTRICT_NAME = LFDISTRICTNAME;
// etc
endif;
For dynamic value sets take a look at the workshop materials in session 5.DISTRICT_NAME = LFDISTRICTNAME;
// etc
endif;
-
Shahmeer
- Posts: 3
- Joined: July 9th, 2019, 2:42 am
Re: fetch data from external file
Thank you very much for helping me "aaronw"
The maketext("%V%V%V%V", ...) is giving invalid argument error. rest is fine. once again thanks.
The maketext("%V%V%V%V", ...) is giving invalid argument error. rest is fine. once again thanks.
-
aaronw
- Posts: 571
- Joined: June 9th, 2016, 9:38 am
- Location: Washington, DC
Re: fetch data from external file
No problem, I've corrected the errors in the above logic.