Results 1 to 4 of 4

Thread: open table by function

  1. #1
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,893

    open table by function

    how can I open a table if the name is a parameter?
    ie:
    a = "itemtable"
    use &a in 0

    this works in VFP and open the "itemtable" table.

    thanks

  2. #2
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,259
    I would expect that to work (and will log a ticket).

    You can use this:

    use (a) in 0

  3. #3
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,259
    Update on this - the use &a in 0 will not work in the Console, as macros are disabled. It does work in a program.

  4. #4
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,893
    Ok,
    thanks

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us