Results 1 to 10 of 12

Thread: temporary VT?

Hybrid View

  1. #1
    Senior Member
    Join Date
    Oct 2012
    Posts
    239

    Question temporary VT?

    how is it possible to create a temporary virtual table (so that it is not included in the open database similar to the
    Code:
    create temporary table
    command )?

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,180
    Blog Entries
    22
    Try prefixing the name with an _ which should prevent it being added to the database.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Senior Member
    Join Date
    Oct 2012
    Posts
    239
    the VT definition tables: _ <vt_name> .dbf and _ <vt_name> .dbd (unfortunately) are placed in the /data:/<database>/ folder.
    It is true that the Data workspace does not show this VT. This table does not appear in the Data workspace after Database -> Rebuild, but is opened by the use _<vtname> command (not per user).

  4. #4
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,180
    Blog Entries
    22
    Have you tried creating the VT in the console with no database open.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  5. #5
    Senior Member
    Join Date
    Oct 2012
    Posts
    239
    from consol, but with an open database (of course).
    I can't find a command like the one in VFP: Set database to.
    In addition, only one database can be open at a time, but closing it will also close the tables.
    (Create table FREE still exists in VFP, I can't find one either)

  6. #6
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,180
    Blog Entries
    22
    Push datasession
    create …
    pop datasession
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

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