SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jan 2002
    Location
    Kolkata,WestBengal,India
    Posts
    43
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Run Time Assignment ????????

    Hi
    All
    I generate a script for deleting a customer Number from a list . But when i am playing back that script for second time it is seaching for that specific customer number .If i am changing that no and giving another exsiting Customer then script is running sucessfully . Is it possible to assign the Number at runtime .
    kk

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

  2. #2
    Junior Member
    Join Date
    Jun 2001
    Location
    England
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Run Time Assignment ????????

    Yes, by programming, but you need to know in advance what you want to delete.


    For Example

    Dim sCustRef(1 to 5)

    sCustRef(1) = "Cust5"
    sCustRef(2) = "Cust4"
    sCustRef(3) = "Cust3"
    sCustRef(4) = "Cust2"
    sCustRef(5) = "Cust1"

    For x = 1 to 5
    delete sCustRef(x)
    Next x

    You need to substitute the word delete with the code you currently use to delete the entry. Then use sCustRef(x) instead of the entry name in quotes.

    If you can see the name with SQAGetProperty you might use

    Result = SQAGetProperty("Type = EditBox;Name=CustDetails", "Text", CustName)

    If (Result = 0) & (CustName <> "") Then
    Delete CustName
    End If

    The userguide will show you how to use the commands, the inspector tool will help identify the objects and properties.

    Regards

    Dave

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

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 09:53 PM.

Copyright BetaSoft Inc.