Karen
I develop the report name with the report description datetime and cust.
no. then I can use it in the report command - I can make a copy in a
another directory
set var vfilename = ('acctrec' + (ctxt(.#now)) + (ctxt(custiden)) )
J
n 10/26/2011 12:46 PM, [email protected] wrote:
Razzak: For this use, I don't like the idea of assigning file names that
make no sense to the user. I remember the old legacy code where we
could easily create filenames with random letters and that's okay
for code used internally. But to create a PDF file with random
characters doesn't help a user "find" the particular file they created.
I don't want to put up a pause message telling the user "I just created
a file ABC2839ANDNDK183838AAD.PDF". Yes I can have the program
automatically launch the file, and they can choose to "save as" to a name
that makes sense to them. But if they don't save as and want to come
back later to find the file, they wouldn't be able to.
Karen
In a message dated 10/26/2011 11:26:40 AM Central Daylight Time,
[email protected] writes:
Use RGUID Plugin with R:BASE eXtreme 9.1, or new (CVAL('GUID'))
FUNCTION using R:BASE eXtreme 9.5 (64) to dynamically create a
unique 36 character identifier to achieve your goal in any
environment.
Numbers help us reference items unambiguously. "John Smith"
may be many people, but Social Security Number 123-45-6789
refers to one person exactly.
A GUID (globally unique identifier) is a bigger, badder
version of this type of ID number. You may see the term
UUID tossed about (universally unique identifier), a nitpicky
word for those whose numbers are unique not only within the
globe, but throughout the entire universe.
That's all there is to it!
--
*J. Blaustein*
*J Blaustein Associates, Inc.*
* 12 Herrick Drive*
* Lawrence, NY 11559*
*516-371-3445 FAX 516-345-8009*