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!

Recent content by ggreen61

  1. ggreen61

    Strange behavior with SET("Classlib")

    I think you can edit your own posts -- maybe just change the title and content?
  2. ggreen61

    FoxyPreviewer Variable _REPORTOUTPUT Not Found

    I hope that you did not use your actual serial number in the post above...
  3. ggreen61

    Visual foxpro matrix framework

    I would suggest that you develop your own framework if you expect to maintain your application for years to come. Any framework that is available is most likely not supported anymore and the documentation may be scarce with few people to ask questions. Also, any bugs that are existing would...
  4. ggreen61

    Custom class in a custom class

    The add method always adds to the custom class that you are working with not any class that was added. To add to the custom label class, you would need to open it and add the methods there. You can add a blank method to the label class and then open the container class and add the custom code...
  5. ggreen61

    Change words (language) in button set

    If you want to support multiple languages, take a look at Steven Black's International Toolkit: http://www.stevenblack.com/intl/
  6. ggreen61

    html editor

    I wrote a Richtext editor as shown: You can find the source code at: https://github.com/ggreen86/VFP-Editors Look for the classlib GKKTextEdit.vcx. There are multiple classes and images that are needed (all found at the link).
  7. ggreen61

    Foxypreviewer commercial license

    The 2.99 version of FoxyPreviewer is free to distribute with your applications. The 3.x version is not and must be licensed.
  8. ggreen61

    Progress of report being processed

    For the report you would need a custom report listener class for the report engine. I think there is an example in the foundation classes/examples that comes with VFP9. Also, Doug Hennig has published a PDF on report listener classes that is very good.
  9. ggreen61

    .dbf files mysteriously gone missing (or being deleted)

    There can be problems with renaming a bak file to a dbf file. If the dbf is part of a database (DBC) then the database will contain the structure definition to the dbf. The dbf backup file is usually created when you made a structural change. So, these may not match any longer and you could...
  10. ggreen61

    Report layout differs when running

    I would suggest making a copy of your report first. Then hack the report by opening via USE reportname.frx. Then manually set the hpos value to the same value for the objects that you want to be all aligned.
  11. ggreen61

    .dbf files mysteriously gone missing (or being deleted)

    In order to prevent a user from being able to browse to a share that contains the tables, I have used the following strategy: //sharename/protectedfolder/sharedfolder The protected folder user rights are not granted to the business users. The sharedfolder user rights is granted to the...
  12. ggreen61

    Report not showing selected records

    Try for your select statement: SELECT * FROM PLANPROD WHERE ALLTRIM(UPPER(PSTAT))=="PENDENTE" INTO CURSOR curPedProd
  13. ggreen61

    Opening and reading from a binary file larger than 2GB

    You might be able to speed up the VFP version by increasing the BLOCK size value. Instead of 8192, you might try sizes greater than 10 megabytes... This would be less reads performed. I believe that when comparing two string values, VFP will stop comparing when a byte is different between the...
  14. ggreen61

    how to send Esc code to Epson LQ-590II for draft, courier, etc.

    What is your Windows printer driver -- I think you have to use a Raw printer driver.
  15. ggreen61

    sorting

    Create the following index on your field that contains the grade value (where grade is the field name): INDEX ON PADL(ALLTRIM(grade), 10, '0') TAG grade Now use this index to set the order for display. If you want to select the records then use the same PADL() expression in the ORDER BY clause.

Part and Inventory Search

Back
Top