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

    VFP Certification Special Offer Extended

    FYI You may be aware that Employment Programs Australia and Civil Solutions announced that OzFox delegates gaining their VFP MCP certification before 31 December this year are eligible for a $100 bounty from Employment Programs Australia and a 50% rebate on the cost of the Hentzenwerke book VFP...
  2. AndrewCoates

    UK Post Codes in Memo Fields

    Well, it will solve the problem for those that it understands and will allow you to raise an automatic flag (based on the blank postcode) for manual review of those that it doesn't. I was very pleasantly surprised to discover that Outlook exposed this powerful engine. Note that it also works...
  3. AndrewCoates

    UK Post Codes in Memo Fields

    One way to find out ... <g> Andrew Coates http://www.civilsolutions.com.au/ OzFox 2003 Australia's VFP Conference -- http://www.ozfox.com.au/ ------ DISCLOSURE We are the Australasian Distributor for the Hentzenwerke Series of Books. (By the same token, I really do think they're the best...
  4. AndrewCoates

    UK Post Codes in Memo Fields

    If you've got Outlook on the machine on which you're doing the parsing then you can use the (rather good in my experience) parser that Outlook itself uses. I wrote this up in FoxTalk a couple of years ago and you and get the article from their site, or from mine...
  5. AndrewCoates

    Change Do While to SQL

    One small modification -- you may want to specify the length of the qty field like this: select code, descr, iif(qty < 10, 0000000000, qty) as qty, ; padr(iif(qty < 10, 'WARNING', 'OK), 7) as msg ; from table1 ; into table table2 In case the first row does have a qty < 10 This means...
  6. AndrewCoates

    Change Do While to SQL

    select code, descr, iif(qty < 10, 0, qty) as qty, ; padr(iif(qty < 10, 'WARNING', 'OK), 7) as msg ; from table1 ; into cursor interim sele 0 use table2 append from (dbf('interim')) use in interim If you want to create table2 each time, you can just use: select code, descr, iif(qty < 10...
  7. AndrewCoates

    CursorToXML() in specific XML format

    Here's some code off the top of my head to do this: #DEFINE CR chr(13) + chr(10) clos data all use client set order to clientno && index expr = clientno select 0 use cars set order to clientnocarno && indexexpr = str(clientno) + str(carno) set relation to clientno into client local lcXML...
  8. AndrewCoates

    Retrieving Data Form List Box to Datagrid

    What is the rowsource and rowsourcetype of your list box? Andrew Coates http://www.civilsolutions.com.au/ OzFox 2003 Australia's VFP Conference -- http://www.ozfox.com.au/ ------ DISCLOSURE We are the Australasian Distributor for the Hentzenwerke Series of Books. (By the same token, I really do...
  9. AndrewCoates

    How change color of Grid Row when selecting?

    - Type the following in the command window: create classlib myclasslib create class - Type a name for your new class (e.g. MyGrid) - Choose Grid from the drop-down - Choose your new classlib (MyClassLib) as the class library - Click OK (I think -- I have't got VFP 5 loaded anywhere at the...
  10. AndrewCoates

    How change color of Grid Row when selecting?

    If you're running VFP8.0, this is very straightforward. Set the grid's HighlightStyle property to 1 or 2. 1 removes the highlight when the grid loses focus. 2 Leaves the highlight there. If you're using VFP < 8, then you can add the following to a grid subclass: New Property: nRecordNumber...
  11. AndrewCoates

    CDO to send messages

    One option is to enable the SMTP service on the local W2K server and only allow it to receive connections from 127.0.0.1 (the local machine). This will get around the problem. You can then use 127.0.0.1 as the SMTP server in the code above. Cheers, Andrew Andrew Coates...
  12. AndrewCoates

    problems with the order

    Oops -- I left out the seat type (which doesn't appear in your sample data. You could use: index on seat_type + section + padl(alltrim(row_name), 3, '[') + padl(tran(seat), 3, '0') tag SeatOrder additive Note that it's not a good idea to call the type column &quot;Type&quot; or the row column...
  13. AndrewCoates

    problems with the order

    How about: index on section + padl(alltrim(row), 3, '[') + padl(tran(seat), 3, '0') tag SeatOrder additive This assumes that seat is an integer -- you'll have to adjust the code a bit if that's not the case. Putting the '[' in the row sorts the single letters last, the double letters...
  14. AndrewCoates

    Banner simulation ...

    If you're using VFP8 then you can display an animated GIF using the native image control. Cheers, Andrew Andrew Coates http://www.civilsolutions.com.au/ OzFox 2003 Australia's VFP Conference -- http://www.ozfox.com.au/ ------ DISCLOSURE We are the Australasian Distributor for the Hentzenwerke...
  15. AndrewCoates

    How does one capture server time from a desktop?

    Ah yes, I should also mention that you can fcreate() a file and then use ftime() to get the creation time lcFileName = &quot;\\civilserver\word_doc\&quot; + sys(2015) + &quot;.tmp&quot; strtofile('',lcFileName) if file(lcFileName) ltServerTime = ftime(lcFileName) erase(lcFileName) else...
  16. AndrewCoates

    How does one capture server time from a desktop?

    I think you'll need to use the SQL function GETDATE() lnHand = sqlconnect() lcSQL = &quot;select TheTimeIs=GetDate()&quot; sqlexec(lnHand, lcSQL, 'OnTheServer') ? OnTheServer.TheTimeIs sqldisconnect(lnHand) Andrew Coates http://www.civilsolutions.com.au/ OzFox 2003 Australia's VFP Conference...
  17. AndrewCoates

    Does VF6 support Font - Helvetica Compressed??

    You may also want to consider using Arial Narrow which seems to be present on most modern systems. Cheers, Andrew Andrew Coates http://www.civilsolutions.com.au/ OzFox 2003 Australia's VFP Conference -- http://www.ozfox.com.au/ ------ DISCLOSURE We are the Australasian Distributor for the...
  18. AndrewCoates

    Use Windows Dialing Rules

    If you want to do it programatically, here's some code that I dredged up out of a long-lost project that does dialling: * Program....: TAPI.INIT * Version....: 1.0 * Author.....: Andrew Coates * Date.......: December 10, 1998 * Notice.....: Copyright © 1998 Civil Solutions, All Rights Reserved...
  19. AndrewCoates

    Online Help for Aplication Using ContextID

    Hi Marlon, 1. I've not done this with chm, but with Windows Help, you need to compiel a context ID into the help topic. When you invoke help from that object then, the topic with that ID will be displayed. 2. Not sure what you mean by this. 3. The link is automatic. When you invoke help from...
  20. AndrewCoates

    Reading from Client Access Window

    Some client access terminal applications have an OLE (or even DDE) interface that allows you to query characters at a certain position and to send key strokes. If yours has such a capability, then that's your best bet. Alternatively, you might want to look at the SendKeys function the vbscript...

Part and Inventory Search

Back
Top