Jump to content
Macro Express Forums

Variables And The Fix Recordlayout


thomas

Recommended Posts

Dear All,

 

Every workday I download text file which is created with fix recordlayout. These files contain date, product code, quantity etc in a row. For example date is stay in the file at the 1st character positon and its length is 8 characters and product code is stay at the 10 character position and its length is 10 characters.

 

I would like to ask to you how can I save the date and the product code into variables?

 

Thank you,

 

 

 

Thomas

Link to comment
Share on other sites

Use the Text File Begin Process and read them in line by line ot a variable then use the Variable Modify String to copy part of the variable to other variables.

Dear Cory,

 

Thank you very much for your help! It's working fine.

 

 

 

Thomas

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...