acutesweetpie
8th December 2022, 12:34
Hi,
I have been working on the requirement where I am picking all the files at the particular path mentioned in the table. I need to show all these files against the connection point. I am using dir.entry() to fetch the file name and then holding all the files in an array.
Can someone please help me in displaying all these files in my form field ? The entire value of array needs to be shown.
This is the part of code I have written:
while not isspace(trace.file)
if ftaad.dll0001.name.match("*.json",trace.file) then
inc(trace.files.found)
alloc.mem(trace.file.name, 60, trace.files.found)
trace.file.name(1, trace.files.found) = trace.file
endif
trace.file=dir.entry(dir.trace,TFILE, ftype, fsize,fmod)
endwhile
I have been working on the requirement where I am picking all the files at the particular path mentioned in the table. I need to show all these files against the connection point. I am using dir.entry() to fetch the file name and then holding all the files in an array.
Can someone please help me in displaying all these files in my form field ? The entire value of array needs to be shown.
This is the part of code I have written:
while not isspace(trace.file)
if ftaad.dll0001.name.match("*.json",trace.file) then
inc(trace.files.found)
alloc.mem(trace.file.name, 60, trace.files.found)
trace.file.name(1, trace.files.found) = trace.file
endif
trace.file=dir.entry(dir.trace,TFILE, ftype, fsize,fmod)
endwhile