Search found 314 matches

by khurshid.arshad
June 24th, 2018, 6:49 am
Forum: Entry
Topic: How to Prefill the Name of Household Head and telephone Number from a lookup file
Replies: 7
Views: 152

Re: How to Prefill the Name of Household Head and telephone Number from a lookup file

Dear
Please use this syntax.

Code: Select all

PROC HH2

   setfile(ASSIGNED_CNUM_HHNUM_DICT,"..\Data\AssignedClusterHholds.csdb");

   CLUSTER_NO=HH1;
   HHNO=HH2;

   loadcase(ASSIGNED_CNUM_HHNUM_DICT) ;
   HH5_1 = HHEAD;
   HH5_2_1 = TEL_COMMENT;



Best.
a.
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: 240

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: 154

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: 240

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: 127

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: 114

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: 150

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: 125

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");/...

Go to advanced search