Search found 1075 matches

by Gregory Martin
November 15th, 2018, 9:23 pm
Forum: Android
Topic: retrieve information already entered
Replies: 3
Views: 19

Re: retrieve information already entered

You should post your application here, or send it to cspro@lists.census.gov, and we can take a look at it.
by Gregory Martin
November 15th, 2018, 9:22 pm
Forum: Feature Requests
Topic: Export or Tabulate only verified cases
Replies: 1
Views: 8

Re: Export or Tabulate only verified cases

I haven't tried this, but we added a function, IsVerified, to CSPro 7.0, so theoretically you could use that in your universe statement in an export/frequency, as in IsVerified(DICT_NAME).

http://www.csprousers.org/help/CSPro/is ... ction.html
by Gregory Martin
November 15th, 2018, 8:09 am
Forum: Entry
Topic: Dynamic Value Set From external dictionary does not retain values
Replies: 2
Views: 26

Re: Dynamic Value Set From external dictionary does not retain values

Whenever you start adding a new case, or modifying an existing case, the value sets are all reset to their initial values. In your case, whatever logic you execute during an add should be executed on a modify and you'll get the value sets that you expect. There is no way, other than recreating the v...
by Gregory Martin
November 15th, 2018, 7:11 am
Forum: Android
Topic: retrieve information already entered
Replies: 3
Views: 19

Re: retrieve information already entered

You can refer to other fields by surrounding them in percents. If you name variable is called P01_NAME, you could write:
%P01_NAME%, what is your age?
by Gregory Martin
November 14th, 2018, 12:42 pm
Forum: Editing
Topic: Batch file to Create new data file
Replies: 4
Views: 28

Re: Batch file to Create new data file

One option then is to have the output dictionary as an external dictionary to your batch application and then, for each case:

1) clear(DICT_NAME); This will clear any data in that dictionary.
2) Fill in variables in that dictionary.
3) writecase(DICT_NAME); Output the case.
by Gregory Martin
November 14th, 2018, 9:05 am
Forum: Editing
Topic: Batch file to Create new data file
Replies: 4
Views: 28

Re: Batch file to Create new data file

You can do this using the Export Data tool. Select which fields that you want to extract and make sure that CSPro is selected as the Export Format. Will this work for you?
by Gregory Martin
November 14th, 2018, 9:03 am
Forum: Other
Topic: maximum number of dictionaries that can be added to an application
Replies: 2
Views: 31

Re: maximum number of dictionaries that can be added to an application

There isn't one that I know of. A few years ago I worked on an application that had something like 20-25 external dictionaries. My guess is that if is a limit, that when you reach it you're at the point where you should rethink your application design :D.
by Gregory Martin
November 13th, 2018, 7:21 am
Forum: Entry
Topic: Delete value set label
Replies: 3
Views: 686

Re: Delete value set label

There is no automated way to do this. If you were familiar with the .dcf file format, you could edit that in a text editor, but your best option is probably to do it by hand.
by Gregory Martin
November 12th, 2018, 9:12 am
Forum: Entry
Topic: Calculate expected delivery date
Replies: 2
Views: 40

Re: Calculate expected delivery date

Take a look at the DateAdd function:

http://www.csprousers.org/help/CSPro/da ... ction.html

You can add a period of time (in days/months/years) to one date to get a final date.
by Gregory Martin
November 12th, 2018, 8:17 am
Forum: Entry
Topic: Delete case under conditions
Replies: 2
Views: 42

Re: Delete case under conditions

This is very easy even now. For example, if you only had one ID item, you could do this:

ID_ITEM = 10;

if loadcase(MY_DICT, ID_ITEM) then
    delcase(MY_DICT);
endif;

Go to advanced search