Search found 1793 matches

by Gregory Martin
January 17th, 2017, 3:18 pm
Forum: Other
Topic: CSPro Beta 7.0
Replies: 4
Views: 5082

Re: CSPro Beta 7.0

Sorry about that. I used to update the beta releases but I no longer have access to that site. That means that there was a delay updating the site, but the new version is up now.
by Gregory Martin
January 17th, 2017, 3:11 pm
Forum: Tools
Topic: Excel to CSPro Dic
Replies: 7
Views: 6726

Re: Excel to CSPro Dic

In addition to what Arshad said, you can read the helps about this tool. They aren't complete (as you know, this is in beta), but there is a help document for "Creating a Dictionary From an Excel File." Press F1 from within the tool.
by Gregory Martin
January 3rd, 2017, 6:26 am
Forum: Entry
Topic: Syntax If on Occurrences Variable
Replies: 26
Views: 19068

Re: Syntax If on Occurrences Variable

You can change whether or not the item is filled in and then set the field to protected if it is. Something like this: PROC FQ1 onfocus if visualvalue (FQ1( curocc ())) <> notappl then set attributes(FQ1) protect; else set attributes(FQ1) native; endif ;
by Gregory Martin
December 31st, 2016, 10:52 am
Forum: Entry
Topic: Syntax If on Occurrences Variable
Replies: 26
Views: 19068

Re: Syntax If on Occurrences Variable

The forum was down for a short while as we moved it from one server to another. Try this for your logic: PROC FQ1 preproc set behavior(FQ1) canenter( notappl ) on ( noconfirm ); // allow blanks on this field postproc if FQ1 = notappl then if curocc () = 1 then errmsg ( "Please entry at least on...
by Gregory Martin
December 31st, 2016, 10:49 am
Forum: Entry
Topic: Current Dictionary item / Occurrences
Replies: 1
Views: 2468

Re: Current Dictionary item / Occurrences

The getsymbol function will return the current field of data entry. From that you can get the record name with getrecord. You can use curocc to get the occurrence number.

I don't think you'll be able to get the label or occurrence label though.
by Gregory Martin
December 19th, 2016, 3:14 pm
Forum: Entry
Topic: CAPI Questions Disappeared
Replies: 1
Views: 2393

Re: CAPI Questions Disappeared

If you think that something is wrong with your application, send it (or at least the CAPI file that ends with .qsf) to cspro@lists.census.gov. We can look to see what might be happening.
by Gregory Martin
December 19th, 2016, 3:04 pm
Forum: Entry
Topic: Excel to CSPro - Dictionary Macro
Replies: 5
Views: 4813

Re: Excel to CSPro - Dictionary Macro

Arshad's advice is correct. That is why we added the "Add Items to Records" function. Because you can only edit entries, not add or delete them, that feature allows you to easily add the entries and then use "Paste All" to get the information from Excel.
by Gregory Martin
December 19th, 2016, 2:58 pm
Forum: Entry
Topic: CSPRO save data to utf8-without bom
Replies: 1
Views: 2541

Re: CSPRO save data to utf8-without bom

Unfortunately, there is no way to do this. Because text data files have no mechanism for storing metadata, we use the BOM to determine whether the file should be treated as a UTF-8 file.

Would it work for you to collect data and then you could have another tool strip the BOM from the file?
by Gregory Martin
December 19th, 2016, 2:53 pm
Forum: Entry
Topic: problem in putting the file into the right folder by bluetoo
Replies: 6
Views: 6115

Re: problem in putting the file into the right folder by bluetoo

jkajiba: You should remove the ' characters around DeviceID and UID.
by Gregory Martin
December 19th, 2016, 2:48 pm
Forum: Editing
Topic: How do I get text of error message by Number?
Replies: 3
Views: 5737

Re: How do I get text of error message by Number?

You can use the maketext function. For example:
userbar(add text,maketext(100));