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 toddsevans

  1. toddsevans

    Does a Form's Data Environment supercede SET DATABASE TO?

    Thanks Mike. I am curious though. If I explicitly open the tables in the load event what is the advantage of using the data environment in the first place?
  2. toddsevans

    Does a Form's Data Environment supercede SET DATABASE TO?

    I am working on a function which will allow my users to deploy their data to an alternate directory. The problem I am having is that once I move the data I am unable to get my program to use the deployed data. Everything I have tried makes it look as though I have set the database properly but...
  3. toddsevans

    Creating Forms - Designer vs. Programatically

    Rick, why is it a bad idea to have extremely complex forms? Todd
  4. toddsevans

    Creating Forms - Designer vs. Programatically

    Maybe my debugging skills are the problem. If I create a new form and I want to debug the VALID event for a text box I copy the code into a prg and run that in the debugger. If the event calls an object created outside of the event I get errors like c:\...\investor_data.scx does not exist. I...
  5. toddsevans

    Creating Forms - Designer vs. Programatically

    Hi, I'm just starting to really get my feet wet with VFP7. I have been using the form designer to create forms because it seems much easier. I notice that in the code examples here people are often using code to create their forms. Can someone discuss the pros and cons of each approach? I...
  6. toddsevans

    Why is everyone so hot to get "certified?"

    I agree, my topic was off the mark. The point I was trying to make was that there may be some other certifications that would have more career value or at least wider application in the industry. As I said, I'm just looking for opinions.
  7. toddsevans

    Why is everyone so hot to get "certified?"

    I'm just curious. I am learning VFP because I happened to get a project at work that needs it but I don't see all that much opportunity beyond what I am doing now. I've been looking at learning the language as something I must do for this job. Don't get me wrong I think n FoxPro is a good tool...
  8. toddsevans

    What Event Opens A Data Environtment?

    Thanks for the advice. I looked at enternam_sort's data environment and it contains no tables. All this form does is store a user input character string to a variable. The first form does use a private DE and enternam_sort was using the default DE. So... Just for the heck of it I changed the...
  9. toddsevans

    What Event Opens A Data Environtment?

    Does any one know which events cause a form's data environment to open/close? I ran into a problem where the lostfocus event of a txtfield on form1 called a form2 and when form1's activate event fired again the form1 data environment was no longer open. Here is the code in the lostfocus event...
  10. toddsevans

    Really Strange FoxPro Behavior

    Even a WAIT NOWAIT command causes this strange behavior
  11. toddsevans

    Really Strange FoxPro Behavior

    I have discovered that if I take out all the WAIT WINDOWS the code executes properly. Strange that WAIT WINDOW would change the currently selected database.
  12. toddsevans

    Really Strange FoxPro Behavior

    There is a huge amount of code but I really think that all you need is this piece. Of course there is an ENDDO but the problem presents itself long before you ever reach it.
  13. toddsevans

    Really Strange FoxPro Behavior

    Something very strange is happening when I use SELECT... Here is a portion of the code: ******************************************************* SELECT deduc SET FILTER TO deduc.loan_no = ALLTRIM(macct1) GOTO TOP WAIT ALIAS() WINDOW DO WHILE !EOF() WAIT ALIAS()WINDOW...
  14. toddsevans

    Can You Use Variables as Property Names?

    Cool!!! Thanks to everyone who responded. I learned way more than I expected to. But... I'm trying to make the INIT event as generic as possible. If I use the code suggested it works great but only for that one particular instance. I'd rather pass variables to the form and have the INIT...
  15. toddsevans

    Can You Use Variables as Property Names?

    Thanks, but since I am new to this it isn't obvious from your reply what I need to do. So I'll give more detail about how I am approaching this. I have a program that takes a user entered string (a name) and searches a table for that string. If the string is found the following code is executed...

Part and Inventory Search

Back
Top