Microsoft KB Archive/894011

From BetaArchive Wiki
Knowledge Base


Miscellaneous problems that are fixed by Visual FoxPro 9.0

Article ID: 894011

Article Last Modified on 3/2/2005



APPLIES TO

  • Microsoft Visual FoxPro 9.0 Professional Edition



SUMMARY

This article lists many of the general bugs that are fixed in Microsoft Visual FoxPro 9.0. This list is not at all exhaustive. However, it does highlight fixes in several different product areas.

MORE INFORMATION

  • The grid displays records that do not satisfy the SET FILTER condition.
  • The XMLTable.ChildTable property does not work if it does not belong to an XMLAdapter object.
  • View Designer replaces the "LIKE" operator with the "=" operator.
  • You receive an error 1494 error message when the following conditions are true:
    • A view is opened by using the NODATA clause.
    • The view is refreshed by using the REQUERYfunction.
    • The view preforms a SQL-UNION query with implicit type conversions.
    Note The text of the error message is "View definition has been changed."
  • Visual FoxPro closes unexpectedly when you switch datasessions from a form that has a grid to a session object.
  • The VALID and LOSTFOCUS events of Pages objects on a PageFrame control can be bypassed.
  • A CATCH command to a memory variable that is prefaced with "m." fails inside a TRY...CATCH structure.
  • If you run a program many times quickly by clicking the ! button on the Standard Toolbar, you receive error messages.
  • The Print dialog box appears behind the desktop when it prints the Clipboard.
  • The Product ID (PID) from Visual FoxPro 8 appears on the Microsoft online support Web site as Visual FoxPro 7. New PIDs are generated for Visual FoxPro 9.0.
  • The PageFrame.Move method incorrectly adjusts the size of the PageFrame control.
  • When you use a member class to add an ActiveX control to a PageFrame control Page that is different from the first page, the ActiveX control appears on the first page.
  • With Themes enabled, if you resize a form in a specific way in the Designer, controls do not redraw on the PageFrame control page.
  • When the BackColor property of a graphical OptionButton control is set to hot tracking, the control appears incorrect on a themed page.
  • The ALINES function trims carriage return-linefeed combination (CRLF)characters if the cParseChar parameter is provided.
  • When you use the SET EVENTLIST TO command, Windows event tracking by using the SYS(2801,2) function is disabled for your Visual FoxPro session.
  • A non-themed, opaque label does not have the correct BackColor property on a themed page.
  • An item that has been added to a ComboBox control is not available to delegate code when the delegate is bound to the Combo.AddItem method by using parameter 1.
  • The INSERT INTO command does not reselect a vacant work area.
  • The INPUTBOX function disables custom menu bars.
  • In a mutiuser scenario with a table buffered grid, you receive an "Index does not match table" error message.
  • When an unexpected failure occurs, the CursorAdapter.CursorFill method unexpectedly closes the recordset that it is trying to attach.
  • You have a grid on a form that has a Partition property set to a value that is 319 or greater. When you run the MODIFY FORM or DO FORM commands on that form, you receive error messages.
  • If you set the AllowCellSelection property to False (.F.), a disabled grid is enabled.
  • If you interactively set the LockColumns property of a grid, the LockColumns_assign method or any other method that is bound to the LockColumns property is not called.
  • If the AllowCellSelection property of a grid is False (.F.), the grid cannot obtain focus if the RecordSource property has no records.
  • You receive the following error message when you publish a Web service:

    SCHEMANODE does not evaluate to an object.

  • The EditBox control does not respect the lead bytes of double-byte characters.
  • The Version(3) function returns enu code (00) when the Vfp8rcht.dll file is loaded as a runtime resource file.
  • The BeforeOpenTable DBC event receives the name of the currently-open table instead of the name of the cursor that is being opened.
  • The Activate DBC event does not occur before the Database Designer window opens on a deactivated database.
  • The CursorAdapter object does not update the back-end if the ODBC driver does not support transactions.
  • The CursorAdapter.ConversionFunc property is not found if the SKIP command is used in the cursor before the TableUpdate function is used.
  • The CREATE SQL VIEW command fails if the SELECT-SQL command includes a literal string that is enclosed into brackets ([ ]) with a single apostrophe ( ' ) inside.
  • If you pass no parameter to the SQLSTRINGCONNECT function, you receive the following error message:

    Function argument value, type, or count is invalid.

    The expected behavior is to open the Select Data Source window.
  • You can still change a value in a ComboBox control that returns .F. from the When event.
  • When you delete a parameter statement from an inherited method while it is in the class or in Form Designer, the method appears as [Default] in the Properties window.
  • In Visual FoxPro 8, the COPY TO ... FOX2X command converts the Currency field to Float(12,4). In earlier versions of Visual FoxPro, the COPY TO ... FOX2X command converted the Currency field to Float(20,4).
  • The Form.SaveAsClass method lets you save a file by using an invalid name.
  • The WAIT WINDOW command does not position the window correctly in a dual or multiple-monitor configuration.
  • If you use the $ operator in a SQL -Select statement, you receive a "SQL: Internal Error" error message. This error message is Visual FoxPro error number 1800.
  • When you press the DOWN ARROW key in a grid, you receive a "Record is out of range" error message. This error message is Visual FoxPro error number 5.
  • The SYS(3054) function does not display the percent sign ("%") in a string when the function reprints the SQL statement.
  • A stack overflow error occurs when an object and its descendant are both derived from the same class, and the object and its descendant are stored in the same class library.
  • You may use the SCREEN=ON command in the Config.fpw file. When the file is compiled into a DLL or a multithreaded DLL (MTDLL), a fatal exception occurs in Visual FoxPro.
  • The Report Wizard does not display indexes.
  • The value of the _PAGENO system variable is incorrect in a report when the group spans more than one page.
  • The REFRESH command does not update the current record in the local view. The REFRESH command works fine in the remote view.
  • A query returns an incorrect result when you use a temporary index on a nullable field to optimize JOIN evaluation.
  • A query returns an incorrect result when you use a temporary index on a nullable field to optimize JOIN evaluation for a not equal to (!=) condition.
  • You receive a "Variable '...' is not found" error message when you build a project that has an included table and an indexed long field name.
  • The PageFrame.Width and PageFrame.Height properties do not return the current width and height if the TabStretch property is set to 0 (zero).
  • The value of the PageFrame.PageHeight property does not change when rows are added.
  • The PAGE UP, PAGE DOWN, and HOME keys do not raise the Click event in a ListBox control like the arrow keys do.
  • A NULL literal in the Remote View command is replaced with .NULL.. This behavior prevents save or execution.
  • A MODIFY COMMAND command with a short file name erases a file that has a long file name. A short file name may be have eight characters in the name, have three characters in the file name extension, and use the tilde (~) character.
  • The ListBox.InteractiveChange event does not raise when you click a list box item and then move the mouse pointer to another item in same list box.
  • The This_Access method is not called if an object is referenced by using an array element or a collection item.
  • When you try to pass an additional parameter by reference to a procedure or an object method, you receive a "Cannot redefine" error message.
  • When Microsoft ClearType is enabled, a label on a form becomes bolder each time that the form is refreshed.
  • When you use the ISBLANK function in a SQL SELECT command together with an aliased table, you receive an "Object AliasName not found" error message.
  • The BitLShift function causes an integer overflow exception (0xC0000095).
  • You receive an error message when you add a table from the Database Designer to a form if the table has a numeric name.
  • If you click the drop-down portion of a ComboBox control, the click passes through the ComboBox control to the underlying control and then fires the Click event of the underlying control.
  • You receive a "Connectivity internal consistency error" error message when you save a local view if the database name includes a bracket ( [ ) or an apostrophe ('). This error message is Visual FoxPro error number 1522.
  • The WordWrap property of the CommandButton control lets you wrap text. However, you cannot specify a carriage return.
  • The drop-down columns of a ComboBox control are not centered on the screen.
  • The ResetToDefault method of a member property that contains an object reference does not release the object reference.
  • Changes to a buffered cursor disappear in a multilevel transaction.
  • If you call the CDX function with a value of 17, you receive a "Function argument value, type, or count is invalid" error message.
  • The SQL UPDATE command is limited to 128 fields. It should be limited to 255.
  • You receive an "Internal consistency error" error message when a ListBox control is bound to an indexed cursor.
  • You receive an "API call caused an exception error message when you use the CallFn function from the FoxTools.fll library that is included with Visual FoxPro 7 and Visual FoxPro 8. This error message is Visual FoxPro error number 2028.


REFERENCES

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

818179 Miscellaneous problems that are fixed by Visual FoxPro 8.0


Keywords: kbinfo KB894011