Search found 1794 matches

by Gregory Martin
April 23rd, 2018, 7:39 am
Forum: Android
Topic: Can't save photo in Android
Replies: 5
Views: 4609

Re: Can't save photo in Android

If your application is in: InternalStorage/csentry/2018NS/2018NS/ The pathname function will return the dictionary name with a trailing slash, so wouldn't your photo name be: string NamaFoto = pathname (application) + maketext ( "RESOURCES/PHOTO_E/PHOTO_E_%04d_1.jpg" , ID_RESP); Make sure ...
by Gregory Martin
April 23rd, 2018, 7:32 am
Forum: Entry
Topic: Getting the present form
Replies: 2
Views: 2561

Re: Getting the present form

There is no GetForm-style function, but you can get GetRecord to get the name of the record that you're on. If you want to take different action based on the record that you're entering, you can use that.
by Gregory Martin
April 23rd, 2018, 7:25 am
Forum: Android
Topic: Controlling the navigation buttons
Replies: 3
Views: 3217

Re: Controlling the navigation buttons

You could hack together a solution where you could sort of tell if the user clicked on the previous button, but you would have to control for all of these scenarios (like entry on rosters) that would make the solution a limited one. It also wouldn't work properly when using the case tree to move. Ma...
by Gregory Martin
April 19th, 2018, 7:05 am
Forum: Android
Topic: Controlling the navigation buttons
Replies: 3
Views: 3217

Re: Controlling the navigation buttons

Can you just set those fields to protected? If so, even when the user moves backwards, they'll never see them.
by Gregory Martin
April 19th, 2018, 6:44 am
Forum: Editing
Topic: recover deleted cases?
Replies: 3
Views: 5574

Re: recover deleted cases?

To add to Aaron's post, the only way to currently do this is to edit the .csdb file, which is a SQLite file. You can actually do this in CSPro with version 7.1. This, for example, will recover a case with the ID 0001, using the Simple CAPI dictionary: sqlquery (SIMPLECAPI_DICT, "UPDATE `cases` ...
by Gregory Martin
April 7th, 2018, 5:24 pm
Forum: Android
Topic: External File is'nt read by the Application
Replies: 2
Views: 3227

Re: External File is'nt read by the Application

I took your application and it works for me.

1) Generate your .pen file using CSPro 7.1.

2) Make sure that the file AppUbigeo/ubigeo.csdb is copied to the Android device.

Let me know if it still doesn't work.
by Gregory Martin
April 7th, 2018, 3:04 pm
Forum: Entry
Topic: Dictionary cannot be read by CSPro 7.0
Replies: 10
Views: 8664

Re: Dictionary cannot be read by CSPro 7.0

It's hard to know without seeing your Android device and all of your application. Given your .pnc file, and the fact that you say that the .pff isn't pointing to a different file, it's hard to know why you would be missing cases. I'm sorry that we couldn't figure out what the problem is.
by Gregory Martin
April 5th, 2018, 1:24 pm
Forum: Entry
Topic: Populate roster
Replies: 2
Views: 2768

Re: Populate roster

One option is to have an external file that contains information about which products are in a store. Then, using the loadcase function, you figure out which products are in the store and populate the roster with those products. You can change the labels of each row of the roster with the setocclabe...
by Gregory Martin
April 5th, 2018, 7:28 am
Forum: Entry
Topic: Dictionary cannot be read by CSPro 7.0
Replies: 10
Views: 8664

Re: Dictionary cannot be read by CSPro 7.0

Nothing in your file immediately makes me think that there is a problem. One thing I would check is whether, when you GET the files from Appname, whether you are getting a PFF file that connects to a different data file. If that were the case, then when you open your application next, you would see ...
by Gregory Martin
April 4th, 2018, 3:19 pm
Forum: Entry
Topic: Dictionary cannot be read by CSPro 7.0
Replies: 10
Views: 8664

Re: Dictionary cannot be read by CSPro 7.0

That isn't normal. What does your .pnc file look like?