Kevin, thanks for answering.
When I look at what you had me do I think my logic in how this ASCII process works is a little flawed.
When I enter a TaxID # (think of it as a corporate Social security # so we can make payments to them) I want to be able to search through the Attorneys.txt file and find the appropriate record and then paste the following information into the correct variable string. Each record will contain 9 fields in which information can fit into (I think part of my logic here was wrong) which should go into fields T1-T9. That way I can then paste it into the correct fields in our bill screen.
Here is a sample of the attorneys.txt file (and i will attach it also).
"111111111","The Man Inc.","1 N. Rd.","Ste 1","Smallville","C","90605","Y","V"
Now as it stands, every record will look like this with the information changed to the appropriate vendor with their info. This is what each box means.
T1- TaxID (what I would like to use as seach peramaters)
T2- Payee
T3- Address L1
T4- Address L2
T5- City
T6- State (use codes which simulate key presses on a pulldown menu in our screen)
T7- Zip
T8- Y or N for accounting info
T9- If statement which checks if T8 is Y, then you have the option of A,B,C,or V, again for accounting info.
The rest of the macro variables will be set elsewhere in the macro, so these are only used by this portion.
Attorneys.txt