SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Feb 2003
    Location
    Maple Grove, MN, USA
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Set of edit fields not recognized after recording, values placed into 1st of 7 boxes

    In my powerbuilder aut there are a few sets of editfields that are recorded as this. Notice that each has a unique tag id ( which is the powerbuilder name of that field ). My problem comes when I try to record and play back the created script. First, the recognized objects,
    Then, when I record actions the following code is generated :

    Here is the funny part, the code will recog the first field, will place in the text for it, but when it comes to any of the following fields it will continue to replace the value in the first field, without advancing to that object. I have also tried setfocus() to the next object without success.


    any help would be greatly appreciated.

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

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set of edit fields not recognized after recording, values placed into 1st of 7 boxes

    Compile the test. Then use Record/Identifier and move the mouse cursor over each field to verify the assigned label. Does it show Cond1, Cond2 ... ?


    John


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

  3. #3
    Junior Member
    Join Date
    Feb 2003
    Location
    Maple Grove, MN, USA
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set of edit fields not recognized after recording, values placed into 1st of 7 boxes

    After compiling and using the record/identifiers the objects are still being referenced as they should, with Cond1, Cond2, Cond3, etc.


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

  4. #4
    Junior Member
    Join Date
    Dec 2001
    Location
    Seminole, FL
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set of edit fields not recognized after recording, values placed into 1st of 7 boxes

    Which line of code is line 72 identified in the error message above?

    The first line of code sets a value without having a current row set. Been awhile since I worked with a PB app, but could be that if you put this line in front of your code. At least this would probably be the first thing I would try:

    ExamEntryUB92.Dw_clm_ub92_hdr_cond_cd.SetCurrentRo w (1)

    Jay

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

  5. #5
    Junior Member
    Join Date
    Feb 2003
    Location
    Maple Grove, MN, USA
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set of edit fields not recognized after recording, values placed into 1st of 7 boxes

    Sorry for cutting this short, but I found a workaround that will solve my immediate need. Thanks for the help although.



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

  6. #6
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set of edit fields not recognized after recording, values placed into 1st of 7 boxes

    Want to post what the workaround was for posterity's sake?

    ------------------
    James Soderborg
    http://www.ameliortech.com
    jamesso@ameliortech.com

 

 

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 02:34 AM.

Copyright BetaSoft Inc.