Right, just read your other thread, think i know what you want to do, dont know why you think you need to do this to store tag values but hey, thats your choice
To add a number to the filename you just need to add the data you want from your LONG value to your filename, so you could do something like this:
filenumber is you LONG data type which contains the number or data that you wish to append to your filename
IntToStr converts a number to a string then it just gets added to the string with the + symbol.
Just run the function Copy() from a button for testing and then you can decide when this needs to run.
Hope this helps
FUNCTION Copy()
FileCopy ("C:\Data\Report.rtf","C:\File\Storage\Report"+IntToStr(Filenumber)+".rtf" ,0)
END