Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BDPeirson

    @While loop with array

    If I need more help it is good to know someone is paying attention in this group. Thanks.
  2. BDPeirson

    @While loop with array

    Pascal, I found the function I need, @GetField. n := 1; @While(n <= @Elements(myNames); @If( @GetField(myNames[n]) ="4" ; fullNote := fullNote + ", " + myNames[n] ; ""); n := n + 1); Thanks for your help. Your time is appreciated.
  3. BDPeirson

    @While loop with array

    Agreed, your code works as noted. In your example myNames is the name of the database field and the results are as expected. In my case myNames is the name of an array variable within a report. The report is pulling values from the database where there is no field named myNames. The database...
  4. BDPeirson

    @While loop with array

    Pascal, bpeirson here. I can't access my first account so I set up an new account so I can respond to my own thread. Go figure! You're proposed solution doesn't work. Suppose my first field's name is "firehazard" and it contains "4". When I use "firehazard" in the code the system recognizes it...

Part and Inventory Search

Back
Top