Hi everyone
I have csentry application for a certain survey, but it has some problem and I failed to figure out and solve it. The problem is as follows:
When I run the application in Add mode the error does not appear, but when I run the same application ni Modify mode, it display an error saying:
"Application Startup Error
The case specified for modifying,, was not located in the data file"
In Add mode, the .pff file looks like this
[DataEntryInit]
StartMode=Add
Lock=Modify,Verify
FullScreen=Yes
NoFileOpen=Yes
Interactive=Ask
And in Modify mode the .pff file looks like this
[DataEntryInit]
StartMode=Modify
Lock=Add,Verify
FullScreen=No
NoFileOpen=No
Interactive=Ask
Is anything wrong? or what is the reason for this error im getting?
Thank you in advance.
Application Startup Error
-
- Posts: 77
- Joined: August 17th, 2015, 9:32 am
- Location: Dar es Salaam, Tanzania
Application Startup Error
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: 1805
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Application Startup Error
When you use StartMode=Modify, then you have to specify the case key (IDs) of the case that you want to modify. For example:
StartMode=Modify;010502
If you don't want to open up a certain case for modification, then leave that line out of your PFF.
StartMode=Modify;010502
If you don't want to open up a certain case for modification, then leave that line out of your PFF.
-
- Posts: 77
- Joined: August 17th, 2015, 9:32 am
- Location: Dar es Salaam, Tanzania
Re: Application Startup Error
Thank you Greg,
Do you mean it should appear like this:
[DataEntryInit]
Lock=Add,Verify
FullScreen=No
NoFileOpen=No
Interactive=Ask
Is that what you mean?
Do you mean it should appear like this:
[DataEntryInit]
Lock=Add,Verify
FullScreen=No
NoFileOpen=No
Interactive=Ask
Is that what you mean?
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: 1805
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Application Startup Error
Sure. Nearly all lines in the PFF are optional, so just leave out that StartMode line.