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 Mike Lewis 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. TheProgrammerGuy

    WITH... ENDWITH Syntax

    Olaf was specifically talking about RETURNing from within a LOOP. NOT a good idea in every case. Of course I use RETURN for functions and ending procedures. It is even moronic to suggest that I don't. Yes, after just now re-reading Olaf's post I see he was talking about using RETURN in...
  2. TheProgrammerGuy

    WITH... ENDWITH Syntax

    Thanks, Olaf. But I got it. I did use macros as it doesn't make any sense (to me) to make it any more complicated. The "usual" solution is sometimes the best :). Can't flip the data as that would be very counter-productive in this case. Also, I NEVER use "RETURN" in my code, it is BAD logic...
  3. TheProgrammerGuy

    WITH... ENDWITH Syntax

    I need to flip a bunch of checkboxes and I've forgotten how. They are all named the same with 1 to 60 at the end. I have started looking through old code but that could take a LONG time. :) Any help is greatly appreciated. All I need is the syntax for the command that actually does the flipping...
  4. TheProgrammerGuy

    1 to many grid Child data not dislpaying

    Be careful indexing on ALLTRIM() as it could lead to pointing to the wrong records. If the key field is 4 characters (for example) the index should be 4 characters as well. And, of course, the RELATION, too. In other words, all characters in the key field should be used in the index and the SET...
  5. TheProgrammerGuy

    1 to many grid Child data not dislpaying

    You need to tell us how the relation is being set between the two tables.
  6. TheProgrammerGuy

    Tooltips do not show in Exe

    Thanks Mike Lewis! This has bothered me for years. I knew it was a focus problem so I am very used to clicking on my apps after starting :) I assume I can just copy and paste this code into my form as is? THANK YOU!
  7. TheProgrammerGuy

    which one the best way in searching database? memo field or character string with fix lenth?

    And also be aware that memo fields (which are actually a separate file from the table itself) are more prone to corruption. It might be a really good time to consider adding the fields to your table. You can write some code to extract the data from your memo field and populate the new fields...
  8. TheProgrammerGuy

    which one the best way in searching database? memo field or character string with fix lenth?

    I have to ask, are you putting the entire address in a memo field? If so, I highly suggest that you split it into the 5 common fields: addr1, addr2, city, state, zip (more if needed). Then you can index and search on whatever you want. Larry (TPG)
  9. TheProgrammerGuy

    Weird Treeview control behaviour on touch screen application

    Well... All I can say is, I have also seen odd behavior on a touch screen - if I remember correctly, some things don't even work. I think you have to assume that FoxPro is NOT a modern platform and was never intended to be used with a touch screen since they didn't exist at the time. My...
  10. TheProgrammerGuy

    Send XML to WebService

    Are you using West Wind? If not, maybe you should check it out, I'm sure it is easy to find. I am NOT any kind of expert on this kind of thing, so I always used Rick's products for this, and he is (was, at least) always available to help. Larry (TPG)
  11. TheProgrammerGuy

    Legacy code for grid column sorting checks for recc() > 10000

    I think that the fact that the answer is going to a variable indicates that the process can be stopped.
  12. TheProgrammerGuy

    Fox 2.6 screens (Educational Question)

    FPD 2.6 has a Project Manager so you can open your screen in that or in the command window. Either way, when you open a screen, a "Screen" option will be added to the FP menu. Under that you will have options of "Screen Layout" and "Open All Snippets" (Snippets are generally the Whens and...
  13. TheProgrammerGuy

    Fox 2.6 screens (Educational Question)

    If I remember correctly, there are "Setup" and "Cleanup" areas of the screen where you can put any necessary setup code, or functions and procedures that you need. You will need to determine where the code snippet that you sent is located and if it belongs in "Setup" or "Cleanup", but I suspect...
  14. TheProgrammerGuy

    Need help on construct a Select SQL

    Can't see why you need SQL... Just relate arcust04 into arcard04 and use your EOF() function to check for records in each file. To check for records in arccar04 not in arccust04 you will need to open arccard04 in 2 work areas. For ex: *-- Setup in form USE arcard04 ORDER custno IN 0 USE...
  15. TheProgrammerGuy

    quit application

    Also, there is no problem with using the QUIT command if your intention is to quit... I'm quite certain that it is in EVERY program I have ever written.
  16. TheProgrammerGuy

    Please excuse me for posting this here but i need some sugestions

    ...there is someone else managing the server as they are doing some work on it" - hmmmm.....
  17. TheProgrammerGuy

    What are the alternates for DEFINE WINDOW in forms?

    You change the column names by editing the properties of the grid and changing them. I think you have to drill down a couple of layers to get to the level of the column headers (you can right click on the grid and choose 'edit' to do this). And while you're there you simply grab a column and...
  18. TheProgrammerGuy

    What are the alternates for DEFINE WINDOW in forms?

    In that case, you should quickly learn about the VFP Classes and how to use them to your advantage. Even if you don't think you will be changing any of them, you should always make your own copies because you WILL change many of them. :) And even if you don't, no harm done by masking your own...

Part and Inventory Search

Back
Top