Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
While Wend condition
#4
Solved: 10 Years, 9 Months, 1 Week ago
Looks like there is a space in one of the variables value and so is the result -1
Please try
Code:
while strcomp (cstr(trim(eempid)),cstr(trim(empid)))=0
the control enters the while loop and continues as condition always returns 0 if both the values compared are same.Hence some where inside the loop ,change the value of empid or eempid to fail the condition and thus exit the loop.
Reply


Messages In This Thread
While Wend condition - by raaj123 - 06-11-2012, 11:03 AM
RE: While Wend condition - by ravi.gajul - 06-11-2012, 03:39 PM
RE: While Wend condition - by raaj123 - 06-11-2012, 05:41 PM
RE: While Wend condition - by ravi.gajul - 06-11-2012, 06:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to verify the drop down values based on condition santhoshmscsoftware 1 2,722 05-04-2016, 11:28 PM
Last Post: supputuri
  Condition/Outcome Branching within Script danielrose01 3 3,293 06-13-2012, 10:29 AM
Last Post: sshukla12
  if condition throwing type mismatch error rrdamuluri 2 3,945 11-04-2010, 10:51 PM
Last Post: rrdamuluri
  Can we use checkpoint as a condition statement? riteshgpt 4 9,494 04-28-2010, 08:49 PM
Last Post: riteshgpt
  Can we use Flower Brackets while using If...Else condition? dinesh_d_r 1 2,780 11-26-2008, 10:23 AM
Last Post: yaron.assa

Forum Jump:


Users browsing this thread: 1 Guest(s)