SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Aug 2000
    Location
    NY,NY,USA
    Posts
    103
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Window statement

    Right you are! Excellent. Thanks You

    ------------------

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    NY,NY,USA
    Posts
    103
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Window statement

    I'm trying to assign window names dynamically. Every changes so much in my app that I am trying to do this (but get "Variable already defined" errors.
    Is there a way to do this?

    [-] select
    [-] case Accounts.Registration.PbxTab1.City.City.Exists()
    [ ] window test = Accounts.Registration.PbxTab1
    [-] case Accounts.Registration.PbxAccount.Registration.PbxT ab1.City.City.Exists()
    [ ] window test = Accounts.Registration.PbxAccount.Registration.PbxT ab1
    [-] case Accounts.PbxAccount.Registration.PbxTab1.City.City .Exists()
    [ ] window test = Accounts.PbxAccount.Registration.PbxTab1


    ------------------

  3. #3
    Senior Member
    Join Date
    Jul 2001
    Location
    Ithaca, NY, USA
    Posts
    199
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Window statement

    You are trying to redeclare the test variable 2 times. Declare it once at the beginning of the function (or script) and just reuse it afterwards.

    This should work:
    -----------------

    window test

    select
    case Accounts.Registration.PbxTab1.City.City.Exists()
    test = Accounts.Registration.PbxTab1
    case Accounts.Registration.PbxAccount.Registration.PbxT ab1.City.City.Exists()
    test = Accounts.Registration.PbxAccount.Registration.PbxT ab1
    case Accounts.PbxAccount.Registration.PbxTab1.City.City .Exists()
    test = Accounts.PbxAccount.Registration.PbxTab1

    ------------------
    Convenience is the first step to enslave yourself. Freedom is inconvenient.
    Convenience is the first step to enslave yourself. Freedom is inconvenient.

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:09 AM.

Copyright BetaSoft Inc.