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 Chriss Miller 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. Gary Sutherland

    Latest VFP Version

    I'm running version .5815 which claims to be SP2. Downloading and installing the referenced update didn't change this. G.
  2. Gary Sutherland

    Excel to Foxpro 2.6

    Yes although your options are limited by the versions of Excel supported. Lookup APPEND FROM in the manual. You may find it easier to save from Excel as CSV and import that.
  3. Gary Sutherland

    Extracting an Address from a Postcode input

    I've written a system for this using the Royal Mail PAF files. If you're going to be storing the PAF data locally then you'll need to cater for around 15-20 lookup tables because there is so much data.
  4. Gary Sutherland

    VFP Issue with date selection 1/1/25 returns 1/1/1925

    Foxpro has always had problems with ambiguous dates. I use SET DATE BRITISH to force dd/mm/yyyy display format.
  5. Gary Sutherland

    Windows 11 - any problems noted?

    I've found the screen scaling messes with the positioning when sizing forms, etc, when programming.
  6. Gary Sutherland

    form still continues even if one object.INIT fails

    Do you have any program code in the form's Init event? G.
  7. Gary Sutherland

    Strip leading characters from a string

    This sequence seems to do what you want. lcTest="FA007074000" ? lcTest && FA00707400 lcTest=IIF(LEFT(lcTest,2)="FA",SUBSTR(lcTest,3),lcTest) ? lcTest && 00707400 lcTest=LTRIM(lcTest,1,"0","") ? lcTest && 707400 G.
  8. Gary Sutherland

    Maximum file size when using FGETS

    No problem, Colin. I'm constrained in part by the application I have to integrate this with. Regards Gary
  9. Gary Sutherland

    Maximum file size when using FGETS

    Yes, the customer for whom I'm developing the software has purchased a license for the PAF file. There is also a set of sample files (much smaller) that are freely available to download. Any, thanks for all the replies and the interesting background. The software is finished and on-site...
  10. Gary Sutherland

    Maximum file size when using FGETS

    Thanks Chris, much appreciated. Regards Gary
  11. Gary Sutherland

    Maximum file size when using FGETS

    That would be neater, I agree, Chris. I'll take a look at doing it that way, Regards Gary
  12. Gary Sutherland

    Maximum file size when using FGETS

    Ah, that probably explains it, then, Chris. The PAF.CSV file is roughly 2.5gb in size. Thanks. I guess I'm going to have to split the CSV file and import each file sequentially. Edit: I found a utility called Huge CSV Splitter that appears to have done the job. Regards Gary
  13. Gary Sutherland

    Maximum file size when using FGETS

    Large CSV files is a topic that has cropped up before, I know, but I can't find a reference to this particular problem. I'm writing a tool import address data from the UK PAF.CSV postcodes/addresses file. This is a CSV file containing (at present) 31,827,747 individual UK postal addresses. I'm...
  14. Gary Sutherland

    debugger not stepping through code step by step

    My usual practice is to execute the following commands at the point where I want to begin debugging. SET ASSERT ON ASSERT .F. Regards Gary
  15. Gary Sutherland

    Open a jpg, mod jpg, close and save jpg

    I don't know if this helps but I've needed to display image files on a number of occasions when developing software. I store the path and filename of the image in a table text field. When I want to view it I make this call: llRetVal=(WinShellExecute(lcFileName)>31) That executes the following...
  16. Gary Sutherland

    delete missing operand

    Although SELECT SQL does respect the SET DELETE filter setting. Regards Gary
  17. Gary Sutherland

    delete missing operand

    Also the default scope for DELETE SQL is ALL whereas you have to specify it for the FoxPro DELETE, and the table doesn't need to already be open when you issue the DELETE SQL command so long as you properly specify it in the FROM clause. Regards Gary
  18. Gary Sutherland

    delete missing operand

    I prefer to use the Foxpro Delete command rather than the SQL variety. e.g. DELETE ALL FOR INLIST(UPPER(ALLTRIM(class)),'SUS','TB','CAD','EF','ND') AND UPPER(estado)=='NORMAL'
  19. Gary Sutherland

    Patch_26.exe for FPW 2.6

    I know what you mean, Chris. Zmodem's great advantage of X/Ymoden was, of course, that a transfer could be resumed in the event that it failed part way though.

Part and Inventory Search

Back
Top