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

  • Users: CDavis
  • Content: Threads
  • Order by date
  1. CDavis

    Record Order

    I have a list box displaying "myField". I'd like to order the list in reverse order of the entry into the table (last in/top of list). I know that I could create a numeric field that increments for each new entry and then index on that in descending order. Is it possible achieve the goal...
  2. CDavis

    Intercept "Delete Tag" Warning

    With VFP 9 I am working on a module that allows the end user to delete an index tag. With SET SAFETY ON, VFP issues a warning when the user attempts to delete a "Primary" or "Candidate" index tag. The warning asks if the user wants to delete it anyway. I want to prevent the user from...
  3. CDavis

    Word Automation Wait Message

    (Using VFP 9) Problem: When automating MS Word, I'm using a document template that is the client's letter head. The template loads more slowly than I'd like and so I set ThisForm.Message.visible = .T. ("Creating Word Document...") I'd like to set .Message.Visible = .F. when the user closes...
  4. CDavis

    Strip CR/LF from end of expression.

    I have several expressions on a data entry form that I will combine and save in a memo field. I want to strip all the CHR(10) and CHR(13) characters from the expressions prior to saving them in the memo field. Is there a better solution than the following? DO While...
  5. CDavis

    Table Update/Revert Behavior

    Using VFP 9 General Observation: After appending a blank record and filling the record with a series of replace staments, I issue Tableupdate(). Subsequently Tablerevert() is issued. The record no longer exists. ***Form Init******** IF NOT USED("EVAL") USE EVAL IN 0 ENDIF SET MULTILOCKS ON...
  6. CDavis

    Intercept Call to Close Data Entry Form

    I'm starting a new project in VFP 9 In past projects I've not included a ControlBox on forms opting instead for an "Exit" button on the form. However for this project, I'd like to include the Control Box. I have been unable to find documentation on the order of events that occur after the...
  7. CDavis

    Container Class Property/Method

    With VFP9 I'm creating a container class "myContainer" which contains 3 labels: myLabel1, myLabel2 etc. The initial captions are set to "Title" and the 3 labels are arranged and colored so as to provide a 3D appearance. I've added a new property "myFormTitle" with an initial value of "Title"...
  8. CDavis

    Allowed DO nesting level exceeded.

    With VFP9 I receive the following error when trying to build the project into an executable: "Allowed DO nesting or expression evaluation level exceeded". (All elements of the program work fine in the Development Environment.) The build process does not generate a .err file to help narrow the...
  9. CDavis

    Problem Uninstalling VFP8

    I've been trying to uninstall VFP8.0 from my old box so that I can do a new install on my new machine. So far I've not been successful. When using add/remove programs from the Control Panel, VFP brings up a screen informing me that there are some prerequisites needed. I don't know why I would...
  10. CDavis

    Shorten Time to Automate MSWord Object

    I've been working on a project which uses automation to create Word Documents. My questions are related to the apparently excessive amount of time that it takes to open the Word session. The following code shows that it is taking longer than 5 seconds to actually create the object. ...
  11. CDavis

    Not An Array Error

    This relates to VFP 6.0 I have been experiencing an intermittent error: 'ATBL' is not an array. The error occurs in a code snippet that in the init event of a listbox object. The purpose of the code is to determine the number of files in the current or default directory with a .dbf extension...
  12. CDavis

    MS Word Automation -- Page X of Y

    I've been working on a project that includes automating MS Word for reports. I've purchased "Microsoft Office Automation with Visual FoxPro" from Hentzenwerke Publishing and it has been very helpful. However, I have been unable to determine how to Automate the Page X of Y feature...
  13. CDavis

    Insufficient Memory Error

    I have a small executable that I have loaded on several of our organization's computers. The app is written in VFP 3.0 Today I installed the application on a new computer and immediately received an insufficient memory error. I've looked at the previous posts on this topic and my situation...
  14. CDavis

    MAPI Objects

    I'm working on an Outlook system and want to parse e-mail information using MAPI. I'm hoping that someone can provide a list of all names for objects/information that are available. I'm using the following names that I'm using in the code example below: .body .sendername o =...
  15. CDavis

    Safely Delete Registry Entries

    I'm hoping that someone on the forum can help me understand the pitfalls I might encounter if I delete registry entries using regedit.exe. On my nephew's computer he has something that keeps resetting his explorer home page to GoHip-- There are a number of GoHip entries in the registry but I...
  16. CDavis

    Position A Form Relative To Mouse

    The keyword search facility is down so I hope this isn't redundant. For this question, I'm using VFP 3.0 I've created a date picker calendar that is a modal form called by the click event of text boxes on other forms. The text boxes are date types. The user can pick a date from the calendar...
  17. CDavis

    Drop Down List (Changing Focus From)

    For this question, I'm using VFP 3.0 I've created a dropdown list object that contains department numbers. The initial value is set to the current record value. After the enduser interacts with the dropdown list, I want to set the focus to another object (in this case a textbox named...
  18. CDavis

    Network File Location problem

    I am having a problem with an executable that I'm trying to place on a local area network. I've placed all the program and data files at the following location: \\appserver1\workorders\depreq\ I've placed a shortcut to the executable on my desktop and set the start in location to the same...
  19. CDavis

    Export Btrieve files to VFP format?

    I'm looking for some counsel on the best way to copy information from btrieve files into Foxpro tables.&nbsp;&nbsp;Thanks in advance.<br><br>CDavis
  20. CDavis

    Changing Date Value with On Key Label Assignments

    I have been attempting to change the value of a date field on a form by using On Key Label Assignments.<br><br>In the Got Focus event I have the following:<br><br>ON KEY LABEL LEFTARROW myDate.value = myDate.value - 1<br>ON KEY LABEL RIGHTARROW myDate.value = myDate.value + 1<br>ON KEY LABEL...

Part and Inventory Search

Back
Top