Changeset 21486 in main


Ignore:
Timestamp:
09/05/20 16:56:18 (2 weeks ago)
Author:
LoisHaggard_NM
Message:

NMBIS Backend QModules - idepi Scatterplot to allow blank beginning date and yield 14-day default period

File:
1 edited

Legend:

Unmodified
Added
Removed
  • adopters/nm/trunk/src/main/backend_qModules/3.0/idepi/NM_Scatterplot.def

    r21477 r21486  
    2020        %end;
    2121        %else %do;
    22           begdate=input ('%spvar1%', anydtdte32.);
    23           enddate=input ('%spvar2%', anydtdte32.);
     22                enddate=input ('%spvar2%', anydtdte32.);
     23                %if (%spvar1%=none) %then %do;
     24                        begdate=enddate-14;
     25                %end;
     26                %else %do;
     27                  begdate=input ('%spvar1%', anydtdte32.);
     28                %end;
    2429          format begdate enddate mmddyy10.;
    2530        %end;
Note: See TracChangeset for help on using the changeset viewer.