subfile name
David Morrison - Corporate
dmorrison@mcbrideelectric.com
Tue, 12 Oct 2004 12:00:10 -0700
Viet,
Note that this is not a terribly elegant solution, but it should work in any PH environment.
If you're using QTP (rather than QUIZ) and you're only worrying about the 12 months (not years), then you could
1. Execute request(s) to produce a temporary subfile, with the desired data, then
2. Create 12 requests that are conditioned on your global temporary variable xMonth (example: REQUEST xxx EXECUTE IF xMonth = "01"), with a different hard-coded subfile name in each request. In each of these requests, copy the data from your temporary subfile to the permanent one.
David Morrison
McBride Electric
-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com]On Behalf Of Viet Nguyen
Sent: Tuesday, October 12, 2004 11:41 AM
To: powerh-l@lists.sowder.com
Subject: subfile name
Hi All,
How do I set subfile name based on a variable
For Example: Every Month we run a report and I want to save data to a
file name with the month as part of the file name i.e SAVE01, SAVE02,
SAV03 etc... Let's say the variable is xMonth - values 01,02,03...etc...
Thanks in advance.
Viet.