Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. VBA text problem

VBA text problem

Scheduled Pinned Locked Moved Visual Basic
tutorialhelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KORCARI
    wrote on last edited by
    #1

    Hi Working in MS Access VBA want to enter a number in textbox and return some text in another textbox. For example when enter 1 want to return in another textbox Boston. How to make this possible? Regards

    C D 2 Replies Last reply
    0
    • K KORCARI

      Hi Working in MS Access VBA want to enter a number in textbox and return some text in another textbox. For example when enter 1 want to return in another textbox Boston. How to make this possible? Regards

      C Offline
      C Offline
      ChandraRam
      wrote on last edited by
      #2

      KORCARI wrote:

      Working in MS Access VBA want to enter a number in textbox and return some text in another textbox.
      For example when enter 1 want to return in another textbox Boston.
      How to make this possible?

      Create a form with the two text boxes. Each text box has events associated with it. In the AfterUpdate event of the first text box, check for the value entered and accordingly fill value(s) in the second text box. HTH :)

      1 Reply Last reply
      0
      • K KORCARI

        Hi Working in MS Access VBA want to enter a number in textbox and return some text in another textbox. For example when enter 1 want to return in another textbox Boston. How to make this possible? Regards

        D Offline
        D Offline
        Dalek Dave
        wrote on last edited by
        #3

        Would also suggest you use CASE, much easier to follow and edit.

        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups