Hi all,
I have an application, in which I put two .pff file, one for adding new questionnaire, and the second one is for editing the questionnaire. Now I want to create another pff file to perform a synchronization. writting a syscconnect through userbar button its possible, but the button is not visible until you open a new qeustionnaire or or edit, befor that userbar is not visible. Thats why I want to create a .pff file for doing a sychronization, is it possible ?how can I do that?
Thanks
Synchronization with PFF file
Forum rules
New release: CSPro 8.0
New release: CSPro 8.0
-
- Posts: 74
- Joined: August 17th, 2015, 9:32 am
- Location: Dar es Salaam, Tanzania
Synchronization with PFF file
Munir Mdee
Software Programmer
National Bureau of Statistic (NBS)
Jakaya Kikwete Road,
P.O.Box 2683,
Dodoma,TANZANIA
Mob: +255 755 740090
Email: munir.mdee@nbs.go.tz
munirmdee@gmail.com
Software Programmer
National Bureau of Statistic (NBS)
Jakaya Kikwete Road,
P.O.Box 2683,
Dodoma,TANZANIA
Mob: +255 755 740090
Email: munir.mdee@nbs.go.tz
munirmdee@gmail.com
-
- Posts: 1777
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Synchronization with PFF file
What if you add something to the Parameters section like of the PFF file:
PerformSync=1
Then in your program, in the program preproc (..._FF), you can do this:
PerformSync=1
Then in your program, in the program preproc (..._FF), you can do this:
PROC MY_PROGRAM_FF
if sysparm("PerformSync") = "1" then
// execute my sync
stop(1);
endif;
if sysparm("PerformSync") = "1" then
// execute my sync
stop(1);
endif;