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: *

  1. igorsandler

    Report not receiving data properly

    Agreed
  2. igorsandler

    Report not receiving data properly

    Most likely, the form creates the alias but report set to private data session, like you said. Even though I don't understand how what did he mean by able to preview it but running the form it doesn't work. Seems preview in design mode, not GUI
  3. igorsandler

    Sorting an array

    What kind of error?
  4. igorsandler

    delete having more than 1 count

    Completely agree. I would go even further and I would create an updatable view, browse it first and if I like what I see, DELETE ALL==> TABLEUPDATE()===>Requery(), unless FoxUp is not familiar with views
  5. igorsandler

    sorting

    If you need to sort a view or a cursor, you can add an additional field to it INT(VAL(grade)) AS igrade_sort. If you need to order a table then you need to create an index, like it was suggested above. I am using it all the time
  6. igorsandler

    Can NOUPDATE prevent a DBF corruption

    Keep in mind the size of the table. Reaching 2GB will corrupt the table permanently
  7. igorsandler

    Sum of values in a Report Detail band

    Maybe I am missing something but if you have the totals already calculated on the form, then you don't need any report totals, just correct groupings on report and display form totals as a variables. Otherwise, you will need to create multiple groupings on the report and create report totals for...
  8. igorsandler

    SQL query syntax

    I am confused by your explanation. If you need a single record from the parent, why would you need any detail in the first place? The only thing you would have from detail or child is some kind of amount if you group and the rest of information from the child will collapse to the last...
  9. igorsandler

    Report with no Data Environment

    Well, you have very valid responses from other users and I completely agree with them about this very strange request. Report with 300 fields on one page? That would be pretty hard to implement. But if you still want to do it, the suggestion to create a bogus cursor with a number of records for...
  10. igorsandler

    Report with no Data Environment

    As long as those variables are public or global and the report has to be set with default data session. It's a bit weird, quite frankly. I don't see why you can't create a cursor at least with the fields selected on the form but without more details it's hard to day
  11. igorsandler

    Need help with a concept for sharing data between VFP apps

    Completely agree. We have the same thing when the same user can open the same form from multiple sessions of the same data, that is not a problem at all. The only thing we do is locking up the processes that create transactions: billing update, payment update etc. But maintenance form can be...
  12. igorsandler

    Go to (n) record where n is thisform.text1.value

    Personally, I don't understand what the problem is. The record cannot be found? The form doesn't show result if the record has been found?
  13. igorsandler

    strange report behavior

    Get CutePDF, it's free, services as a printer and you will not have any problems. We used it all the time
  14. igorsandler

    Receipt on a dot matrix printer

    We use textreport class library, my former manager found a long time ago. At that time our clients used DotMatrix reports heavily. This class is awesome, you can print any text you want and customize it. All our FoxPro laser reports have an instance of this class if the user selects to print to...
  15. igorsandler

    If an Excel file already exists in the folder...

    We convert DATETIME() to a character and add that to the file name so that has some kind of meaning.
  16. igorsandler

    Combobox populated with data from a table

    Hello, like I said, it's your app, you can design it any way you want. I was just saying that normally you don't use combobox, if the user need to chose from more than 20-30 records. As far as views, I write my own SQL views statements, meaning I do not use FoxPro view wizard. We still use...
  17. igorsandler

    Combobox populated with data from a table

    You c an design your forms any way you want but, in my opinion: 1. I would never use tables as a source for anything, only views. They can be open exactly the same way as tables can but it much safer than to use tables directly. 2. 2000 records in the combobox???? Have you try to pick a record...
  18. igorsandler

    Combobox populated with data from a table

    Yes, this is he way we do it as well: using views mostly but sometimes cursors to drive a combobox
  19. igorsandler

    SetFocus not working

    Not my code but check the VALID() in the LostFocus() is a bit weird, I don't think you need it. If VALID() = .F., the cursor will never get into the LostFocus() anyway
  20. igorsandler

    SetFocus not working

    Yes, that is all correct. Valid() is better but LostFocus() will work as well. I think the problem with the original code is that there is no test at all. And, yes, IF EMPTY() without CTOD() should work fine. Another issue I can see with all that is that returning .F. from either method will...

Part and Inventory Search

Back
Top