Search results

  1. F

    Looking for chr(13) with INDEX function?

    =index(somestring,chr(13)) always returns 0 even when I know that chr(13) is there. Is there some way around this?
  2. F

    parsing text for values

    Ok... I didn't think there was an easy way of doing it. Thanks!
  3. F

    parsing text for values

    I would like it better if I could search for a field name such as "Part Number" and then grab the value. The problem is that this is an email message, the whole message with all the header info as well. There are tons of colons in the header and the exact number of them is variable.
  4. F

    parsing text for values

    Using 9.1d... I have a text file that comes from an email message that I would like to obtain values from. It is formatted roughly like this... Part Number: 1234 Qty: 10 Bin: 34003 I'd like a way for Progress to parse this text, determine the field, ie "Part Number" and obtain the values of...
  5. F

    Changing schema for compiled app.

    I've mapped it out pretty well I hope! It's not a PO number it's a packing slip number. 20 would probably cover it but I've had so many issues with the 10 they gave us I started talking big. Gave you everything it would let me!!! Thanks again!
  6. F

    Changing schema for compiled app.

    Ok... That was what I was hoping for! Now I just have to deal with the display issues only. Thank you for relentlessly helping me!
  7. F

    Changing schema for compiled app.

    I understand the impact on the displayed data. We can live with that. What I'm concerned about is "can the format effect an assignment?" I place 50 chars in this field (with my prog that I have the source to) that is formatted x(10) on the screen and I verify that all 50 chars are there...
  8. F

    Changing schema for compiled app.

    Will the format in a compiled app truncate the data if it exceeds 10 chars. The packing slip is copied to a transaction table that a format of x(10).
  9. F

    Changing schema for compiled app.

    I have the source but the data field is defined as x(10). I want to change it to x(50).
  10. F

    Changing schema for compiled app.

    This is a packing slip field that is limited to 10 chars. From the form the user can deal with making the number shorter to fit if need be. Behind the scenes we have a receiving program that creates receipts automatically. If it can use the full width I'd be happy. Testing is certainly the...
  11. F

    Changing schema for compiled app.

    I need to lengthen a character field. I am hoping the app will use the extra length of the field. I'm going to set up a test database when I have a chance.
  12. F

    add char to each line in a variable

    Here is what I am doing. DEF VAR X AS INTEGER INIT 1 NO-UNDO. DEF VAR templist AS CHAR INIT '' NO-UNDO. REPEAT WHILE ENTRY(x,printlist,chr(10))<>'': templist=templist + "put " + ENTRY(x,printlist,chr(10)). X=X + 1. END. printlist=templist.
  13. F

    add char to each line in a variable

    " just read this variable for each entry/line and format it anyway you like it." That's the part I'm having trouble with.
  14. F

    add char to each line in a variable

    It is a list of file names passed back from procedure. I need to add "put " in front of each file name to configure a script for an ftp upload.
  15. F

    add char to each line in a variable

    I have a character variable which contains data as follows... Joe Bill Gary Mike There is a carriage return/line feed after each name. Now I need to take the variable and add a character to the beginning of each line so that it will be: X Joe X Bill X Gary X Mike I can think of ways to do...
  16. F

    Changing schema for compiled app.

    Thanks for your help and all the adjectives!
  17. F

    Changing schema for compiled app.

    I seem to remember that if I change an index I get some type of a checksum error and need to recompile. Do I remember correctly? Does that only apply to indexes?
  18. F

    Changing schema for compiled app.

    Using 9.1d... I have an app supplied by a vendor which is all .r files. I need to change the length of a character field now. Can I simply modify the field or will the app throw a fit because it was compiled against a certain size field? I've done this numerous times for .w apps but never...
  19. F

    Logging info to a file across multiple p files?

    Re: Logging info to a text file across multiple p files? Ok... I played with it for a while. I understand it now. Thank you Tom and Thomas for all your help!
  20. F

    Logging info to a file across multiple p files?

    Re: Logging info to a text file across multiple p files? Yes I downloaded that. I haven't had time to digest it yet.
Back
Top