contact  |  about  |  sitemap

txtFilePath Loop Error
Last Post 08 Jun 2009 07:55 AM by expendable. 1 Replies.
Sort:
PrevPrev NextNext
Author Messages
expendable

--
08 Jun 2009 07:45 AM
Is it possible to set the txtFilePath with TWO variables? When I try this out, I get a loop error.

Set Variable [txtFilename] to content Prefix
Set Variable [txtFilename2] to content Suffix
Set Variable [txtFilePath] to content C:\[txtFilename]_[txtFilename2]

Loop files from Root folder [txtFilePath] with mask *.htm in variable [aFile] (Recursive No)

-=-

When I add the Prefix and Suffix together into one variable [txtFilename] and remove "_[txtFilename2]" from the [txtFilePath] it works fine.

The error is in the "Loop" function handling somewhere as when I use the same variables with Export, it saves fine.

Export to Excel with [DataGrid1] to file C:\[txtFilename]_txtFilename2].xls

expendable

--
08 Jun 2009 07:55 AM
sorry...disregard and delete.. it was an simple error in my path coding


Quick Reply
toggle
  Username:
Subject:
Body:
Security Code:
Enter the code shown above:

Submit

Powered by Active Forums

Forum participation and optional registration

You don't need to be registered to partcipate in the Djuggler forums, however if you want to subscribe to email notifications you need to register. You can also subscribe to the forum RSS feed.