Search found 600 matches

by htuser
May 12th, 2022, 2:05 pm
Forum: Entry
Topic: Putting an expiry date to the Data entry Application
Replies: 5
Views: 873

Re: Putting an expiry date to the Data entry Application

1.- For gather time from a server: a.- You'll have to download the JS libs*, put it on your CSEntry App folder and reference his path in CSPro logic. For help, please read support provided by Alex months ago, in this post: https://www.csprousers.org/forum/viewtopic.php?f=1&t=4780 b.-You'll have ...
by htuser
May 12th, 2022, 12:35 am
Forum: Feature Requests
Topic: Code Highlighter and compiler(interpreter) for Javascript in CSPro Designer
Replies: 0
Views: 641

Code Highlighter and compiler(interpreter) for Javascript in CSPro Designer

Dear CSPro Developer Team, Because CSProusers will use more and more Javascript in the CSPro Designer, specially when a bidirectional JS-CSPro API is ready. So, in the CSPro Designer, we would like to have Code Highlighter for Javascript a)For Reports (that should be renamed to HTML UI...) ; b) For ...
by htuser
May 11th, 2022, 5:13 pm
Forum: Entry
Topic: Putting an expiry date to the Data entry Application
Replies: 5
Views: 873

Re: Putting an expiry date to the Data entry Application

Thanks again to the CSPro Developer Team for the support of Javascript in CSPro. @Sham, for the already posted b) , you can use lot of JS libs for having a server time and detect if there's a time change on device. https://github.com/NodeGuy/server-date https://www.nodeguy.com/serverdate/ or https:/...
by htuser
May 11th, 2022, 9:28 am
Forum: Entry
Topic: Putting an expiry date to the Data entry Application
Replies: 5
Views: 873

Re: Putting an expiry date to the Data entry Application

Hi Sham, You can explore several ways: a) Change the password of your Dropbox account once the fieldwork is over; (It's the simplest way) b) Using The publishdate function for your deployed app and based on device date (using CSPro sysdate function) disable the app after a specified number of days. ...
by htuser
May 10th, 2022, 6:45 am
Forum: Tools
Topic: Paradata to MySQL using JS-CSPro API and Pyscript
Replies: 0
Views: 924

Paradata to MySQL using JS-CSPro API and Pyscript

Dear CSPro Developer Team, As mentioned in previous emails, having all paradata in a centralized MySQL database will allow us to perform better analysis of them. Thanks to a future bidirectional JS-CSPro API* and to Pyscript**. Right now, I don't need the NodeJS workaround to use some important libs...
by htuser
May 10th, 2022, 6:27 am
Forum: Entry
Topic: Logic to automatically name Data file name by enumerators code or by name
Replies: 10
Views: 1875

Re: Logic to automatically name Data file name by enumerators code or by name

@Sham, Waiting for your email, in the meantime, please follow theses steps to run the latest version: a) Unzip Test_May_2022.zip; b) Open the folder Test_May_2022\DataFileRename\Menu ; c) Click on the menu file having CSPro Data Entry Application Document file Type; d) Please use clerk01 or clerk02 ...
by htuser
May 10th, 2022, 6:00 am
Forum: Other
Topic: Initialize variables in GLOBAL PROC
Replies: 2
Views: 506

Re: Initialize variables in GLOBAL PROC

Hi Greg, Thanks for your support. What would v1 be? This problem have been solved in several programming languages using technical such as forward declaration, among others. https://www.geeksforgeeks.org/recursive-functions/ https://en.wikipedia.org/wiki/Forward_declaration I rather think as you alr...
by htuser
May 8th, 2022, 1:44 pm
Forum: Entry
Topic: Logic to automatically name Data file name by enumerators code or by name
Replies: 10
Views: 1875

Re: Logic to automatically name Data file name by enumerators code or by name

@ Sham,
I test it on my computer and it work.
Please send to me a private message on the forum, so i will try to help you using Teamviewer.
Best,
by htuser
May 7th, 2022, 5:11 pm
Forum: Other
Topic: Initialize variables in GLOBAL PROC
Replies: 2
Views: 506

Initialize variables in GLOBAL PROC

Dear CSPro Developer Team, This is a long ago issue and it seem to be a compiler limitation... string usern= Maketext ( "%s" , getusername ()); string usern= getusername (); In CSPro Logic it's impossible to initialize variables with the result of functions... Please, do you have some work...
by htuser
May 7th, 2022, 2:22 pm
Forum: Entry
Topic: Logic to automatically name Data file name by enumerators code or by name
Replies: 10
Views: 1875

Re: Logic to automatically name Data file name by enumerators code or by name

Hi Sham, The errors concerned pathnames. string applicationName = "..\main_application\real_application.pen" ; string nom_menu = ".\menu.pen" ; string dataFolder = "..\main_application\data\" ; string dataMenuFolder = "..\" ; string dataFolderpff = "..\ma...