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!

Search results for query: *

  1. pthalacker

    SQL ST - can't close cursor !

    Something doesn't seem quite right with the select statement syntax. What is the name of the database and what is the name of the table? pamela
  2. pthalacker

    Reoccuring Table Corruption Problem

    Novell and Fox never got along. There were times when my Novell client would keep a file handle open even after I closed Fox. It required a cold boot for me to release the file handle. This is a recipe for table corruption. Running FoxFix was part of my weekly maintenance routine. The...
  3. pthalacker

    XMLTOCURSOR()

    Hi Fred, XML can take a unlimited number of formats. XMLToCursor() has a limited understanding and expects to receive something similar to what is generated when you use CursorToXML(). If your incoming XML has a schema the I suggest using an XMLAdapter class to give VFP more information on how...
  4. pthalacker

    How do you connect to an SQL table at a remote site

    Hi Bill, My experience with SQL Server connections strings is that IP addresses are pretty much interchangeable with server names. pamela
  5. pthalacker

    Trouble Calling a FoxPro Stored Procedure from .NET

    When you say it works from the Command Window, how are you creating and destroying the license class? I don't see that in your code. I have never tried it, but I wouldn't be surprised if you can't use DEFINE CLASS in a stored procedure. It can't be used inside program flow structures. pamela
  6. pthalacker

    Creating and Exporting Reports

    I assume that you do it the same way you launch any application from the command line. I have never used Unix but in DOS you just typed the name of the EXe. Once Fox is launched you get a Dot '.' prompt that functions much like the C:\ prompt in DOS. To exit Fox you type 'Quit' at the dot...
  7. pthalacker

    Appending from Comma Delimited file into MEMO field

    From the help file on APPEND FROM You might be able to parse it using Alines(FileToStr(myfile.txt)) or you may have to resort to using low-level file functions pamela
  8. pthalacker

    KeyPress in run time

    Pressing the Enter key should have no impact on the GotFocus and LostFocus events. You might pick up a copy of "The Fundamentals" at hentzenwerke.com. Although it was written for VFP6, most of the basic principles it covers still apply. pamela
  9. pthalacker

    Invalid date error...

    That to me is the question. Fox has no problem with: ?{^1066/10/10} ?Date(1066, 10, 10) Could there be something else going on? pamela
  10. pthalacker

    how to handle 2 users updating file viewed in grid

    Once user 1 has saved the updated information to disk the grid's Refresh method can be used to update the information in the cursor that is the RecordSource for user2's grid pamela
  11. pthalacker

    XML import not working

    I would probably use the XMLAdapter class. It has an AddTableSchema method. pamela
  12. pthalacker

    64 Bit Compatiblity

    Yes, it should run in compatibility mode. pamela
  13. pthalacker

    XML import not working

    Yes, there have been many improvements in XMLToCursor over the versions, but XML is a very complex standard. Once you get past rather basic constructs, you need a schema for the source table to get you best results. With complicated source, I still often use string parsing or instantiate the...
  14. pthalacker

    Map/Link an Excel cell to VFP field value

    Yes If the code is in a macro, something has to invoke the macro. I assume that would be the user. I am no expert in VBA either, but I assume it would use a FOR loop to cycle through all the cells in a range such as A2:A22 pamela
  15. pthalacker

    Validation check box

    Your code looks like VB code, not VFP code. Are you using VFP tables for data storage? In VFP to assign a null value to a field the code is: REPLACE MyField with .NULL. IN MyTable pamela
  16. pthalacker

    XML import not working

    Are you sure? Without looking at your source XML document I can't be sure, but is it possible that there is an additional single node between the primary node and your field name and value nodes? pamela
  17. pthalacker

    read-ony problem after server migration

    Just for your information the *.pjx file is not part of the runtime application, it is part of the source. It is the recipe for how to create the EXE. So it makes for a good test of your theory. pamela
  18. pthalacker

    Error 3021 Either BOF or EOF is True

    Hi Ralph, This is a VB or ADO error, not a VFP error. You will get more help in a VB forum. Here is a link to one discussion http://www.vbforums.com/archive/index.php/t-461485.html For more just put the error message in a Google search pamela
  19. pthalacker

    Moving a Database

    You might want to double check that all of your tables (and the DBC) are marked as excluded from the project. If any of them are included in the EXE they could have an incorrect backlink. pamela
  20. pthalacker

    FoxPro Memo Field Question

    There is no such limit mentioned in the System Capacities topic of the VFP6 help file. It mentions a 65,500 limit to the number of characters in a record, but a memo field only takes up 4 bytes, so that wouldn't be affected. I don't remember ever hearing of such a limit. pamela

Part and Inventory Search

Back
Top