Search results for query: *

  1. T

    How do I display 2 places after decimal (currency) when zero reading from Access DB?

    That works great. Praises, Praises! Now I’ve got something great to add to my arsenal. Thank You.
  2. T

    How do I display 2 places after decimal (currency) when zero reading from Access DB?

    I copied and pasted into Visual Studio and I got the following syntax error on both stmts. I don't know enough to guess at the cause. I have Option Strict On? "Public Overridable Function ToString() As String' has no parameters and its return type cannot be indexed. txtCost.Text =...
  3. T

    How do I display 2 places after decimal (currency) when zero reading from Access DB?

    I want to display 10.50 instead of 10.5 to txtSalesPrice.Text when I read Access DB. It is stored in the DB as a String 10.5. How do I change the code below for txtSalesPrice.Text and txtCost.Text? Thanks in advance for any help. ' Display the current record. Private Overloads Sub...
  4. T

    Using ProposedValue Validating String input field Access DB

    Resolved I found the answer in another book. Case "fldPartDescription" If e.Row.Item("fldPartDescription").ToString.Length = 0 Then MessageBox.Show("Part Description must be entered", _ "Error", MessageBoxButtons.OK) EndIf
  5. T

    Using ProposedValue Validating String input field Access DB

    I want to make sure that when adding a new record to the Access DB the user enters data all fields. I figured out the Integer fields but cannot find how to check the String fields. I searched the forum and could not locate anything. Any help would be appreciated. The Description field is the one...
  6. T

    Exception writing a Seq file after reading seq file and loading into ArrayList

    I will check the file and then I will take my code to a tutor and get an explanation of what I am doing wrong along with a copy of your reply. Thanks for the help!
  7. T

    Exception writing a Seq file after reading seq file and loading into ArrayList

    I am reading a Sequential file load it into ArrayList and when the user clicks mmuSaveFile_Click. I get the exception (Specified cast is not valid). Can anyone tell me what I am doing wrong ? Look for EXCEPTION below. Also when I use MS Visual Studio to step thru the code it never goes to...
Back
Top