A few Questions on VFP 5.0a
Quote:
> I have been informed by our manufacturing software provider that
> their ODBC driver will not work with any ODBC version 3 compatible
> software until the release of version 6.1 of their software which is
> now in beta. Since all of our VFP 5.0 project work with the current
> ODBC driver I'm assuming that VFP 5 is only ODBC 2 compliant.
Right. If you're going to use SQL Pass-Through, sending sql statements
to the backend through SQLEXCUTE(), you' can send hatever SQL the
baclends. ODBC can handle, regardless of VFP's ability to handle a
similar SQL itself.
Quote:
> My other question is does
> anyone know of a way to have a grid only display full rows. I
> currently have a grid on a form and if the user resizes the rows so
> that the last row can only show half the row I would rather not have
> it show the row at all. Can this be done?
You can save the Grid.RowHeight to a form property and check if it's
unchanged in AfterRowColChange. If it'sv been changed, you can calculate
if the new value is whole multiple of available space and adjust it.
You can also turn off row resizing by setting Grid.AllowRowSizing false.
Adjustment to the column widths can be tracked automatically in the
column.resize event, but there's no such event for row resizing.
About your spinner problem. for the range 99 tp 0, set the
spinner.Increment to 1. or 1.00, the spinner.InputMask to '99' and the
KeyBoardHighValue to 99, KeyBoardLowValue to 0, and the SpinneHighValue
and SpinnerLowValue to 99 and 0.
-Anders
!^NavFont02F051A0007MIF2HLbBDF6
--
12/05/97 17:03
---------
Using: OUI 1.8 Beta 7 from http://www.peaktopeak.com