Search found 1031 matches

by Gregory Martin
September 19th, 2018, 7:48 am
Forum: Entry
Topic: How to do double data entry in CSPro?
Replies: 1
Views: 16

Re: How to do double data entry in CSPro?

There are generally two ways that people manage double entry operations in CSPro: 1) Independent verification. In this model, you have two keyers enter the data to separate data files. Once they both finish, you use the Compare Data tool to compare the files. One of the keyers, or a third independen...
by Gregory Martin
September 19th, 2018, 7:38 am
Forum: Synchronization
Topic: CSWeb hosting on google cloud (google app engine)
Replies: 1
Views: 7

Re: CSWeb hosting on google cloud (google app engine)

CSWeb runs on PHP/MySQL, so theoretically that should be possible, though I don't know if it's been tried. (We've definitely setup CSWeb on an AWS instance.) You could follow these instructions for setting up the software to run CSWeb: https://cloud.google.com/php/getting-started/using-cloud-sql-wit...
by Gregory Martin
September 17th, 2018, 10:07 am
Forum: Editing
Topic: Calling Multiple batch pff
Replies: 3
Views: 31

Re: Calling Multiple batch pff

I don't think I understand the problem. In general, if you wanted to run four PFFs, you could do something like this: execpff ( "pff_name1.pff" , wait); execpff ( "pff_name2.pff" , wait); execpff ( "pff_name3.pff" , wait); execpff ( "pff...
by Gregory Martin
September 15th, 2018, 11:59 am
Forum: Android
Topic: Consulting savesettings
Replies: 1
Views: 15

Re: Consulting savesettings

You could use the SqlQuery function to query the settings file and then display them in with the ShowArray statement. In any case, you would have to write functions to do this yourself. On Windows the file is located here: C:\Users\<your username>\AppData\Roaming\CSPro\CommonStore.db You can do it e...
by Gregory Martin
September 14th, 2018, 11:30 am
Forum: Entry
Topic: CODING THIS TABLE
Replies: 2
Views: 44

Re: CODING THIS TABLE

I would add a record to your dictionary and set the occurrences to 11. In that record you would add three items, one for each column where you are going to enter data. You can then set the value set for each item (for example, 0 - 120,000 for the Viongozi item). You can set the occurrence labels for...
by Gregory Martin
September 14th, 2018, 11:12 am
Forum: Entry
Topic: function visualvalue for String/Alpha fields
Replies: 1
Views: 21

Re: function visualvalue for String/Alpha fields

When querying the value of a string field, you will always get the "visual value." So you can just do:

if $ = "" and sysparm("HeadHousehold") <> "" then
    $ = sysparm("HeadHousehold");
endif;
by Gregory Martin
September 14th, 2018, 11:11 am
Forum: Entry
Topic: extract the nth value from a valueset and fill a field with this value
Replies: 3
Views: 43

Re: extract the nth value from a valueset and fill a field with this value

Does the randomizevs function work for your purposes? Also, it would be some work, but you could move the values of your non-continuous value set into an array doing something like this: numeric array_counter = 1 ; do numeric value = minvalue (VALUE_SET_NAME) while value <= maxvalue (VAL...
by Gregory Martin
September 13th, 2018, 1:38 pm
Forum: Other
Topic: Pff problem
Replies: 1
Views: 21

Re: Pff problem

I was able to recreate your problem, which surprised me because Windows should not allow colons in filenames. I was not able to figure out a way to navigate to the file using Windows Explorer. Here is a workaround: 1) Create a batch application using the data entry dictionary. Do not add any logic t...
by Gregory Martin
September 13th, 2018, 1:27 pm
Forum: Entry
Topic: extract the nth value from a valueset and fill a field with this value
Replies: 3
Views: 43

Re: extract the nth value from a valueset and fill a field with this value

The only way to get the labels from a value set is to use the getlabel function. This works fine if you have a value set with consecutive discrete values, but if you have gaps in data (like you skipped D and France was E), then this will be a problem for you. I could get Ghana with code like this: g...
by Gregory Martin
September 13th, 2018, 10:17 am
Forum: Entry
Topic: statements
Replies: 1
Views: 18

Re: statements

Have you read the helps on these statements? http://www.csprousers.org/help/CSPro/onfocus_statement.html http://www.csprousers.org/help/CSPro/killfocus_statement.html Almost no application will ever use killfocus. Onfocus is useful though for CAPI applications. It is triggered when moving both forwa...

Go to advanced search