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!

Search results for query: *

  • Users: Evbcs
  • Order by date
  1. Evbcs

    Credit Cards

    Client wants to start accepting credit card transactions directly from an existing VFP application. I find many options for web-site applications, but nothing from a VFP program. Users now have access to the web from within the application using shell execute command. Any ideas?
  2. Evbcs

    Opening a cash drawer

    Thanks for the quick reply. Sounds like I should specify that they purchase a drawer that behaves like a printer. Any specific recommendations for type. Whatever would be easiest to implement. I assume that the foxpro code would be: SET PRINTER TO XXX SET PRINT ON ? CHR(???) SET PRINT OFF...
  3. Evbcs

    Opening a cash drawer

    A client has asked that we open a cash drawer from an existing application. (Nothing fancy.) I assume that we will need to send some kind of control character sequence (provided by the vendor) to it like we used to do in the old days with printers. How is that done from VFP 6 these days...
  4. Evbcs

    Delete and re-create index, from what?

    Michael, Keep in mind that the files need to opened exclusively to create or re-index a cdx and all users should be off the system. Evbcs
  5. Evbcs

    Replacing a character string through a whole project

    What about using the old "FILER" application that was in older versions of foxpro. It still works perfectly with VFP 6. Will allow you to find all the files and either do a global replace within each or make specific changes. Note you can only edit .prg files, but it will give you accurate...
  6. Evbcs

    Delete and re-create index, from what?

    For every system we maintain a permanent, stand alone program (.PRG or several linked .PRGs) to rebuild indexes for all tables used within the system. The underlying philosophy is that if one index is corrupt, there may be others that haven't shown up yet, so we refresh all the tables, all at...
  7. Evbcs

    What is PICTURE "999999.99"?

    Oh for the good old days when things were simple.
  8. Evbcs

    How to put the names of files from a folder into a table?

    Careful, ADIR() needs at least one file in a folder.
  9. Evbcs

    Getting Index Info

    Unique indexes can be a problem if you do not include "FOR NOT DELETED()" in the indexing command.
  10. Evbcs

    How to: Ignore a file for deletion if its in use

    If you use the ADIR() option, an easy way to skip the files that are in use as you loop through the array is FOR .... ON ERROR OK = .F. DELETE FILE (XXX) ENDFOR WHERE .... IS YOUR LOGIC TO LOOP THROUGH THE ARRAY AND XXX IS THE FILE NAME TO DELETE THEN RESET YOUR ON ERROR TO WHATEVER...
  11. Evbcs

    Rounding Problems

    Try the syntax Rnd_amt = VAL(STR( round(amount,2),11,2))
  12. Evbcs

    how to effectively hide table from users

    This has come up several times and we have never found a good solution. This question is for MIKE GAGNON Mike said: ------------------------------------------------- "R17 Another solution might be (if you have a server, or a partition on a hard-disk), to put the tables in a section of the...
  13. Evbcs

    Preview Report IN WINDOW nightmare

    This doesn't really solve all of your problem, but it is more information for you: The Print Preview Toolbar is just not in your window. Using the following code (substituting your variables etc.) gives a functional toolbar. DEFINE WINDOW wPreview AT 10,10 SIZE 20,40 IN DESKTOP FLOAT...
  14. Evbcs

    Programing VFP

    Most of us do not have the luxury of throwing everything we know away and starting over, which is what jumping directly into OOP requires. Our approach was to start slowly. If an application was well designed in the 2.6 world, we moved it up to VFP by simply converting those things that...
  15. Evbcs

    Adding pics/files in table fields

    Keeping the files in their native format and pointing to them will give you the ability to access them now with your current FoxPro system, but it also gives you the flexibility to access them in the future with other applications and products. Who knows what the best product for the job will...
  16. Evbcs

    HOW TO RECREATE INDEX WHILE OTHER USER ON FLY

    I frequently use the ".IDX" method above for creating temporary indexes. I make the IDX file name unique for each user. When you are done with the IDX, be sure to have a housekeeping routine to delete the IDX file.
  17. Evbcs

    Summing at bottom of report

    If you need to sum a group of records in the middle of a large file, changing to FOR rather than WHILE will cause a performance problem. How about saving the starting record number in a variable before you do the sum, and the GOTO the saved record after the sum?
  18. Evbcs

    Printer System Variables

    You can create a custom paper size in win2000 by hi-lighting the appropriate printer, right click and select server options from the drop down menu. Define a new paper required size just as you did in the old days with custom size. I usually use a generic, text only printer for tractor...

Part and Inventory Search

Back
Top