Results 1 to 2 of 2

Thread: variable in a variable

  1. #1

    Thread Starter
    Lively Member sameer spitfire's Avatar
    Join Date
    Nov 2001
    Location
    India
    Posts
    120

    Arrow variable in a variable

    i got a variable which have same value in it
    and i got a another variable with store the name of the variable

    for eg

    two variable
    name as string
    vname as string


    name = "sameer"
    vname = "name"

    Now the problem is


    i want to substitue the value of name into a table

    can i use vname of doing the same

    In foxpro i can do that

    tablefiel = &vname

    this will store "sameer" in tablefield


    can i do this in vb and if so how?

    please help


    with Regards
    sameer Mulgaonkar

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    No! VB doesn't have pointers or those simple references that FoxPro has.

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