Search found 1397 matches

by Gregory Martin
February 18th, 2021, 4:26 pm
Forum: Entry
Topic: Get Error Msg Number
Replies: 14
Views: 969

Re: Get Error Msg Number

As you probably noticed, the beta was released yesterday: https://www.csprousers.org/beta/

Hopefully the release will come in a couple weeks.
by Gregory Martin
February 4th, 2021, 4:51 pm
Forum: Other
Topic: Help to eliminate blank lines in a report or make dynamic arrangements
Replies: 3
Views: 292

Re: Help to eliminate blank lines in a report or make dynamic arrangements

Because of the array issue that you mention, I use working storage dictionaries when writing reports. In summary, you: 1) Add a working storage dictionary to your application (File -> Add Files). 2) Add a repeating record and add items to the record for each column of your table. 3) Instead of popul...
by Gregory Martin
January 19th, 2021, 1:00 pm
Forum: Editing
Topic: trace help (a tiny detail)
Replies: 7
Views: 729

Re: trace help (a tiny detail)

The location of set trace is a compile-time, not runtime, setting. If you don't have it in your program's logic before the definition of your functions, then those functions won't be traced (because their logic won't be built into your compiled application). Generally if you want to trace logic, you...
by Gregory Martin
January 18th, 2021, 3:25 pm
Forum: Other
Topic: CSPRO Lookup table
Replies: 2
Views: 344

Re: CSPRO Lookup table

Take a look at startswith: https://www.csprousers.org/help/CSPro/s ... ction.html

You can use this in a forcase statement to greatly speed up your loop.
by Gregory Martin
January 1st, 2021, 2:40 pm
Forum: Entry
Topic: reenter
Replies: 4
Views: 247

Re: reenter

If TEAM_NUMBER is located after HOUSEHOLD_INTERVIEW, then you'll have to use visualvalue to get the value:
PROC HOUSEHOLD_INTERVIEW

onfocus

    if visualvalue
(TEAM_NUMBER) = 5 then
        setvalueset
({...})
   
else
        // ...
   
endif;
by Gregory Martin
December 31st, 2020, 5:45 pm
Forum: Entry
Topic: reenter
Replies: 4
Views: 247

Re: reenter

I don't think I understand the question. You can use the setvalueset function to set a value set for either XX or YY, even if the value set doesn't "belong" to that item:
setvalueset(XX, XX_VS2); // fine
setvalueset(YY, XX_VS2); // also fine
by Gregory Martin
December 31st, 2020, 5:39 pm
Forum: Entry
Topic: Get Error Msg Number
Replies: 14
Views: 969

Re: Get Error Msg Number

Unfortunately there is no trick to hide the sync information other than overriding the .mgf file, which won't work until CSPro 7.6, or if you email Savy, he can probably put out a CSPro 7.5.2 patch release.
by Gregory Martin
December 31st, 2020, 2:41 pm
Forum: Tools
Topic: frequencies specs
Replies: 2
Views: 375

Re: frequencies specs

Unfortunately, CSPro 7.6 is not out yet, as this will be very easy in that version (since we've completely redone the frequency generator). In the meantime, your best option is to add a .bat file to your Production Runner that renames the CSFrqRun.tbw file to the name that you want. Something like: ...
by Gregory Martin
December 29th, 2020, 12:59 pm
Forum: Entry
Topic: Get Error Msg Number
Replies: 14
Views: 969

Re: Get Error Msg Number

Take a look at this function: https://www.csprousers.org/help/CSPro/onsystemmessage_global_function.html Rather than modify the messages, if will be easier for you to add that function to your application and then suppress the messages that you don't want. For example, this will suppress the display...
by Gregory Martin
December 29th, 2020, 10:26 am
Forum: Other
Topic: Examples 7.5 folder and production runner
Replies: 2
Views: 315

Re: Examples 7.5 folder and production runner

You can get the latest version of the Examples folder from here: https://github.com/CSProDevelopment/examples Click on the "Code" button and then select "Download ZIP." Regarding Production Runner, as that messages says, the tool will fail to open if you don't have the entire set of CSPro executable...