Jump to content
Macro Express Forums

Text File Not Incrementing


shirleyg

Recommended Posts

I have a simple macro, 43 lines that uses a text file to select a part number.

This is a simple column of numbers with a CR after each part number. I've gone through all the available support, knowledge base, and manual information.

 

The macro is setup with:

 

TEXT FILE BEGIN PROCESS: "PRIMEBIN.TXT"

"MACRO BODY"

TEXT FILE END PROCESS

 

Everything works fine, EXCEPT, the macro will not increment from 00-50003-06 to 00-50004-02, and so on.

It gets stuck on 00-50003-06 and repeats through the "Number of Records to process" to the end.

 

So what is the trick to making it move to the next number in the column?

 

Example of column of part numbers

 

00-50003-06

00-50004-02

00-50005-09

00-50005-11

00-50005-13

00-50005-14

00-50005-17

00-50007-03

 

Shirley Graver

Sys Admin

Rubber Associates Inc

Link to comment
Share on other sites

I'm guessing your "CR after each part number" may not be as described. I'd recommend opening the text file in hexadecimal, and checking that every ASCII 13 (0D in hex) is followed by ASCII 10 (hex 0A).

 

If this guess is wrong, please make your text file available (perhaps you should email it to me at paul_t@westnet.com.au) and I'll take a look.

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...