Results 1 to 2 of 2

Thread: variables

  1. #1

    Thread Starter
    Addicted Member smh's Avatar
    Join Date
    Oct 2000
    Location
    South Dakota, USA
    Posts
    249
    This is what I want to do, and logically, this would seem to work, but it doesn't. I want the first field name to be a variable.

    rsd.AddNew

    Name = ("rsd!" + strComboBox)

    Name = strComboContents
    rsd!contact = frmForm!cboContact.Text
    rsd!Phone = frmForm!mskPhone
    rsd!extension = frmForm!txtExtension
    rsd!fax = frmForm!mskFax
    rsd!Email = frmForm!txtEmail

    rsd.Update

    Any suggestions on how to do this?
    Normal is boring...

    smh

  2. #2

    Thread Starter
    Addicted Member smh's Avatar
    Join Date
    Oct 2000
    Location
    South Dakota, USA
    Posts
    249
    I was, but I just ended up using a select case statement instead.
    Normal is boring...

    smh

Posting Permissions

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



Click Here to Expand Forum to Full Width