Results 1 to 3 of 3

Thread: Simple Question

  1. #1
    Join Date
    Mar 2004
    Posts
    52

    Question Unanswered: Simple Question

    I usally use msg boxes for displaying results.
    Anyhow I now would like to have the result variable printed out in a forms textbox.
    In VB editor I tried to use the value of the forms textbox to: results (var. name)
    it simply display "results".. in javascript to print out the contents of the var I am used to ''+results+'' but that does not work, and I also tried &results& but no change it just display "&results&" instead.
    Any help would be appriciated
    //M
    "Never underestimate a large number of morons"

  2. #2
    Join Date
    Mar 2004
    Location
    www.scirocco.ca
    Posts
    346
    Try this

    Dim results as String

    TextBox.Text = results
    http://www.scirocco.ca/images/banner...occobanner.gif

    Download for FREE the ADO/DAO Data Controls that makes life EASIER developing database applications in: VB, FoxPro, Access, VC++, .NET etc... Navigate, Add New, Delete, Update, Search, Undo and Save your changes. Supports Disconnected Recordsets and Transactions!

    Or try our Ask An Expert service to answer any of your questions!

  3. #3
    Join Date
    Mar 2004
    Posts
    52
    Dim results as String
    >>
    did that in the first form where I have a button open up the new form with (hopefully) the resuklts in..

    TextBox.Text = results
    >>
    where do I put that code?
    in the click() for the button which do the calc? or somewhere in the new form?
    As I go inte design mode of the forms textbox I just get all the events coming up, Iīd liked the onload event but no such thing..
    sorry I am a real newbe..
    "Never underestimate a large number of morons"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •