Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Khartoum

    ASCII File - file access - reverse order

    I THINK I have solved the problem. I tried various ways with the current methods as you suggested, without real success. Too many errors and issues, unwieldy, inelegant. So I looked in the Clarion Templates (ABASCII.CLW and ABASCII.INC) and duplicated the 'NEXT' file class, renamed it PREVIOUS...
  2. Khartoum

    ASCII File - file access - reverse order

    Thanks again for taking the time to respond, much appreciated. I'll give your suggestion a go and see what happens. Might take me a day or two to sort it out, but will definitely let ypu know how I get on. :) Thanks again.
  3. Khartoum

    ASCII File - file access - reverse order

    Thanks for your reply Uniglass. Your suggestion is better than I have come up with so far. My problem is that I have to read the last few 'lines' of an ASCII based log file that is generated every five seconds on a daily basis by a hardware based unit. Towards the end of the day' there are up to...
  4. Khartoum

    ASCII File - file access - reverse order

    I have a need to read a large ascii file in reverse order, that is to find EOF then read the last line, then the penultimate line and so on. Under normal circumstances, I would use a 'PREVIOUS' command, but of course this is not available for ASCII files. A brute force approach is to find the...
  5. Khartoum

    Counting Characters in a string on the fly

    Brilliant. Thanks for the example, works as advertised - even when compiled with version 8. Helped enormously to track down the issue for me. Basically, did not get an 'immediate' in the properties dialogue, so I 'hard coded' IMM into the widow declaraiotn and have got it working in my app...
  6. Khartoum

    Counting Characters in a string on the fly

    Something screwy here.(Me probably). I am using version 8. I have a string entry field called GLO:Forecast which e usEr enters the text, and needs to know the character length (which then gets sent out as an eText message. When I look at the properties, there is no immediate option to select...
  7. Khartoum

    Export/Import memo fiield to CSV format

    Anyone got any neat way of exporting/importing a CSV format into/out of a memo field? I've done it, but not very elegant. The problem is that memo fields may contain CR/LF (<13,10>) combinations that. The only way I can figure is to parse through the memo field converting the CR/LF Combo to a...
  8. Khartoum

    Counting Characters in a string on the fly

    Thanks for the second post, but seems not to work as well. This only updates the character count after leaving the text entry field - unless I am doing something wrong, which is likely!
  9. Khartoum

    Counting Characters in a string on the fly

    Works a treat cagiv, many thanks.
  10. Khartoum

    Counting Characters in a string on the fly

    Thanks Cagiv, good Idea. I'll give it a go!
  11. Khartoum

    Counting Characters in a string on the fly

    I have a need to display the number of charchters in a string when a user is enetreing text. Am looking for a way to display the length of the string as each charachter is typed in. Am sure it must be in an embed somwhere, possibly with an API call perhaps? Any Ideas how to do this please?

Part and Inventory Search

Back
Top