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 SkipVought 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. David Higgs

    Strip leading characters from a string

    Hi Chriss, The command “FA;” is sent to the Transceiver COM Port to request the current Frequency and responds with e.g "FA007074000;”. The nomenclature “FA;” is unlikely to change as it’s a standard in use for many years by several manufacturers, so I take your point about using...
  2. David Higgs

    Strip leading characters from a string

    Thank you to everyone that has replied to my request for help, much appreciated. I was almost too embarrassed to ask the question but I'm pleased I did with all of the replies.
  3. David Higgs

    Strip leading characters from a string

    Gary, Thank you for your advice. Although I now have a working system I will trial your code.
  4. David Higgs

    Strip leading characters from a string

    António, Nice to hear from you again; thank you for your reply. I will follow up on your advice and have a good read of the help files. I've used most of the 'Trim' commands in the past but have not really looked any deeper than the basic command.
  5. David Higgs

    Strip leading characters from a string

    Thank you Steve, that's cut the line count down a bit. lcFrequency = this.Input && Read Transceiver "Frequency" cStr = lcFrequency Cfreq = transform(VAL(SUBSTR(cstr,3)),"@R 999,999,999") && " 7,074,000" Txcvr_Freq = LTRIM(STRTRAN(cfreq,',','.')) && '7.074.000'...
  6. David Higgs

    Strip leading characters from a string

    Thank you all for your replies, I now have a working system. lcFrequency = this.Input && Read Transceiver "Frequency" lcFrequency = SUBSTR(lcFrequency,3,9) lcFrequency = LTRIM(lcFrequency,0,"0") DO CASE && 160 to 40 Metre Bands CASE VAL(lcFrequency) <...
  7. David Higgs

    Strip leading characters from a string

    My application reads the Frequency of my Transceiver via a serial port. The format of the Frequency for example is “FA007074000” or “FA144174000” I would like to strip the “FA” plus any leading Zeros (1 or 2 in my case) to produce a Frequency Reading of “7074000” and “144174000”. Actually I’ll...
  8. David Higgs

    Site Migration Problems, anyone?

    Looking on the https://xenforo.com/community/threads/cant-edit-or-delete-my-posts-on-xenforo-com-or-what-am-i-missing.170894/']XENforo[/URL] site it appears 'Delete Post' is not an option and 'Edit' is only available for a short time after posting.
  9. David Higgs

    Site Migration Problems, anyone?

    Has anyone found out if it's possible to "Go to first unread post" in a Thread? EDIT: Just found out that it will go to a 'NEW' Post if one exists otherwise it goes to the 'First Post'.
  10. David Higgs

    Site Migration Problems, anyone?

    I had to do a Password Reset, other than that, so far ok.
  11. David Higgs

    My Code Reference tool not saving items

    OT: Thank you for the link Mark. I didn't realise there was a new version of GoFish, I was still using GoFish5. Regards, David Recreational Developer and End User of VFP for my personal use in 'Amateur Radio' and 'British Railways' related Applications.
  12. David Higgs

    Ideas for a Splash Screen?

    Chris, Initially the SplashScreen (just the form) appears within a second, after about 3 seconds the Forms 'Label' appears and the backcolor changes color and then finally the LogbookScreen appears after about 6 Seconds. In the scheme of things not much of a delay but a message showing that...
  13. David Higgs

    Ideas for a Splash Screen?

    Yes Chris, the main.prg (actually called "Amateur Radio Logging Program.PRG") is SET MAIN To further expand / clarify on my previous posts: I found the "Executing Remote - Press escape to cancel" message is being generated during the opening of MySQL Table(s), SET ESCAPE OFF suppresses the...
  14. David Higgs

    Ideas for a Splash Screen?

    Maybe due to connecting to MySQL Server (MariaDB) I'll do some further tests. Regards, David Recreational Developer and End User of VFP for my personal use in 'Amateur Radio' and 'British Railways' related Applications.
  15. David Higgs

    Ideas for a Splash Screen?

    When I run my App I see a small pop window that says "Executing remote - Press Escape to Cancel". This is possibly a windows system message, whatever it is, it stops the form from displaying correctly until the above message disappears. The Form is very basic just a 'Please Wait' Label and...
  16. David Higgs

    Ideas for a Splash Screen?

    Hello Mike, The reason for the splash screen is to give me reassurance the application is running. As with all of my apps, I am the 'end user'. I did try removing the Timer, although it appeared to make no noticeable difference. Regards, David Recreational Developer and End User of VFP for...
  17. David Higgs

    Ideas for a Splash Screen?

    I've set up a 'Top Level' and 'Modaless form' with a timer. When I run my app a Blank Form appears and then a message saying "Executing remote", after a short delay the form is then populated and another "Executing remote" message appears before my app main form appears. In my main.prg I have...
  18. David Higgs

    Ideas for a Splash Screen?

    Looking for some ideas on how to provide a "Splash Screen" for my application(s) whilst it's initialising. Nothing too fussy, just a message showing that the program is running. My main form Logbook.SCX is currently a 'Modeless', 'Top Level Form'. * * Display Main Form *...
  19. David Higgs

    TEXTBOX Input Mask

    Hi Chris, I take your point about exceptions / mistakes are possible, so I manually entered your example into the MySQL Database and found that S404-Whatever became S40—Whatever and 1AADD- became 1AA-D- Fortunately, the Data is predetermined as a ‘County Code’ and ‘County Name’ separated...
  20. David Higgs

    TEXTBOX Input Mask

    Where possible, with Data Entry, I like to see the Data in a TEXTBOX in the required format (capitalisation of Callsigns etc) before TEXTBOX loses focus and with the help of Mike and yourself, I think that's been achieved. Regards, David Recreational Developer and End User of VFP for my...

Part and Inventory Search

Back
Top