Search found 2399 matches
Re: Dynamic
The "set attributes(MY_FIELD) assisted on (responses)" is no longer needed in recent (6.2 and later) versions of CSPro. Instead just the set capture type of the field on the form to be "radio button". The approach that jfigueroa uses will work well if you have a small number of o...
- May 7th, 2017, 11:52 am
- Forum: Entry
- Topic: Can value sets be changed by answers to prior questions?
- Replies: 5
- Views: 4548
Re: Can value sets be changed by answers to prior questions?
Unfortunately there is not. If you know the codes you can retrieve the labels using the function getlabel() which gets the label for a particular code. Even if you don't know the values but you know the range, you can loop through the range and call getlabel() on each possible value ignoring the one...
- May 7th, 2017, 11:32 am
- Forum: Entry
- Topic: (NAME _DICT) How close a loadcase ?
- Replies: 3
- Views: 3128
Re: (NAME _DICT) How close a loadcase ?
That should work. You could check the return value of locate to see if it is failing but I doubt it would. You can send us your app and we can take a look.
- May 6th, 2017, 8:23 am
- Forum: Entry
- Topic: Cspro reset my inputData each time i run .pff on android, why ?
- Replies: 3
- Views: 3361
Re: Cspro reset my inputData each time i run .pff on android, why ?
Hard to say without seeing your application. We have made many applications with menu applications that use lookup files. I would look for any places you call setfile with the "create" flag as that will erase the file content as well as any place you call "deletefile". I would al...
- May 6th, 2017, 8:20 am
- Forum: Tools
- Topic: Export Data from Excel To CSPro Data Entry
- Replies: 13
- Views: 15031
Re: Export Data from Excel To CSPro Data Entry
Use the Excel2CSpro tool from the tools menu. Look at the help in that tool for details on how to use it.
- May 6th, 2017, 8:19 am
- Forum: Entry
- Topic: (NAME _DICT) How close a loadcase ?
- Replies: 3
- Views: 3128
Re: (NAME _DICT) How close a loadcase ?
You can use the locate function to restart at the beginning of the file:
locate(NAME_DICT, >=, "");
In CSPro 7 you can use the forcase statement which automatically positions you at the start of the file so you don't need the locate or loadcase.
forcase NAME_DICT do
enddo
locate(NAME_DICT, >=, "");
In CSPro 7 you can use the forcase statement which automatically positions you at the start of the file so you don't need the locate or loadcase.
forcase NAME_DICT do
enddo
- May 6th, 2017, 8:16 am
- Forum: Entry
- Topic: Can value sets be changed by answers to prior questions?
- Replies: 5
- Views: 4548
Re: Can value sets be changed by answers to prior questions?
Yes, this is a technique called dynamic value sets. You use the function setvalueset() to modify your value set from logic. See http://teleyah.com/cspro/DCJune2015/04-CAPI/04-CAPI.pdf for a description. You can also look at the simplecapi example in the CSPro examples folder as it does this for the ...
- May 6th, 2017, 8:13 am
- Forum: Entry
- Topic: Values remain blank when cleaning
- Replies: 3
- Views: 3178
Re: Values remain blank when cleaning
It is hard to say what is happening without seeing your application and knowing the steps that cause it to occur. It sounds like the dictionary and the data file don't match be if the application has never been updated that shouldn't happen.
- May 6th, 2017, 8:11 am
- Forum: Entry
- Topic: Is it possible to load an application on playstore ?
- Replies: 5
- Views: 4289
Re: Is it possible to load an application on playstore ?
PNC will not be supported on UWP. We have plans for a better way to do application deployment that will be implemented across all platforms.
- May 5th, 2017, 3:15 pm
- Forum: Synchronization
- Topic: CSPro7 Failed to connect
- Replies: 6
- Views: 6636
Re: CSPro7 Failed to connect
Next time please start a new thread rather than adding to an old one that has already been answered. It looks like you are trying to use a PNC file for Dropbox synchronization which is the old way. It uses an old Dropbox API that Dropbox is no longer supporting (see this post http://www.csprousers.o...