Pervasive
Sign in | Join | Help
in

Creating a TimeStamped Target XML file.

Last post 05-16-2008 8:55 AM by Hari. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-15-2008 4:33 PM

    • Hari
    • Not Ranked
    • Joined on 04-29-2008
    • Posts 2

    Creating a TimeStamped Target XML file.

    Hi,

    My scenario is, I need to create a Target XML file where the file name is of the format:

    <File_ID>_<mmddyyyy>_<hhmmss>.xml

    Where Fille_ID is a field from the Source Oracle DB.

    Can anyone help me with this.

    Thanks in advance.

     

  • 05-15-2008 5:16 PM In reply to

    • jdd
    • Top 75 Contributor
    • Joined on 04-04-2005
    • Posts 58

    Re: Creating a TimeStamped Target XML file.

    In the AfterFirstRecord event, perform a ChangeTarget action something like:

    "+File=" & Fields("File_ID") & "_" & format(now(),"mmddyyyy_hhnnss") & ".xml"

  • 05-16-2008 8:55 AM In reply to

    • Hari
    • Not Ranked
    • Joined on 04-29-2008
    • Posts 2

    Re: Creating a TimeStamped Target XML file.

    It Works!!!!

    Thanks a lot.

Page 1 of 1 (3 items)
© 2008 Pervasive Software Inc. All Rights Reserved.