SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    59
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Unable to retirve a value from a java table

    Hi All,

    I am testing one of the java based application in which an item is
    added to the javatable on clicking of a button . I am unable to get the values of that table.

    Ex: As soon as we save the value gets added to the table and it
    is added at the end of the table. so i got the rowcount using the
    getroproperty of the table in to a variable and when
    I am using it in the in retiriving the value it is not giving me the value when using the following statement where j is the
    rowcount I am getting and the i is the value which I am sending in the function

    JavaWindow(windowName).JavaTable(tableName).GetCel lData (i, j)

    bUT when i am using the constants I am able to retive the value like this below

    JavaWindow(windowName).JavaTable(tableName).GetCel lData (3, 5)


    Please do help

  2. #2
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: Unable to retirve a value from a java table

    Try this

    JavaWindow(windowName).JavaTable(tableName).GetCel lData (Cint(i), Cint(j))

  3. #3
    Member
    Join Date
    Nov 2006
    Posts
    59
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unable to retirve a value from a java table

    Hi Tarun,


    we tried with that we are unable to get the value with this already it says the
    "statements contains one or more invalid arguments"

    x = JavaWindow(windowName).JavaTable(tableName).GetCel lData (Cint(i), Cint(j))

  4. #4
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: Unable to retirve a value from a java table

    Msgbox Cint(i)
    Msgbox Cint(j)

    x = JavaWindow(windowName).JavaTable(tableName).GetCel lData (Cint(i), Cint(j))

  5. #5
    Advanced Member RKY's Avatar
    Join Date
    Aug 2006
    Location
    Hyderabad, India
    Posts
    586
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unable to retirve a value from a java table

    [ QUOTE ]
    where j is the
    rowcount I am getting and the i is the value which I am sending in the function


    [/ QUOTE ]


    katkam,

    How about this?

    JavaWindow(..).JavaTable(..).GetCellData (Row,Col)

    As per your statement J is the RowCount and I is the Value

    If you want to fetch the data in the Last row, you have to provide Last row and Which Col data you want.

    Try this.

    JavaWindow(..).JavaTable(..).GetCellData (<Row Number>,<Which Col>
    [img]/images/graemlins/wink.gif[/img]
    JavaWindow(..).JavaTable(..).GetCellData(j,i)

 

 

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 12:19 PM.

Copyright BetaSoft Inc.