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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by button71

  1. button71

    Help with a small SQL problem

    I have SELECT * FROM PTEMP ; INTO TABLE pictures ; ORDER BY Fname I wish to exclude all files except jpg , bmp , tif, gif etc Can anyone help? Thanks William
  2. button71

    Help with array to find files

    My apologies the code is LOCAL ARRAY aryTemp(1,5) LOCAL nCount, nMax, nLen, cFile SET DEFAULT TO (cDirectory) readpwini(inifile,'write','Paths','SearchPath',curdir() ) =ADIR(aryTemp, "*.*","AHRSD",1) logging('GetSomeFiles folder '+cDirectory) nMax = ALEN(aryTemp,1) FOR nCount = 1 TO nMax...
  3. button71

    Help with array to find files

    I have found the following code But I want the full number of columns in the original to be added to the final array - rather than just the fname =ADIR(aryTemp,"*.*","AHRSD",1) logging('GetSomeFiles folder '+cDirectory) nMax = ALEN(aryTemp,1) FOR nCount = 1 TO nMax cFile =...
  4. button71

    VFP 6 Form created by Form Wizard

    Dan, Thanks for that. I've put a [Search] button on the form ( in addition to the [Find] ) and written code and it's now working to my satisfaction. I can search 3 terms - either AND or OR ing them William
  5. button71

    VFP 6 Form created by Form Wizard

    On a form created by form wizard - using the [Find] button - I cannot see any Memo fields to choose to search in from the drop down list box. Is this as designed - is there a way to add them to the list and search in them? Or do I do a LOCATE in the memo field from another [Search] button...
  6. button71

    VFP 6 trouble with paths

    Thanks everyone. Mike had the one I wanted ( to see what paths had been set when in the debugger - SET("PATH") William
  7. button71

    VFP 6 trouble with paths

    <sigh> I've just forgotten how to see the path as set at the moment , in the debugger. I'm not finding a table when I open a form. Anyone help? William
  8. button71

    Finding root of a folder

    Dan, Many thanks - simplicity itself! I just needed to set defa to the original path first - then bingo. Great! William
  9. button71

    Finding root of a folder

    Sorry about the 'sleep' delay in answering we're 9.5 hrs in front of GMT down here <G> To clarify I should have used a longer path - I need the folder above the one used before. The start path will be of unknown length so the number of iterations is variable. In my own clumsy way I coded...
  10. button71

    Finding root of a folder

    Is there a function around to find the root of a folder? I am using a folder Aviation It has a path - say C:\My Pictures\Aviation I want to get to C:\My Pictures\ Anybody help? Willaim
  11. button71

    Topr right control box on form

    Wow, I thought I was asking a 'simple' question. Thanks to everyone - it seems that Mike's solution is working for me. William
  12. button71

    Topr right control box on form

    Folks, Further to the above Sometimes my app closes Ok, on others it locks up at this DO WHILE loop and the form does not close. PROCEDURE PropShutdown() * --- Release/Close All Open Forms --- *!*Any other clean up code you may want goes here DO WHILE _SCREEN.FORMCOUNT > 0...
  13. button71

    Logo on form

    Mike, In looking at the Other Tab in the Project I see the two logo and icon files I have used in the project already there. I recompiled the form.prg and Built an exe. I deleted the image files from the runtime project folder. When the app runs the icon shows on the Title Bar but the logo...
  14. button71

    Topr right control box on form

    Mike, I still got the error - so I put a Set Step On before the CLEAR EVENTS in destroy. When I click the X on the Main Form it justs goes directly to the error. So the Destroy method isn't being used possibly? Regards William
  15. button71

    Logo on form

    I have a manually coded form on which I wish to place an icon. I have used ADD OBJECT img as image WITH ; Top = 40, ; Left = 70, ; Height = 60, ; Width = 60, ; Picture = full development path to logo file,; Name = "img" It works OK in the dev environment but on other machines in which I...

Part and Inventory Search

Back
Top