Search found 572 matches

by khurshid.arshad
June 16th, 2018, 11:57 am
Forum: Entry
Topic: Dynamic Value set defined for age not working for two or more people with same Age from Household Member Roster
Replies: 5
Views: 4671

Re: Dynamic Valuable set defined for age not working for two or more people with same Age from Household Member Roster

Dear

Please see first three questions in Education and Training section. I have made some changes in the syntax to get pre-filled data from "Name Forms and Household Members Forms.

If it is fine then you can apply in the rest of sections.

Best.
a.
by khurshid.arshad
June 14th, 2018, 1:31 am
Forum: Android
Topic: Sql Query
Replies: 2
Views: 3031

Re: Sql Query

Dear

Please see SqlQuery Functionin CSPro help menu.
Best.
a.
by khurshid.arshad
June 13th, 2018, 7:12 pm
Forum: Entry
Topic: Dynamic Value set defined for age not working for two or more people with same Age from Household Member Roster
Replies: 5
Views: 4671

Re: Dynamic Valuable set defined for age not working for two or more people with same Age from Household Member Roster

Dear You should use prefill option as Gregory mentioned but as per your requirement please see following codes: Please try this in ED1 numeric iRoster1; numeric nextEntryValueSet = 1; numeric seekdata; do iRoster1= curocc() while iRoster1<= totocc(HOUSEHOLD_MEMBERS_ROSTER) seekdata=seek( HL6 >=7 and...
by khurshid.arshad
June 11th, 2018, 1:07 pm
Forum: Entry
Topic: How to test the exitence of a folder on a dropbox server
Replies: 3
Views: 3570

Re: How to test the exitence of a folder on a dropbox server

Dear

Please see following help on DirList Function and DirExist Function in CSPro help Menu.

Code: Select all

Example
if direxist("C:\Backups") then
    // process backups
endif;
Best.
a.
by khurshid.arshad
June 8th, 2018, 6:24 pm
Forum: Entry
Topic: facing problem in ask statement
Replies: 2
Views: 3008

Re: facing problem in ask statement

Dear Muhammad Ali Raza;

Your question is not clear.

For Not applicable use (variablename=notappl)

Best.
a.
by khurshid.arshad
June 8th, 2018, 3:27 pm
Forum: Entry
Topic: setvalueset function
Replies: 4
Views: 3954

Re: setvalueset function

Dear

Perhaps this may be useful for you. Please see attached file with alpha variable. First you will select Province name which shows in numeric values but in district name see string.


Best.
a.
by khurshid.arshad
June 8th, 2018, 3:30 am
Forum: Entry
Topic: how return the date of modification of a file in the logic
Replies: 2
Views: 2870

Re: how return the date of modification of a file in the logic

Dear Maybe You can use log file to get the last date of modification or addition and I hope it works for you or josh and Gregory give you a better solution. The syntax for 7.1.2 is as follows: File Datefile; String PreLoad_Data; numeric i = setfile (Datelog, "..\Data\firstfile.csdb.log");/...
by khurshid.arshad
June 8th, 2018, 1:15 am
Forum: Entry
Topic: setvalueset function
Replies: 4
Views: 3954

Re: setvalueset function

Dear

You can find the example application in your CSPro installed folder.

Click on Help tab in CSPro
select Examples Folder
select 1 - Data Entry folder
in Data Entry folder you will find Set Value set application in Set Value set folder.

I hope it works.

Best.
a.