Search found 1804 matches
- April 10th, 2012, 6:32 pm
- Forum: Entry
- Topic: How to use f8 function
- Replies: 2
- Views: 4088
Re: How to use f8 function
The "Press F8 to clear" messages means that the error message box will disappear when the keyer presses F8. "Clear" refers to the error message, not the contents of the field. If you want to prevent the user from moving to the next field, you use the reenter command. For example,...
- April 5th, 2012, 2:45 am
- Forum: Entry
- Topic: Contents of .enc File
- Replies: 1
- Views: 3856
Re: Contents of .enc File
If you only have an .enc file, you cannot view the logic in any meaningful way. Essentially the .enc is a zipped file of the contents of your application as they are stored in memory. If you the rename the .enc file to .zip, you can unzip it and see that all of your application's files are contained...
- April 5th, 2012, 2:45 am
- Forum: Entry
- Topic: capture data using barcode readers/scanner and directly ente
- Replies: 8
- Views: 9214
Re: capture data using barcode readers/scanner and directly
You should be able to do this but it depends on the barcode scanner that you are using. Some barcode scanners work by putting out their result as plain text numbers with the value of the barcode. This could work in a data entry application, you would just have to make sure that the field is long eno...
- April 5th, 2012, 2:45 am
- Forum: Entry
- Topic: How to show long error messages?
- Replies: 1
- Views: 3872
Re: How to show long error messages?
To cut messages across several lines in your logic file, you can use the concat function like this: errmsg ( concat ( "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" , "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB" )); The concat function will join al...
- April 5th, 2012, 2:44 am
- Forum: Entry
- Topic: Elseif Question
- Replies: 1
- Views: 3161
Re: Elseif Question
There is a slight difference between the two formulations. The two following blocks of code do the same thing: if A then elseif B then else endif ; if A then else if B then else endif ; endif ; Why is a second endif needed in the second block? It helps to indent the code to understand why: if A then...
- April 5th, 2012, 2:44 am
- Forum: Entry
- Topic: Partial Save
- Replies: 9
- Views: 10993
Re: Partial Save
Indeed, both "allow partial save" and the savepartial function work independently of each other, though ultimately they do the same thing. You can have the operator control all partial saves, in which can you'll enable them in the data entry options. Or you as the programmer can control th...
- April 5th, 2012, 2:42 am
- Forum: Entry
- Topic: Mistyping Large Values on the PDA
- Replies: 1
- Views: 3036
Re: Mistyping Large Values on the PDA
This might be a bit cumbersome, but you could write a function to verify that the enumerator intended to write these large values. The cumbersome part comes in that you have to call this function after every variable that might contain a large number. PROC GLOBAL alpha ( 32 ) str; function confirmLa...
- April 2nd, 2012, 5:44 pm
- Forum: Tabulation
- Topic: Weights
- Replies: 2
- Views: 4626
Re: Weights
Generally you will use a batch edit application to add weights to a data file. Often you use the external file lookup features of CSPro to identify the weights. That is, you will have a file, prepared in Excel or another application, that contains each geographic area (an enumeration area or a clust...
- April 1st, 2012, 5:26 pm
- Forum: Entry
- Topic: How to creat logic files for a multiple question
- Replies: 19
- Views: 21645
Re: How to creat logic files for a multiple question
Could you write this: PROC A if $ in 1 : 5 then if A1($) = "1" then A1($) = " " ; else A1($) = "1" ; endif ; reenter ; elseif $ = 0 then numeric ctr; do ctr = 1 while ctr <= 5 if A1(ctr) = " " then A1(ctr) = "0" ; endif ; enddo ; skip to B; endif ;
- March 26th, 2012, 12:48 am
- Forum: Entry
- Topic: How to creat logic files for a multiple question
- Replies: 19
- Views: 21645
Re: How to creat logic files for a multiple question
Unfortunately, CSPro is not as good at addressing multiple-checkbox questions as some other software packages. This is something that we are going to address in the new CSPro, version 5, that will come out in a couple months. But for now, you generally have two options when you want to create such a...