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 bkrike 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 AndyKr

  1. AndyKr

    Server speed problem

    This normally occurs when you are using grids that have filters in Versions of VFP prior to VFP 8.0. YOu don't really give much information so it is hard to ttell what else may be going on, but I have applications with 200+ concurrent users that do not show this type of behavior. ---- Andy...
  2. AndyKr

    Trouble Documenting Code in Form Events.

    In addition to what the others have said, there is a FREE documentation utility for FoxPro, written in FoxPro: http://www.eqeus.com/pdm.php This is freeware and is distributed with source code so you can easily modify it to do whatever you want. ---- Andy Kramek Visual FoxPro MVP
  3. AndyKr

    Trouble closing a form programatically

    Is rv_services used in a combo or list by any chance? Usually this sort of error occurs when list is trying to access a source that is not available... ---- Andy Kramek Visual FoxPro MVP
  4. AndyKr

    Controlling FoxPro blank screen at run time

    The fact that the desktop is showing up, with the form inside of it suggests that the form is NOT actually using ShowWindow = 2. If your config.fpw file does have SCREEN=OFF and is being used, the only way that you could get the VFP desktop back is if you have this code somewhere in your...
  5. AndyKr

    Location of VCX file

    >>Made a decision to keep all VCX'x on C drive. Life will be simpler that way. It's not just a question of WHERE the VCX's are, it's a matter of where they are IN RELATION to your application! If you create your forms on a different drive from the VCXs that define the classes used, then you...
  6. AndyKr

    field splitting

    >>And often have two or more of these formats in the same city, county, and/or zip code. Sounds like you need to get yourself a proper Address Checker. I believe that the best one around right now is called AccuMail - it does an excellent job of sorting out precisely these issues as well as...
  7. AndyKr

    Location of VCX file

    >>Unfortunately that is the problem, they are not on the same drive as noted above The you have a problem! The reason is that VFP uses relative paths to locate referenced files UNLESS things are on different physical drives in which case it includes the drive letter. Really the only thing to...
  8. AndyKr

    Fox Pro remote views with new connection

    Just change teh DSN which your remote views are using - you don't need to change anything else, since presumably the data structures and names are the same in the new server as onl the old. ---- Andy Kramek Visual FoxPro MVP
  9. AndyKr

    Changes Made Or Not ?

    >>For example, one originally want to input "ABC" i/o " ABC". And I just want to trim all leading space (previously in valid event). Any hint? The issue is that, as I said, any change you make to the field's value will cause VFP to see this as changed. One option is to add a property to the...
  10. AndyKr

    Changes Made Or Not ?

    >> I'm using the function GetFldState() but it always return me a value "2"(=field has been modified) even though I didn't change the value at all. What I've done is just clicking on the textbox which has CursorSource connected with that field. I agree with Mike, this is not default VFP...
  11. AndyKr

    How to: Join two table structures into another table

    >>How do you join the structures of two tables (say mytable1 and mytable2) into a new table? You can do this in a number of ways, depending on the situation. Probably the simplest is to use SQL to create a new table directly from the contents of existing tables: SELECT [field_list] FROM...
  12. AndyKr

    CHR() function in VFP 9.0

    >>Ok, I tried what you said, and it does look the same, but i was looking at them in step by step debug mode and it displayed 2 totally different sets of results? What you get for the characters above 128 depends on the font. I would guess that in VFP 6 you have the debugger set to use either...
  13. AndyKr

    Display something other than bound column in combobox

    >>I want to record the NID field as the bound column BUT show CDESCRPT as "text" in the combo box when an item is selected. A combo box always shows the content of Column 1 when it is in the closed position and there is no way to alter that. So the only solution is, as Geoff said, to reverse...
  14. AndyKr

    how to retrieve path of current .exe

    >> always used gcDefaultDir=sys(5)+sys(2003)to have defaultdir to the location my exe was started (in normal on C:\). Now I tried same but on D:\somedir This seems not to work. What is wrong? There are three properties on the VFP Application Object (_VFP) that relate to this: _VFP.StartMode...
  15. AndyKr

    Code needed for ALLTRIMCR() function

    And here's one for any version: FUNCTION alltrimcr( tcInString ) IF tcInstring = STRTRAN( tcInString, CHR(13)+CHR(10), '') *** Contains only CRLF RETURN STRTRAN( tcInString, CHR(13)+CHR(10), '') ENDIF *** Now check the end of the string lcStr = ALLTRIM( tcInstring ) DO WHILE .T. ***...

Part and Inventory Search

Back
Top