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...
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...
(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...
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...
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...
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...
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"...
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...
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...
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.
...
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...
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...
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...
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 =...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.