Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Pulling Previous Data

Pulling Previous Data

Pulling Previous Data

I am using CR XI
working with 816 EDI data

My data looks like:
B.HL.HL: HL<07>3<07>1<07>25
B.HL.N1.N1: N1<07>WH<07><07>93<07>00806
B.HL.HL: HL<07>4<07>3<07>26
B.HL.N1.N1: N1<07>SN<07><07>93<07>00809
B.HL.HL: HL<07>5<07>1<07>25
B.HL.N1.N1: N1<07>WH<07><07>93<07>00810
B.HL.HL: HL<07>6<07>5<07>26
B.HL.N1.N1: N1<07>SN<07><07>93<07>00007
B.HL.N1.N1: N1<07>SN<07><07>93<07>00008
B.HL.N1.N1: N1<07>SN<07><07>93<07>00009

The idea of the data is that for each "B.HL.N1.N1" line of data, where the 2nd segment = 'WH' (Delimiter = <07>)
there are stores 'SN' (also using "B.HL.N1.N1") that are associated with each WH (warehouse).

I can create a formula to pull out the WH or SN number for each row based on the 2nd segment of the line, This # is the last 5 characters of the line

What I want to be able to do is to have the associated WH value appear on the same line as each SN value.
So if I run my report for the above data, it would appear on my report as:

806 00809
810 00007
810 00008
810 00009

Appreciate any help you can give!

RE: Pulling Previous Data

the EDI data is copied from the 816 file and put into a CSV file and opened in excel.

[apparently the edit function is not working, thus the added post]

RE: Pulling Previous Data

anyone have a thought how to solve this?

RE: Pulling Previous Data

I'd suggest you have another go at explaining this. Telling us it is EDI data from a 816 file means nothing to me - we need some sample data, an explanation of what you want the result to look like and the logic behind it.


RE: Pulling Previous Data

I have been able to get some of what I needed worked out but not all of it.
I will submit a new post to deal with what I am looking for now.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close