Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD21] - Opening a file Multiple Times (2 replies)

$
0
0
Hi All

WinDev 21

I am having a blank moment - I have a file in the analysis, lets call it "Source_File". It is an empty file which I populate according to user action during the user's session. I clear it afterwards - it holds only temporary records.

My problem is the user now wants to open multiple copies of the application. This causes confusion since each instance is trying to access read/write this same file. So a solution is to open a separate copy of this file in each instance but it must still be referenced by the original name in order to avoid needing to re-code many occurrences of the file name in the code.

So I guess I need to create a copy of this file in the start of the app and then open it but alias it to the original name. But I am suddenly blank on how to do it .. too many late nights! Can you mention some functions I need to read up on?

TIA

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>