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 strongm 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. BeerFreak

    Formatting percentages with StdDataFormat

    Thanks for the reply, but that doesn't work when formatting numbers in a grid where the DataSource is a table on a database. I'll check to see if my OLE DB Provider supports a format function, but I'd really like to understand how StdDataFormat works.
  2. BeerFreak

    Change Scale in MSChart...

    The easiest way to find the min and max values in your array is to step through all of them using a FOR loop. The code to set the upper and lower limits of the chart is: chtTimePen.Plot.Axis(VtChAxisIdY).ValueScale.Maximum = txtUpperLimit...
  3. BeerFreak

    substitute for registry

    Or you could use a disconnected ADO recordset; I love these. You can create the ADO recordset using code such as this: Set rstAverages = New ADODB.Recordset With rstAverages .Fields.Append "SamplingPort", adTinyInt .Fields.Append "Average", adDouble...
  4. BeerFreak

    Formatting percentages with StdDataFormat

    I need to format a long decimal number (say 0.038375791) as a percentage with four decimal places (ie: 3.8375). I'm displaying the numbers in a MS DataGrid control that has a DataFormat property. As I understand it, if I use the standard "Percent" format it always displays two...
  5. BeerFreak

    Error #3061 When Using OpenRecordset Method.

    It looks like line 60 should read: CatQuery = "SELECT * FROM Names WHERE BallotNumber = " & VarBallotNumber & " AND BallotPage = " & VarBallotPage & " AND CatID = " & VarCategoryID I'm assuming that BallotNumber, BallotPage, and CatID are all numeric. If they are...

Part and Inventory Search

Back
Top