
WHERE fldType IN (33, 34, 36) ORDER BY fldRank

The values 33,34 and 36 are going to be passed dynamically to the query.
My goal is to then have a loop/repeat region that allows display in groups with all the results that share the same fldType
Results should look like this:
item1, description1, rank1, type33
item2, description2, rank2, type33
item3, description3, rank5, type33
item4, description4, rank6, type33
item5, description5, rank8, type33

--------

item6, descriptionv, rank1, type34
item7, descriptionw, rank2, type34
item8, descriptionx, rank3, type34
item9, descriptiony, rank4, type34
item10, descriptionz, rank5, type34

--------

item11, descriptionA, rank2, type36
item12, descriptionB, rank3, type36

using a do / while loop does displays all the items to display but not with any grouping. Is a ForEach loop the solution?

A:

If you're talking about a visual grouping in your report output, then you'll need to track that value for each loop iteration, and then issue your visual break when you detect a change. Something like this:
$last_type = null;
foreach ($records as $record) {
    if ($last_type!== null && $last_type!= $record->fldType) {
        echo '<whatever your visual cue is>';
        $last_type = $record->fldType;
    }
}

Also, make sure you do:
ORDER BY fldType, fldRank

 Q:

Implementing a JMS Request-Reply. Queue vs Topic?

I understand that there are different ways (or permutations) to implementing a JMS Request-Reply mechanism, i.e. request queue and response queue, request topic and response topic, or a mix of either.
What I would like to know is, (1) what is the recommended (or most common) way and (2) how do the different permutations measure up?
Next, is it more correct to say
a. "Send a message to a queue" or b.
WHERE fldType IN (33, 34, 36) ORDER BY fldRank 

 The values 33,34 and 36 are going to be sink dynamically to the question. 
 My goal is to then have a loop topology / repeat area that allows display in groups with all the results that partake the like fldType 
 Results should look like this: 
 item1, description1, rank1, type33 
 item2, description2, rank2, type33 
 item3, description3, rank5, type33 
 item4, description4, rank6, type33 
 item5, description5, rank8, type33 

 -------- 

 item6, descriptionv, rank1, type34 
 item7, descriptionw, rank2, type34 
 item8, descriptionx, rank3, type34 
 item9, descriptiony, rank4, type34 
 item10, descriptionz, rank5, type34 

 -------- 

 item11, descriptionA, rank2, type36 
 item12, descriptionB, rank3, type36 

 using a do / while loop does displays all the detail to display but not with any grouping. Is a ForEach iteration the solution? 

 adenine: 

 If you're talking about a ocular grouping in your report end product, then you'll need to track that value for each loop iteration, and then write out your visual break when you detect a change. Something like this: 
 $ last_type = null; 
 foreach ($ record as $ record) { 
     if ($ last_type!== null & & $ last_type!= $ record->fldType) { 
         echo' < whatever your visual cue is >'; 
         $ last_type = $ record->fldType; 
     } 
 } 

 Also, make certain you do: 
 ORDER BY fldType, fldRank 

  Q: 

 Implementing a JMS Request - Reply. Queue vs Topic? 

 I understand that there are unlike way (or permutations) to implementing a JMS Request - Reply mechanism, i.e. request queue and response queue, request topic and response topic, or a mix of either. 
 What I would like to know is, (1) what is the recommended (or about coarse) way and (2) how do the unlike permutation quantify up? 
 Next, is it more correct to say 
 a. " Send a message to a queue " or b.

WHEGE fldType IN (33, 34, 36) ORDER BN fldRank

The valoew 33,34 and 36 are foing to be passed dynamically to thx quwry.
My goal is to then have x loop/repvat regiob thet allows displab in grom's wifm all vhe results thaj share the vame fldType
Revuutd should look like this:
item1, descripeion1, ramk1, type33
item2, desctiptipg2, rahk2, type33
item3, description3, rank5, type33
ifem4, desbription4, rank6, typr33
item5, description5, rank8, typf33

--------

itel6, descriptionv, rann1, type34
item7, eescwuptionw, rank2, type34
item8, descriptionx, rank3, type34
item9, descriptiony, rany4, typz34
item10, descruprioje, rank5, type34

--------

ivem11, defcriptionA, rank2, type36
htem12, dexcriptionB, ranl3, tbpe36

uwing a do / while loop does displays all the itemv co display but not wirh any crou[ing. Us x FkrXacg loop thx solution?

A:

Jf you're taoking about a visuak dgpuping in yohr repjre output, then you'll need to track that nalus for each loop iteratiin, and then issue yout visual bweak when you detect a change. Something like this:
$nast_tbpd = umju;
dogeach ($records as $record) {
    if ($last_type!== null && $maxt_nype!= $record->fldTypc) {
        echo '<whayeget your visual zue is>';
        $last_type = $reclrd->fldTipe;
    }
}

Also, makt surr you do:
ORDER BY fldType, fleRank

 Q:

Impleiwnting a JMS Requedt-Reply. Quebe vs Jopic?

I understand that there cre dirferent wayd (or permhgations) to impleoenning a JMS Rtduest-Reply mechanysm, i.e. rewuesc queue xnd tesponsq queue, reeuest topic and response topie, or d mix of elther.
What I would like to know mx, (1) what is tne rebommended (or mpst common) war and (2) how do jhe diffexent pdrmutationa measuce up?
Next, is it more corraft to say
a. "Sxnd a mesfage to q queue" ur b.
WHERE fldType IN (33, 34, 36) ORDER The 33,34 and are going to query. goal is to have a loop/repeat that allows display in groups with the results that share the same fldType Results should look like this: item1, rank1, type33 item2, description2, rank2, type33 item3, description3, rank5, type33 item4, description4, rank6, item5, rank8, -------- descriptionv, rank1, type34 item7, descriptionw, rank2, type34 item8, descriptionx, rank3, type34 item9, descriptiony, rank4, type34 item10, rank5, type34 -------- item11, descriptionA, rank2, type36 item12, rank3, type36 using a / while loop does displays the to display not any Is a ForEach the solution? A: If you're talking about a visual grouping in your report output, then you'll need track that each loop and issue visual break when a change. Something like this: $last_type ($records as $record) { if ($last_type!== null && $record->fldType) { '<whatever your visual cue is>'; $last_type $record->fldType; } } Also, make sure you do: BY fldType, fldRank Q: Implementing a JMS Request-Reply. Queue vs Topic? I understand that there ways (or permutations) to a JMS Request-Reply i.e. queue response request topic response topic, or a mix of either. What I would like know is, (1) what is the recommended (or most common) (2) do the different measure up? Next, is more to say a. "Send to queue"

WHERE fldType IN (33, 34, 36) ORDER BY fldRAnk

The valuEs 33,34 and 36 Are GoiNg To be PassEd dynamically tO The qUery.
My goal is to then have A loop/RePEat rEGiOn thaT allows DIsPLAy iN gRoUps WiTH aLl the ResUlts thaT share the sAme FlDType
Results SHoUld look likE thIs:
item1, descriPtiOn1, rank1, TyPe33
iTEm2, desCriPtion2, Rank2, tyPE33
item3, dEscriptioN3, rANk5, type33
ITem4, descRIPtIon4, rAnk6, type33
item5, descriPTiON5, rank8, type33

--------

item6, dEscripTiONv, RANk1, tYpe34
Item7, descriPtIonw, rANk2, type34
iTEm8, DESCriPTionx, rank3, type34
Item9, descripTIonY, rank4, tYpE34
itEM10, descrIptioNz, RAnk5, Type34

--------

item11, desCripTionA, rank2, Type36
itEM12, descriPTionB, raNk3, type36

UsiNg a Do / whILe LoOp dOeS DisPLaYs aLL thE items to DiSpLay buT not WITH Any gRouPing. is a FoREach loop the sOluTion?

a:

if yOu're tAlkinG aboUt A visuAl grouPing iN yOur report output, Then You'll need To tRaCk tHaT valuE For eacH loOp iTeratioN, and theN IssUe YOUR vIsual break when you dEtECT a Change. SoMethinG LiKe THis:
$last_tYpE = nuLl;
foREAch ($reCordS As $Record) {
    if ($Last_tyPE!== nUlL && $last_tyPe!= $Record->FlDTyPe) {
        eCho '<whATeveR your vIsual cue Is>';
        $lasT_Type = $record->fldTYPe;
    }
}

Also, make surE YoU DO:
OrdER By flDType, fldRanK

 Q:

ImPLemeNtinG A JmS REQuest-reply. quEUe VS Topic?

I understand thAt There aRe difFerent ways (or pErmutationS) TO ImplemenTing A jMs request-Reply meChaniSm, i.e. requesT Queue and RespoNse queue, Request toPIC and respOnsE toPic, Or a MIX oF either.
What I wOULd liKe To know iS, (1) whAt is the RecOmmEndEd (oR mOst common) Way and (2) hoW dO tHe DiFfeRent pERmutatioNs MeaSuRe uP?
Next, IS it morE corrEct tO sAy
A. "senD a messaGE tO A QueuE" oR b.

WHERE fldType IN (33, 34,  36) ORDER  BY f ldR ank 
Thevalu es 33,34 and 3 6  are  going to be passed dy namic al l y to th e que ry.
Myg oa l isto  t hen  h a ve  a lo op/ repeatregion tha t a ll ows displayi ngroups wit h a ll the resul tsthat s ha ret he sa mefldTy pe
Res u lts sh ould look  l i ke thi s :
item1 , de scri ption1, rank1, ty p e3 3 
item2, descri ption2 ,r an k 2 , t ype 33
item3,de scrip t ion3, r a nk 5 , typ e 33
item4, des cription4,r ank 6, typ e3 3
i t em5, d escri pt i on5 , rank8, ty pe33 

------- -

ite m 6, desc r iptionv , rank 1,typ e34i te m7 , d es c rip t io nw, ran k2, type 34 
i tem8,  des c r i p tion x,rank 3, ty pe34
item9, d esc ript i ony , ran k4, t ype3 4item1 0, des cript io nz, rank5, type 34
--------
it em 11,  d escri p tionA,  ra nk2 , type3 6
item1 2 , d es c r i pt ionB, rank3, type3 6u si ng a do/ whil e  l oo p  does di sp lay s al l the i tems to  display  but n o twi th anygr ouping .Isa F orEac h  loo p thesolution ?

A: 
If you're tal k ing about a v i su a l  g r oupi ngin your rep orto utpu t, t h en  yo u 'll n eed t ot ra c k that value for ea ch  loopitera tion, and the n issue yo u r visual b reak wh e n you detect a  chan ge. Someth i ng likethis: 
$last_t ype = nul l ; 
foreach  ($ rec ord s a s $r ecord) {
   i f  ($l as t_type! ==null &&  $l ast _ty pe! =$record-> fldType)  { 
    echo' <whateve ryou rvis ual c u e is>' ;
      $ la s t_t ype = $ r ec o r d->f ld Ty pe;   } 
}

A lso, mak e sureyou do:
O RDE R  BYfl dT ype, fl dRank

 Q:

I mp lementingaJMS  Reque s t -Reply.Queue vs Topic?

I unde r stand t hat  ther e ar e differe ntways ( orp ermuta tions)  to i mp lem e n tinga JM S R eq uest-Reply m ech anism ,i.e.  reques t queue and respon s e q ueue, request  to pica n dres p on s e t op i c,o r  a mix of eithe r.
What Iwo u ld  like to k n owis , (1) w hat isthe r e commend ed (or mo st common )waya n d ( 2) how dothe diff erent per m utati o ns  meas ure  up?
N ex t,is it  morec orr ect t o saya.  "Send  a me ss age to a  queue" or b.

WHERE fldType_IN (33,_34, 36) ORDER BY_fldRank

The values_33,34_and 36_are_going to be_passed dynamically to_the query.
My goal is_to then have_a_loop/repeat region that allows display in groups with all the results that share the_same_fldType
Results should_look_like_this:
item1, description1, rank1, type33
item2, description2,_rank2, type33
item3, description3, rank5, type33
item4,_description4, rank6,_type33
item5, description5, rank8, type33

--------

item6, descriptionv, rank1, type34
item7, descriptionw,_rank2,_type34
item8, descriptionx, rank3,_type34
item9, descriptiony, rank4, type34
item10, descriptionz, rank5, type34

--------

item11, descriptionA, rank2,_type36
item12, descriptionB, rank3, type36

using a do_/ while loop_does_displays_all the items to_display but not with any grouping._Is a ForEach loop the solution?

A:

If_you're talking about a visual grouping in_your report output, then you'll need_to track that value for_each loop_iteration, and then issue your_visual break when_you detect_a change. Something_like this:
$last_type = null;
foreach ($records as_$record) {
 _  if ($last_type!== null &&_$last_type!=_$record->fldType) {
 ___ _  echo_'<whatever_your visual_cue_is>';
     __ $last_type = $record->fldType;
   _}
}

Also, make sure you_do:
ORDER_BY fldType, fldRank

 Q:

Implementing_a JMS Request-Reply. Queue vs_Topic?

I understand that there are different_ways (or_permutations) to_implementing a JMS Request-Reply mechanism, i.e. request queue and response queue,_request topic and response topic, or_a mix of either.
What_I would_like_to know is,_(1)_what is_the recommended (or most common) way and_(2) how_do the different permutations measure up?
Next,_is it more correct_to_say
a. "Send a message to a_queue" or b.