Search found 1775 matches

by Gregory Martin
August 12th, 2013, 1:34 pm
Forum: Entry
Topic: ERROR:You must assign the result of the function to an alpha
Replies: 12
Views: 12487

Re: ERROR:You must assign the result of the function to an a

If Q4 is protected, you need to assign a value to it before the field is reached. Try code like this:
PROC Q4

preproc

    
if poschar("AB",Q1) then
        Q4 =
0;
    
endif;
by Gregory Martin
August 8th, 2013, 5:07 pm
Forum: Entry
Topic: size record
Replies: 2
Views: 2947

Re: size record

A record can be very long, at least 8000 characters long, and I believe much longer.

Are you sure that your export settings are correct? If you think that there is a problem with CSPro, please send me your dictionary (gregory.martin@census.gov) and I can see if I can determine the problem.
by Gregory Martin
August 7th, 2013, 1:30 pm
Forum: Entry
Topic: ERROR:You must assign the result of the function to an alpha
Replies: 12
Views: 12487

Re: ERROR:You must assign the result of the function to an a

If your condition is:

"If Q1 does not have A and Q2 does not have B then then skip to Q3"

You would write it:
if not poschar("A",Q1) and not poschar("B",Q2) then
    
skip to Q3;
endif;
by Gregory Martin
August 7th, 2013, 10:31 am
Forum: Entry
Topic: Logic conditional on a value in a roster's occurrence
Replies: 2
Views: 4018

Re: Logic conditional on a value in a roster's occurrence

Giacomo,

You would write your code like this:
PROC ORANGES

preproc

    
if APPLES(4) = 5 then
        
skip to BANANAS;
    
endif;
by Gregory Martin
August 6th, 2013, 8:02 pm
Forum: Entry
Topic: Cspro import data
Replies: 6
Views: 6348

Re: Cspro import data

By a .ddw file are you referring to a IMPS dictionary file? If so, why do you need the CSPro step? If not, what format are you referring to?

I'm glad you like the feature comparison gatekeeper! I hope that it hasn't kept too many legitimate posters from commenting. Mail Merge can be tricky!
by Gregory Martin
July 24th, 2013, 3:20 am
Forum: Other
Topic: cspro 5 in nokia lumia
Replies: 4
Views: 6124

Re: cspro 5 in nokia lumia

CSPro does not work on the Lumia series of phones, so there is not much that I can help you with, unfortunately.
by Gregory Martin
July 17th, 2013, 7:39 am
Forum: Entry
Topic: strange behaviour with command "move to [var] advance"
Replies: 5
Views: 5730

Re: strange behaviour with command "move to [var] advance"

Off the top of my head, those are the only rules for moves. Is your application a two-level application? I think that CSPro would complain if you tried to move to the second level while on the first level. If there is a sequence of actions that you can take in which the problem always occurs, can yo...
by Gregory Martin
July 15th, 2013, 9:03 am
Forum: Tools
Topic: concatenation behaviour
Replies: 4
Views: 6961

Re: concatenation behaviour

You're right ... this is a something that we didn't think about when doing the Unicode conversion. I've fixed the problem and it will come out in the 5.0.3 release (next month probably).

Thanks for reporting this bug!
by Gregory Martin
July 14th, 2013, 5:25 am
Forum: Feature Requests
Topic: Printing data entry form
Replies: 9
Views: 18194

Re: Printing data entry form

You can test writeform by creating an application and at a point at which you want the data on your form saved to the disk, write: writeform FORM_NAME; After closing CSEntry, you'll see that there is a new file with the extension .wrt in your application folder. You can open this file with the FView...
by Gregory Martin
July 13th, 2013, 12:18 am
Forum: Entry
Topic: strange behaviour with command "move to [var] advance"
Replies: 5
Views: 5730

Re: strange behaviour with command "move to [var] advance"

Can you post an application so that we can see what you are talking about? Even if the advance is executed from the OnKey function, it should obey the rules of calling the correct PROCS as it moves along to the field.