arunalv
28th January 2003, 22:10
Not a Baan expert so need some help here!
Trying to change an existing Session to read a particular file when the session is run for that company in question:
Now the session has hadrcoded file name (InfoA) I want to include another file (InfoB) so that when the Session is run for company B it will upload the file for the same.
In the code presently it is:
file = filename & "data/import_dat/InfoA.txt"
I also want to include another file InfoB.txt which may or maynot be there. I will take care of the file existing condition outside of the Session. I just want the Session to be able to read both files.
How do I change it? Is it better to create another new Session for this Company 'B' or can I do it in the existing Session itself?
Thanks!
Trying to change an existing Session to read a particular file when the session is run for that company in question:
Now the session has hadrcoded file name (InfoA) I want to include another file (InfoB) so that when the Session is run for company B it will upload the file for the same.
In the code presently it is:
file = filename & "data/import_dat/InfoA.txt"
I also want to include another file InfoB.txt which may or maynot be there. I will take care of the file existing condition outside of the Session. I just want the Session to be able to read both files.
How do I change it? Is it better to create another new Session for this Company 'B' or can I do it in the existing Session itself?
Thanks!