Got an error
WARNING: Out of range! Please enter a valid value for SC
A 1010 Application error: protected field SC out of range value is NOTAPPL
I have the following variables:
StateCode = SC (2 length)
DistrictCode = DC (3 length)
BlockCode = BC (3 length)
VillageCode = VC (2 length)
HouseNumber = HOUSE_NUMBER (3 length)
I want this HHID to be auto filled and protected:
HHID (15 length)= StateCode+DistrictCode+BlockCode+VillageCode+HouseNumber
Given logic as:
PROC HH_ID
Preproc
$ = concat (edit("99",SC), edit("9",DC), edit("9",BC), edit("99",VC), edit("999",HOUSE_NUMBER));
noinput;
//edit("99",strip(SC)), edit("9",strip(DC)), edit("9",strip(BC)), edit("99",strip(VC)), edit("999",strip(HOUSE_NUMBER)));
Please help, thanks .
A 1010 Application error
A 1010 Application error
- Attachments
-
- Error 1010.rar
- (110.59 KiB) Downloaded 226 times
-
- Posts: 1796
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: A 1010 Application error
The application that you attached does not have any problem SC. That field is not even protected in your program. Did you mean to attach a different file?
Re: A 1010 Application error
Hi Gregory Martin
Sorry for late reply. Yes I have uploaded the un-protected files (removed protected varibales). Let me upload the new file.
Thank you.
Sorry for late reply. Yes I have uploaded the un-protected files (removed protected varibales). Let me upload the new file.
Thank you.
Re: A 1010 Application error
Hi Gregory Martin
Please find the attached new file.
Thank you.
Please find the attached new file.
Thank you.
- Attachments
-
- HH.rar
- (23.01 KiB) Downloaded 238 times
-
- Posts: 1796
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: A 1010 Application error
You attached the .pen file, which is compiled so it is not possible to see the logic. Please upload the whole application (dictionary, forms, etc.).
Re: A 1010 Application error
Hi Gregory Martin
My apologies again.
Please find the complete file attached.
Thank you
My apologies again.
Please find the complete file attached.
Thank you
- Attachments
-
- HH_DESKTOP.rar
- (45.64 KiB) Downloaded 225 times
-
- Posts: 1796
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: A 1010 Application error
I can now see your application. Can you restate your problem? I am able to fill out all of your IDs without resulting in an application error.
Re: A 1010 Application error
Hi Gregory Martin
Got an error while saving the file after filled up.
I have the following variables:
StateCode = SC (2 length)
DistrictCode = DC (3 length)
BlockCode = BC (3 length)
VillageCode = VC (2 length)
HouseNumber = HOUSE_NUMBER (3 length)
I want this HHID to be auto filled and protected:
HHID (15 length)= StateCode+DistrictCode+BlockCode+VillageCode+HouseNumber
Thank you.
Got an error while saving the file after filled up.
WARNING: Out of range! Please enter a valid value for SC
A 1010 Application error: protected field SC out of range value is NOTAPPL
I have the following variables:
StateCode = SC (2 length)
DistrictCode = DC (3 length)
BlockCode = BC (3 length)
VillageCode = VC (2 length)
HouseNumber = HOUSE_NUMBER (3 length)
I want this HHID to be auto filled and protected:
HHID (15 length)= StateCode+DistrictCode+BlockCode+VillageCode+HouseNumber
Thank you.
Re: A 1010 Application error
Hi Gregory Martin
If I don't protect t he file (variable) it is fine to save but if I protect and variable the issue pops up.
Please find the below attached file.
Thank you
If I don't protect t he file (variable) it is fine to save but if I protect and variable the issue pops up.
Please find the below attached file.
Thank you
- Attachments
-
- HH_DESKTOP.rar
- (46.28 KiB) Downloaded 231 times
-
- Posts: 1796
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: A 1010 Application error
The problem is with all the variables that you are protecting in logic. That protection setting persists from one run to the next, so if you protect something, you need to unprotect it the next time. Something like this:
PROC HH_QUEST
preproc
set attributes(SC) native;
set attributes(DC) native;
// ...
preproc
set attributes(SC) native;
set attributes(DC) native;
// ...