Open JLepidata opened 1 month ago
How about
!pw:=["common pwd" | pwd vector]
In your example,
report cby id !fn := filenames !ds := datasets !nol !pw:="SomeThing" ;
or
new g pwds[j] string; pwds[1] := "pwd1"; // etc report cby id !fn := filenames !ds := datasets !nol !pw:=pwds;
new global datasets[j] string; new global filenames[j] string; new global j i:= 4; new global i i; for i := 1 to j do begin new global fil s := "dtr_RSYD_m_rkkp_sept-udenAIS - "+substring("QRSTUWXYZ",i,1) + ".epx"; ? fil; datasets[i] := "mds1"; filenames[i] := fil; end;
but: report cby id !fn := filenames !ds := datasets !no l; cannot work if the files have passwords . Suggestion: either ask for password on "loading" of each or preferable require same password for all files: report cby id !fn := filenames !ds := datasets !nol !pw:="SomeThing" ;