Search found 1799 matches
- May 6th, 2013, 8:43 am
- Forum: Entry
- Topic: Interact with Microsoft Windows or others programs
- Replies: 6
- Views: 6389
Re: Interact with Microsoft Windows or others programs
You can use the execsystem function to launch any external Windows application. If you can find an application that performs your required task, whether it is making a recording or taking a photo, then you can call that program with execsystem.
- May 6th, 2013, 8:42 am
- Forum: Entry
- Topic: Drag option
- Replies: 5
- Views: 5953
Re: Drag option
In your dictionary, have you specified that the record should occur more than once? A roster will only be created for multiply-occurring records.
- May 6th, 2013, 8:41 am
- Forum: Other
- Topic: How I can provide Data with ASCII file
- Replies: 1
- Views: 3693
Re: How I can provide Data with ASCII file
You can use the tool that comes with CSPro, Unicode Text Converter, to turn your UTF-8 files back to ANSI files. However, if you have used any non-ANSI characters, these characters will get converted to question marks in your resulting file. If you have only used numbers and Latin characters, then y...
- May 2nd, 2013, 8:52 am
- Forum: Entry
- Topic: Data entry--inability to generate index for data file
- Replies: 3
- Views: 4798
Re: Data entry--inability to generate index for data file
If you're having problems creating an index, try creating it separately from your data entry program. Run the Index Files tool and see if you can create an index for your data file. If you can't, it means that there is probably some incorrect about the way your dictionary is describing the file, or ...
- April 23rd, 2013, 7:47 am
- Forum: Entry
- Topic: Using previously entered value
- Replies: 6
- Views: 7105
Re: Using previously entered value
As an example, this code sets the external dictionary to a dynamically created file name (comprised of the operator ID) and then reads the entire file, filling two rosters with information about whether cases were submitted (CS) or are in progress (CIP). function readOperatorWorkFile() setfile (CIPS...
- April 23rd, 2013, 7:41 am
- Forum: Editing
- Topic: Automatic copy between cases
- Replies: 1
- Views: 4425
Re: Automatic copy between cases
Look at the response to a similar question here: http://www.csprousers.org/forum/viewtopic.php?f=1&t=638
- April 22nd, 2013, 11:39 pm
- Forum: Entry
- Topic: Using previously entered value
- Replies: 6
- Views: 7105
Re: Using previously entered value
If you're worried about keyers changing the value of the external data file, you can set it to a junk file and then use the setfile to change it to the actual file from within logic. That way the keyer won't know the name of the file containing the values.
- April 22nd, 2013, 6:08 pm
- Forum: Editing
- Topic: Wrap WRITE() function parameters
- Replies: 1
- Views: 3957
Re: Wrap WRITE() function parameters
Whitespace doesn't matter in CSPro, so you can break the line after any of the items. Am I understanding your question correctly? You could write: write ( "%s" , itemList (SERIAL_NUMBER, PROVINCE, COUNTY, DISTRICT, MUNICIPALITY_LOCAL_AUTHORITY, NAME_OF_HOUSING_Homebuilders, SEX, AGE, BUILD...
- April 22nd, 2013, 6:02 pm
- Forum: Entry
- Topic: Using previously entered value
- Replies: 6
- Views: 7105
Re: Using previously entered value
There are two ways to do this, but neither are very straightforward: 1) Store the value in a temporary variable (declared in the PROC GLOBAL section). The problem with this approach is that the value of these variables only last for your current data entry session, so if you close the program and op...
- April 22nd, 2013, 5:55 pm
- Forum: Entry
- Topic: Values not recorded if skipped
- Replies: 1
- Views: 2891
Re: Values not recorded if skipped
This is the desired behavior of system controlled mode. If you change your data entry application to run in operator controlled mode, you'll be able to access the value. In that mode the value will also be saved to the data file. System controlled mode sets all these skipped values to notappl before...