cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-18073%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ES%C3%A9lection%20conditionnelle%20o%C3%B9%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-18073%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CP%20style%3D%22font-size%3A%2013.3333px%3B%22%3EJ'ai%20le%20code%20JSL%20ci-dessous%20pour%20s%C3%A9lectionner%20et%20sous-ensembler%20les%20donn%C3%A9es%20o%C3%B9%20il%20y%20a%20moins%20de%2025%20lignes%20par%20%C2%AB%20balise%20%C2%BB%2C%20enregistrer%20le%20sous-ensemble%20et%20supprimer%20le%20sous-ensemble%20de%20l'ensemble%20de%20donn%C3%A9es%20de%20travail%20principal.%20Cela%20fonctionne%20bien%20l%C3%A0%20o%C3%B9%20il%20y%20a%20des%20balises%20de%20moins%20de%2025%20lignes%2C%20mais%20j'ai%20besoin%20qu'elles%20soient%20robustes%20et%20fonctionnent%20l%C3%A0%20o%C3%B9%20il%20n'y%20a%20pas%20de%20balises%20de%20moins%20de%2025%20lignes%20-%20auquel%20cas%20il%20doit%20ignorer%20les%20lignes%204%20%C3%A0%206%20et%20continuer%20jusqu'%C3%A0%20la%20ligne%207%20pour%20enregistrer%20l'ensemble%20de%20donn%C3%A9es%20de%20travail%20principal%20avec%20un%20nouveau%20nom.%20Comment%20puis-je%20atteindre%20cet%20objectif%3F%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2013.3333px%3B%22%3E%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2013.3333px%3B%22%3EMerci%20beaucoup%3C%2FP%3E%3CP%20style%3D%22font-size%3A%2013.3333px%3B%22%3E%3C%2FP%3E%3CP%3E1%20Ouvrir(%20%22data.jmp%22%20)%3B%3C%2FP%3E%3CP%3E2%20dt%3Dtable%20de%20donn%C3%A9es%20actuelle()%20%26lt%3B%26lt%3B%20R%C3%A9sum%C3%A9(%20Group(%20%3Atag%20)%20)%3B%3C%2FP%3E%3CP%3E3%20Table%20de%20donn%C3%A9es%20(%20%22donn%C3%A9es%20par%20(tag)%22%20)%20%26lt%3B%26lt%3B%20S%C3%A9lectionner%20o%C3%B9%20(%20%3AN%20lignes%20%26lt%3B%2025)%20%26lt%3B%26lt%3B%20Trier%20(%20par%20(%20%3AN%20lignes%20)%2C%20ordre%20(croissant)%2C%20nom%20de%20la%20table%20de%20sortie%20(%22summary_of_small_n%22))%3B%3C%2FP%3E%3CP%3E4%20Table%20de%20donn%C3%A9es(%20%22data%22%20)%20%26lt%3B%26lt%3B%20Sous-ensemble((%20Lignes%20s%C3%A9lectionn%C3%A9es%20)%2C%20Nom%20de%20la%20table%20de%20sortie(%22sub_small_n%22))%3B%3C%2FP%3E%3CP%3E5%20Table%20de%20donn%C3%A9es(%20%22sub_small_n%22%20)%20%26lt%3B%26lt%3B%20save(%22sub_small_n.jmp%22)%3B%3C%2FP%3E%3CP%3E6%20Tableau%20de%20donn%C3%A9es(%20%22summary_of_small_n%22%20)%20%26lt%3B%26lt%3B%20save(%22summary_of_small_n.jmp%22)%3B%3C%2FP%3E%3CP%3E7%20Table%20de%20donn%C3%A9es(%20%22data%22%20)%20%26lt%3B%26lt%3B%20supprimer%20les%20lignes%20%26lt%3B%26lt%3B%20save(%22data_less_small_n.jmp%22)%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-18077%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%20%3A%20S%C3%A9lection%20conditionnelle%20o%C3%B9%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-18077%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EApr%C3%A8s%20un%20peu%20plus%20de%20bidouillage%2C%20ce%20qui%20suit%20semble%20fonctionner%20pour%20moi.%20Merci%20pour%20l'aide.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EOuvrir(%20%22data.jmp%22%20)%3B%3C%2FP%3E%3CP%3Edt%20%3D%20table%20de%20donn%C3%A9es%20actuelle()%20%26lt%3B%26lt%3B%20R%C3%A9sum%C3%A9(%20Group(%20%3Atag%20)%20)%3B%3C%2FP%3E%3CP%3ETable%20de%20donn%C3%A9es%20(%20%22donn%C3%A9es%20par%20(tag)%22%20)%20%26lt%3B%26lt%3B%20S%C3%A9lectionner%20o%C3%B9%20(%20%3AN%20lignes%20%26lt%3B%2025)%20%26lt%3B%26lt%3B%20Trier%20(%20par%20(%20%3AN%20lignes%20)%2C%20ordre%20(croissant)%2C%20nom%20de%20la%20table%20de%20sortie%20(%22summary_of_small_n_tag%22))%3B%3C%2FP%3E%3CP%3ETable%20de%20donn%C3%A9es(%20%22summary_of_small_n_tag%22%20)%20%26lt%3B%26lt%3B%20save(%22summary_of_small_n_tag.jmp%22)%3B%3C%2FP%3E%3CP%3Enum_selected%20%3D%20nrows(dt%20%26lt%3B%26lt%3B%20obtenir%20les%20lignes%20s%C3%A9lectionn%C3%A9es)%3B%3C%2FP%3E%3CP%3Esi%20(num_selected%20(dt%20%26gt%3B%200)%2C%3C%2FP%3E%3CP%3E%2F%2F%20Si%20la%20condition%20est%20satisfaite%2C%20faites%20ceci...%3C%2FP%3E%3CP%3ETable%20de%20donn%C3%A9es(%20%22data%22%20)%20%26lt%3B%26lt%3B%20Sous-ensemble((%20Lignes%20s%C3%A9lectionn%C3%A9es%20)%2C%20Nom%20de%20la%20table%20de%20sortie(%22sub_small_n%22))%3B%3C%2FP%3E%3CP%3ETable%20de%20donn%C3%A9es(%20%22sub_small_n%22%20)%20%26lt%3B%26lt%3B%20save(%22sub_small_n.jmp%22)%3B%3C%2FP%3E%3CP%3ETable%20de%20donn%C3%A9es(%20%22data%22%20)%20%26lt%3B%26lt%3B%20supprimer%20les%20lignes%20%26lt%3B%26lt%3B%20save(%22data_less_small_n.jmp%22)%3B%3C%2FP%3E%3CP%3E%2C%3C%2FP%3E%3CP%3E%2F%2F%20Sinon%2C%20fais%20%C3%A7a...%3C%2FP%3E%3CP%3ETable%20de%20donn%C3%A9es(%20%22donn%C3%A9es%22%20)%20%26lt%3B%26lt%3B%20sauvegarder(%22%3CSPAN%20style%3D%22font-size%3A%2013.3333px%3B%22%3E%20data_less_small_n.jmp%3C%2FSPAN%3E%20%22)%3B%3C%2FP%3E%3CP%3E)%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-18076%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%20%3A%20S%C3%A9lection%20conditionnelle%20o%C3%B9%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-18076%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F6195%22%20target%3D%22_blank%22%3E%40rijking%3C%2FA%3E%3C%2FP%3E%3CP%3EJuste%20sur%20la%20base%20du%20point%20(a)%20-%20est-ce%20que%20peut-%C3%AAtre%20essayer%20une%20s%C3%A9lection%20invers%C3%A9e%20fonctionnerait%20%3F%20L'as%20tu%20essay%C3%A9%20%3FSi%20cela%20ne%20fonctionne%20pas%2C%20pouvez-vous%20s'il%20vous%20pla%C3%AEt%20sugg%C3%A9rer%20un%20exemple%20de%20tableau%20de%20donn%C3%A9es%20de%20la%20biblioth%C3%A8que%20d'exemples%20de%20donn%C3%A9es%20qui%20correspond%20%C3%A0%20votre%20probl%C3%A8me%20afin%20que%20je%20puisse%20essayer%20de%20reproduire%20le%20probl%C3%A8me%20pour%20essayer%20de%20vous%20aider%26nbsp%3B%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EMeilleur%3CBR%20%2F%3E%20Oujour%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-18075%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%20%3A%20S%C3%A9lection%20conditionnelle%20o%C3%B9%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-18075%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EIan%2C%20merci.%20Cela%20ne%20fonctionne%20pas%20vraiment%20comme%26nbsp%3B%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Ea)%20Je%20dois%20me%20r%C3%A9f%C3%A9rer%20au%20num%C3%A9ro%20de%3CSTRONG%3E%20choisi%3C%2FSTRONG%3E%20lignes%20(plut%C3%B4t%20que%20le%20nombre%20total%20de%20lignes%20sur%20lesquelles%20je%20comprends%20que%20NRow%20fonctionne)%20-%20car%20dt2%20r%C3%A9sume%20le%20nombre%20total%20de%20lignes%20pour%20toutes%20les%20balises%2C%20pas%20seulement%20celles%20%26lt%3B25.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3Eb)%20Si%20je%20fais%20r%C3%A9f%C3%A9rence%20aux%20lignes%20s%C3%A9lectionn%C3%A9es%20dans%20dt2%2C%20je%20pense%20que%20cela%20doit%20%C3%AAtre%20%26gt%3B%200%20plut%C3%B4t%20que%20%26gt%3B%2024%20-%20car%20dt2%20r%C3%A9sume%20le%20nombre%20total%20de%20lignes%20pour%20toutes%20les%20balises%2C%20donc%20je%20m'int%C3%A9resse%20%C3%A0%20toutes%20les%20lignes%20s%C3%A9lectionn%C3%A9es%20(m%C3%AAme%20s'il%20n'y%20en%20a%20qu'une%20seule).%20%3B%20celui-ci%20r%C3%A9sumerait%20une%20balise%20apparaissant%20sur%20moins%20de%2025%20lignes%20dans%20le%20dt%20sous-jacent).%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EToute%20autre%20suggestion%20serait%20tr%C3%A8s%20appr%C3%A9ci%C3%A9e.%20Merci.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CPRE%20__jive_macro_name%3D%22quote%22%20class%3D%22jive_macro_quote%20jive_text_macro%22%3E%3CP%3EIan%40JMP%20wrote%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EYou%20need%20to%20use%20the%20'NRow()'%20function%20in%20combination%20with%20an%20'If()'%20expression.%20Something%20like%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23942193%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3EOpen%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%22data.jmp%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3Edt%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3Ecurrent%20data%20table%3C%2FSPAN%3E%3CSTRONG%3E()%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3ESummary%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20Group%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3A%3C%2FSPAN%3Etag%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3Edt2%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3EData%20Table%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%22data%20By%20(tag)%22%3C%2FSPAN%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3ESelect%20Where%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3A%3C%2FSPAN%3EN%20Rows%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%26lt%3B%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E25%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3ESort%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20By%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3A%3C%2FSPAN%3EN%20Rows%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%2C%3C%2FSPAN%3E%20Order%3CSTRONG%3E(%3C%2FSTRONG%3E%20Ascending%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%2C%3C%2FSPAN%3E%20Output%20Table%20Name%3CSTRONG%3E(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%22summary_of_small_n%22%3C%2FSPAN%3E%3CSTRONG%3E))%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23032ce4%3B%22%3Eif%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3ENRow%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3Edt2%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%26gt%3B%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E24%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23008f00%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%20%3C%2FSPAN%3E%3C%2FSPAN%3E%2F%2F%20If%20the%20condition%20is%20satisfied%2C%20do%20this%20.%20.%20.%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3EData%20Table%3C%2FSPAN%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%22data%22%3C%2FSPAN%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%20%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3ESubset%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E((%3C%2FSTRONG%3E%20Selected%20Rows%20%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%2C%3C%2FSPAN%3E%20Output%20Table%20Name%3CSTRONG%3E(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%22sub_small_n%22%3C%2FSPAN%3E%3CSTRONG%3E))%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23942193%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%20%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3EData%20Table%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%22sub_small_n%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3Esave%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%22sub_small_n.jmp%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23942193%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%20%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3EData%20Table%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%22summary_of_small_n%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3Esave%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%22summary_of_small_n.jmp%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23008f00%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%20%3C%2FSPAN%3E%3C%2FSPAN%3E%2F%2F%20Else%20do%20this%20.%20.%20.%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23942193%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%20%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3EData%20Table%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%22data%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%3CSTRONG%3E)%3C%2FSTRONG%3E%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3Edelete%20rows%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%20%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3Esave%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E(%3C%2FSTRONG%3E%3C%2FSPAN%3E%22data_less_small_n.jmp%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%20%3C%2FSPAN%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-18074%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%20%3A%20S%C3%A9lection%20conditionnelle%20o%C3%B9%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-18074%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EVous%20devez%20utiliser%20la%20fonction%20'NRow()'%20en%20combinaison%20avec%20une%20expression%20'If()'.%20Quelque%20chose%20comme%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23942193%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3EOuvrir%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%22donn%C3%A9es.jmp%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3Edt%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3E%20tableau%20de%20donn%C3%A9es%20actuel%3C%2FSPAN%3E%3CSTRONG%3E%20()%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3E%20R%C3%A9sum%C3%A9%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%20Groupe%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3A%3C%2FSPAN%3E%20%C3%A9tiqueter%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3Edt2%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3E%20Tableau%20de%20donn%C3%A9es%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%20%22donn%C3%A9es%20par%20(balise)%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3E%20S%C3%A9lectionnez%20o%C3%B9%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3A%3C%2FSPAN%3E%20N%20lignes%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E%2025%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3E%20Trier%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%20Par%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3A%3C%2FSPAN%3E%20N%20lignes%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%20Commande%3CSTRONG%3E%20(%3C%2FSTRONG%3E%20Ascendant%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%20Nom%20de%20la%20table%20de%20sortie%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%20%22r%C3%A9sum%C3%A9_de_small_n%22%3C%2FSPAN%3E%3CSTRONG%3E%20))%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23032ce4%3B%22%3Esi%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3ENRang%C3%A9e%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%20dt2%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%26gt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23009193%3B%22%3E%3CSTRONG%3E%2024%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23008f00%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%2F%2F%20Si%20la%20condition%20est%20satisfaite%2C%20faites%20ceci%20.%20.%20.%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3ETableau%20de%20donn%C3%A9es%3C%2FSPAN%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%20%22donn%C3%A9es%22%3C%2FSPAN%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3E%20Sous-ensemble%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%20((%3C%2FSTRONG%3E%20Lignes%20s%C3%A9lectionn%C3%A9es%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%2C%3C%2FSPAN%3E%20Nom%20de%20la%20table%20de%20sortie%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23942193%3B%22%3E%20%22sub_small_n%22%3C%2FSPAN%3E%3CSTRONG%3E%20))%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23942193%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3ETableau%20de%20donn%C3%A9es%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%22sub_small_n%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3E%20sauvegarder%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%22sub_small_n.jmp%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23942193%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3ETableau%20de%20donn%C3%A9es%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%22r%C3%A9sum%C3%A9_de_small_n%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3E%20sauvegarder%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%22r%C3%A9sum%C3%A9_de_small_n.jmp%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23008f00%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%2F%2F%20Sinon%2C%20fais%20%C3%A7a.%20.%20.%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%20color%3A%20%23942193%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23032ce4%3B%22%3ETableau%20de%20donn%C3%A9es%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%22donn%C3%A9es%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3E%20supprimer%20des%20lignes%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%26lt%3B%26lt%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CSTRONG%3E%20sauvegarder%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20(%3C%2FSTRONG%3E%3C%2FSPAN%3E%20%22data_less_small_n.jmp%22%3CSPAN%20style%3D%22color%3A%20%23000000%3B%22%3E%3CSTRONG%3E%20)%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3E%3CSPAN%20class%3D%22Apple-tab-span%22%20style%3D%22white-space%3A%20pre%3B%22%3E%3C%2FSPAN%3E%3CSTRONG%3E)%3C%2FSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin%3A%200px%3B%20font-size%3A%2012px%3B%20line-height%3A%20normal%3B%20font-family%3A%20Courier%3B%22%3E%3CSPAN%20style%3D%22color%3A%20%23011993%3B%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
rijking
Level II

Conditional Select Where

I have the below JSL code to select and subset data where there are fewer than 25 rows per 'tag', save the subset, and remove the subset from the main working dataset. This works fine where there are tags with fewer than 25 rows, but I need it to be robust and work where there are no tags with fewer than 25 rows - in which case it should ignore lines 4-6 and continue to line 7 to save the main working dataset with a new name. How can I achieve this?

Many thanks

1 Open( "data.jmp" );

2 dt=current data table() << Summary( Group( :tag ) );

3 Data Table( "data By (tag)" ) << Select Where( :N Rows < 25) << Sort( By( :N Rows ), Order( Ascending ), Output Table Name("summary_of_small_n"));

4 Data Table( "data" ) << Subset(( Selected Rows ), Output Table Name("sub_small_n"));

5 Data Table( "sub_small_n" ) << save("sub_small_n.jmp");

6 Data Table( "summary_of_small_n" ) << save("summary_of_small_n.jmp");

7 Data Table( "data" ) << delete rows << save("data_less_small_n.jmp");

1 ACCEPTED SOLUTION

Accepted Solutions
rijking
Level II

Re: Conditional Select Where

After a bit more fiddling, the below seems to work for me. Thanks for the help.

Open( "data.jmp" );

dt = current data table() << Summary( Group( :tag ) );

Data Table( "data By (tag)" ) << Select Where( :N Rows < 25) << Sort( By( :N Rows ), Order( Ascending ), Output Table Name("summary_of_small_n_tag"));

Data Table( "summary_of_small_n_tag" ) << save("summary_of_small_n_tag.jmp");

num_selected = nrows(dt << get selected rows);

if(num_selected(dt > 0),

// If the condition is satisfied, do this...

Data Table( "data" ) << Subset(( Selected Rows ), Output Table Name("sub_small_n"));

Data Table( "sub_small_n" ) << save("sub_small_n.jmp");

Data Table( "data" ) << delete rows << save("data_less_small_n.jmp");

,

// Else do this...

Data Table( "data" ) << save("data_less_small_n.jmp");

);

View solution in original post

4 REPLIES 4
ian_jmp
Level X

Re: Conditional Select Where

You need to use the 'NRow()' function in combination with an 'If()' expression. Something like:

Open( "data.jmp" );

dt = current data table() << Summary( Group( :tag ) );

dt2 = Data Table( "data By (tag)" ) << Select Where( :N Rows < 25) << Sort( By( :N Rows ), Order( Ascending ), Output Table Name("summary_of_small_n"));

if(

NRow(dt2 > 24,

// If the condition is satisfied, do this . . .

Data Table( "data" ) << Subset(( Selected Rows ), Output Table Name("sub_small_n"));

Data Table( "sub_small_n" ) << save("sub_small_n.jmp");

Data Table( "summary_of_small_n" ) << save("summary_of_small_n.jmp")

,

// Else do this . . .

Data Table( "data" ) << delete rows << save("data_less_small_n.jmp");

);


rijking
Level II

Re: Conditional Select Where

Ian, thanks. This doesn't quite work as:

a) I need to refer to the number of selected rows (rather than total rows that I understand NRow works on) - because dt2 summarizes the total number of rows for all tags, not just those < 25.

b) If referring to selected rows in dt2, I think this needs to be > 0 rather than > 24 - because dt2 summarizes the total number of rows for all tags, so I am interested in all selected rows (even if there is only one; that one would be summarizing a tag appearing on fewer than 25 rows in the underlying dt).

Any other suggestions would be much appreciated. Thank you.

Ian@JMP wrote:

You need to use the 'NRow()' function in combination with an 'If()' expression. Something like:

Open( "data.jmp" );

dt = current data table() << Summary( Group( :tag ) );

dt2 = Data Table( "data By (tag)" ) << Select Where( :N Rows < 25) << Sort( By( :N Rows ), Order( Ascending ), Output Table Name("summary_of_small_n"));

if(

NRow(dt2 > 24,

// If the condition is satisfied, do this . . .

Data Table( "data" ) << Subset(( Selected Rows ), Output Table Name("sub_small_n"));

Data Table( "sub_small_n" ) << save("sub_small_n.jmp");

Data Table( "summary_of_small_n" ) << save("summary_of_small_n.jmp")

,

// Else do this . . .

Data Table( "data" ) << delete rows << save("data_less_small_n.jmp");

);


uday_guntupalli
Level VIII

Re: Conditional Select Where

@rijking

            Just based on point (a) - would maybe trying an invert selection work? Have you tried it ?  If it doesn't work - can you please suggest one sample data table from the Sample Data Library which fits your problem so that I can try to reproduce the issue to try and help ?

Best
Uday

Best
Uday
rijking
Level II

Re: Conditional Select Where

After a bit more fiddling, the below seems to work for me. Thanks for the help.

Open( "data.jmp" );

dt = current data table() << Summary( Group( :tag ) );

Data Table( "data By (tag)" ) << Select Where( :N Rows < 25) << Sort( By( :N Rows ), Order( Ascending ), Output Table Name("summary_of_small_n_tag"));

Data Table( "summary_of_small_n_tag" ) << save("summary_of_small_n_tag.jmp");

num_selected = nrows(dt << get selected rows);

if(num_selected(dt > 0),

// If the condition is satisfied, do this...

Data Table( "data" ) << Subset(( Selected Rows ), Output Table Name("sub_small_n"));

Data Table( "sub_small_n" ) << save("sub_small_n.jmp");

Data Table( "data" ) << delete rows << save("data_less_small_n.jmp");

,

// Else do this...

Data Table( "data" ) << save("data_less_small_n.jmp");

);

Recommended Articles