473,320 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

help on XSL sorting

Please help me on this ... i have just started working with XSL, and i need to complete this by weekend.

Here is the input :
Expand|Select|Wrap|Line Numbers
  1. <ussco:ItemPricing>
  2. <ussco:ItemList>
  3. <ussco:ListStartDate>01/01/2007</ussco:ListStartDate>
  4. <ussco:ListEndDate>12/31/2010</ussco:ListEndDate>
  5. <ussco:ListAmount currencyID="USD">13.79</ussco:ListAmount>
  6. <ussco:ListUnitCode>KT</ussco:ListUnitCode>
  7. </ussco:ItemList>
  8. <ussco:ItemList>
  9. <ussco:ListStartDate>10/08/2004</ussco:ListStartDate>
  10. <ussco:ListEndDate>12/31/2006</ussco:ListEndDate>
  11. <ussco:ListAmount currencyID="USD">8.95</ussco:ListAmount>
  12. <ussco:ListUnitCode>KT</ussco:ListUnitCode>
  13. </ussco:ItemList>
  14. <ussco:ItemCost>
  15. <ussco:CostType>FC</ussco:CostType>
  16. <ussco:CostStartDate>01/01/2007</ussco:CostStartDate>
  17. <ussco:CostEndDate>12/31/2010</ussco:CostEndDate>
  18. <oagis:CostAmount currencyID="USD">5.170</oagis:CostAmount>
  19. <ussco:CostUnitCode>KT</ussco:CostUnitCode>
  20. </ussco:ItemCost>
  21. <ussco:ItemCost>
  22. <ussco:CostType>FC</ussco:CostType>
  23. <ussco:CostStartDate>10/08/2004</ussco:CostStartDate>
  24. <ussco:CostEndDate>12/31/2006</ussco:CostEndDate>
  25. <oagis:CostAmount currencyID="USD">4.470</oagis:CostAmount>
  26. <ussco:CostUnitCode/>
  27. </ussco:ItemCost>
  28. <ussco:ItemCost>
  29. <ussco:CostType>PR</ussco:CostType>
  30. <ussco:CostStartDate>12/10/2007</ussco:CostStartDate>
  31. <ussco:CostEndDate>06/30/2008</ussco:CostEndDate>
  32. <oagis:CostAmount currencyID="USD">3.860</oagis:CostAmount>
  33. <ussco:CostUnitCode>KT</ussco:CostUnitCode>
  34. </ussco:ItemCost>
  35. <ussco:ItemCost>
  36. <ussco:CostType>PR</ussco:CostType>
  37. <ussco:CostStartDate>11/01/2007</ussco:CostStartDate>
  38. <ussco:CostEndDate>06/30/2008</ussco:CostEndDate>
  39. <oagis:CostAmount currencyID="USD">4.653</oagis:CostAmount>
  40. <ussco:CostUnitCode/>
  41. </ussco:ItemCost>
  42.  
This is the output expected :
Expand|Select|Wrap|Line Numbers
  1. <ItemMaster xmlns:us="http://www.ussco.com/oagis/0">
  2.     <CostLineInq>
  3.         <ShortName>AMERAC</ShortName>
  4.         <ListStartDate>01/01/2007</ListStartDate>
  5.         <ListEndDate>12/31/2010</ListEndDate>
  6.         <ListAmount>13.79</ListAmount>
  7.         <ListUnitCode>KT</ListUnitCode>
  8.         <CostStartDate>01/01/2007</CostStartDate>
  9.         <CostEndDate>12/31/2010</CostEndDate>
  10.         <CostAmount>5.170</CostAmount>
  11.         <CostUnitCode>FC</CostUnitCode>
  12.     </CostLineInq>
  13.     <CostLineInq>
  14.         <ShortName>AMERAC</ShortName>
  15.         <ListStartDate>10/08/2004</ListStartDate>
  16.         <ListEndDate>12/31/2006</ListEndDate>
  17.         <ListAmount>8.95</ListAmount>
  18.         <ListUnitCode>KT</ListUnitCode>
  19.         <CostStartDate>12/10/2007</CostStartDate>
  20.         <CostEndDate>06/30/2008</CostEndDate>
  21.         <CostAmount>3.860</CostAmount>
  22.         <CostUnitCode>PR</CostUnitCode>
  23.     </CostLineInq>    
  24.     <CostLineInq>
  25.         <ShortName>AMERAC</ShortName>
  26.         <ListStartDate></ListStartDate>
  27.         <ListEndDate></ListEndDate>
  28.         <ListAmount></ListAmount>
  29.         <ListUnitCode></ListUnitCode>
  30.         <CostStartDate>11/01/2007</CostStartDate>
  31.         <CostEndDate>06/30/2008</CostEndDate>
  32.         <CostAmount>4.653</CostAmount>
  33.         <CostUnitCode>PR</CostUnitCode>
  34.     </CostLineInq>
  35.     <CostLineInq>
  36.         <ShortName>AMERAC</ShortName>
  37.         <ListStartDate></ListStartDate>
  38.         <ListEndDate></ListEndDate>
  39.         <ListAmount></ListAmount>
  40.         <ListUnitCode></ListUnitCode>
  41.         <CostStartDate>10/08/2004</CostStartDate>
  42.         <CostEndDate>12/31/2006</CostEndDate>
  43.         <CostAmount>4.470</CostAmount>
  44.         <CostUnitCode>FC</CostUnitCode>
  45.     </CostLineInq>
  46. </ItemMaster>
  47.  
and here is the XSL i am struggling with to get the above output :
Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:us="http://www.ussco.com/oagis/0">
  3.     <xsl:output method="xml" version="1.0" encoding="UTF-16" indent="yes"/>
  4.     <xsl:namespace-alias stylesheet-prefix="oa" result-prefix="oa"/>
  5.     <xsl:template match="/">
  6.         <ItemMaster>
  7.             <xsl:variable name="ShortName" select="//us:ItemMaster/us:ItemMasterHeader/oa:ManufacturerItemID/oa:ID/@schemeAgencyName"/>
  8.             <xsl:for-each select="//us:ItemPricing">
  9.  
  10.                 <xsl:variable name="currentPricingNode" select="."/>
  11.                 <xsl:for-each select="us:ItemCost">
  12.  
  13.                 <xsl:sort select="substring(us:CostEndDate,7,4)" order="descending"/> <!-- year  -->
  14.  
  15.  
  16.                     <xsl:variable name="costIndex" select="position()"/>
  17.                     <CostLineInq>
  18.                         <ShortName>
  19.                             <xsl:value-of select="$ShortName"/>
  20.                         </ShortName>
  21.                         <ListStartDate>
  22.  
  23.                             <xsl:value-of select="$currentPricingNode/us:ItemList[$costIndex]/us:ListStartDate"/>
  24.                         </ListStartDate>
  25.                         <ListEndDate>
  26.                             <xsl:value-of select="$currentPricingNode/us:ItemList[$costIndex]/us:ListEndDate"/>
  27.                         </ListEndDate>
  28.                         <ListAmount>
  29.                             <xsl:value-of select="$currentPricingNode/us:ItemList[$costIndex]/us:ListAmount"/>
  30.                         </ListAmount>
  31.                         <ListUnitCode>
  32.                             <xsl:value-of select="$currentPricingNode/us:ItemList[$costIndex]/us:ListUnitCode"/>
  33.                         </ListUnitCode>
  34.                         <CostStartDate>
  35.  
  36.                             <xsl:value-of select="us:CostStartDate"/>
  37.                         </CostStartDate>
  38.                         <CostEndDate>
  39.                             <xsl:value-of select="us:CostEndDate"/>
  40.                         </CostEndDate>
  41.                         <CostAmount>
  42.                             <xsl:value-of select="$currentPricingNode/us:ItemCost[$costIndex]/oa:CostAmount"/>
  43.                         </CostAmount>
  44.                         <CostUnitCode>
  45.                             <xsl:value-of select="$currentPricingNode/us:ItemCost[$costIndex]/us:CostType"/>
  46.                         </CostUnitCode>
  47.                     </CostLineInq>
  48.                 </xsl:for-each>
  49.             </xsl:for-each>
  50.         </ItemMaster>
  51.     </xsl:template>
  52. </xsl:stylesheet>
  53.  
Thanks in advance for the help...
Mar 6 '08 #1
4 1527
MarkoKlacar
296 Expert 100+
Hi,

Could you re-post using code tags?
Thanks
Mar 7 '08 #2
input XML :
Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ussco:ShowItemMaster xmlns:oagis="http://www.openapplications.org/oagis/9" xmlns:ussco="http://www.ussco.com/oagis/0" xmlns:hats="http://webserviceclasses" xmlns:wsg="http://www.ussco.com/webservicegateway" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:coe="http://www.CSCOE070O.com/schemas/CSCOE070OInterface" xmlns:proc="http://webservicegateway.ussco.com/Implementation/ProcessingData" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  3.     <oagis:ApplicationArea>
  4.         <oagis:CreationDateTime>2008-03-05T10:05:03.644-06:00</oagis:CreationDateTime>
  5.     </oagis:ApplicationArea>
  6.     <ussco:DataArea>
  7.         <oagis:Show/>
  8.         <ussco:ItemMaster>
  9.             <ussco:ItemMasterHeader>
  10.                 <oagis:ItemID agencyRole="Prefix_Number">
  11.                     <oagis:ID>AAC</oagis:ID>
  12.                 </oagis:ItemID>
  13.                 <oagis:ItemID agencyRole="Stock_Number_Butted">
  14.                     <oagis:ID>11035M</oagis:ID>
  15.                 </oagis:ItemID>
  16.                 <oagis:ManufacturerItemID>
  17.                     <oagis:ID schemeAgencyName="AMERAC" schemeAgencyID="0322"/>
  18.                 </oagis:ManufacturerItemID>
  19.                 <oagis:Specification>
  20.                     <oagis:Property>
  21.                         <oagis:Description type="Product_Description">TOOL,POTTERY KIT,8/KT,WN</oagis:Description>
  22.                     </oagis:Property>
  23.                 </oagis:Specification>
  24.                 <oagis:HazardousMaterial>
  25.                     <oagis:ID>N</oagis:ID>
  26.                 </oagis:HazardousMaterial>
  27.                 <ussco:FreightClassification>
  28.                     <oagis:Codes>
  29.                         <oagis:Code name="UPSAble_Indicator" sequence="1">Y</oagis:Code>
  30.                         <oagis:Code name="Oversized_Indicator" sequence="1"/>
  31.                     </oagis:Codes>
  32.                 </ussco:FreightClassification>
  33.                 <oagis:BuyerParty>
  34.                     <oagis:Contact>
  35.                         <oagis:ID>786</oagis:ID>
  36.                     </oagis:Contact>
  37.                 </oagis:BuyerParty>
  38.                 <ussco:GLCatalogPageNumber>7997</ussco:GLCatalogPageNumber>
  39.             </ussco:ItemMasterHeader>
  40.             <ussco:ItemLocation>
  41.                 <ussco:Classification type="Ship_Class_Code">
  42.                     <ussco:Codes>
  43.                         <oagis:Code sequence="1"/>
  44.                     </ussco:Codes>
  45.                 </ussco:Classification>
  46.                 <ussco:Classification type="Item_Class_Code">
  47.                     <ussco:Codes>
  48.                         <oagis:Code sequence="1">00</oagis:Code>
  49.                     </ussco:Codes>
  50.                 </ussco:Classification>
  51.                 <ussco:Classification type="Recycle_Indicator">
  52.                     <ussco:Codes>
  53.                         <oagis:Code sequence="1">N</oagis:Code>
  54.                     </ussco:Codes>
  55.                 </ussco:Classification>
  56.                 <ussco:Classification type="Air_Ship_Indicator">
  57.                     <ussco:Codes>
  58.                         <oagis:Code sequence="1">Y</oagis:Code>
  59.                     </ussco:Codes>
  60.                 </ussco:Classification>
  61.                 <ussco:Classification type="Non_Returnable_Indicator">
  62.                     <ussco:Codes>
  63.                         <oagis:Code sequence="1"/>
  64.                     </ussco:Codes>
  65.                 </ussco:Classification>
  66.                 <ussco:Classification type="Stock_Status_Code">
  67.                     <ussco:Codes>
  68.                         <oagis:Code sequence="1">24</oagis:Code>
  69.                     </ussco:Codes>
  70.                 </ussco:Classification>
  71.                 <ussco:Packaging>
  72.                     <oagis:ID>Carton</oagis:ID>
  73.                     <ussco:Dimensions>
  74.                         <oagis:WidthMeasure unitCode="IN">5.500</oagis:WidthMeasure>
  75.                         <oagis:LengthMeasure unitCode="IN">9.750</oagis:LengthMeasure>
  76.                         <oagis:HeightMeasure unitCode="IN">12.750</oagis:HeightMeasure>
  77.                         <ussco:Weight unitCode="LB">4.000</ussco:Weight>
  78.                     </ussco:Dimensions>
  79.                     <oagis:PerPackageQuantity unitCode="KT">12</oagis:PerPackageQuantity>
  80.                 </ussco:Packaging>
  81.                 <ussco:UnitPackaging>
  82.                     <oagis:ID>Box</oagis:ID>
  83.                     <oagis:PerPackageQuantity unitCode="KT">1</oagis:PerPackageQuantity>
  84.                 </ussco:UnitPackaging>
  85.                 <ussco:PalletCapacityQuantity>0</ussco:PalletCapacityQuantity>
  86.             </ussco:ItemLocation>
  87.             <ussco:GlobalItem>
  88.                 <ussco:InventoryUnitCode>KT</ussco:InventoryUnitCode>
  89.                 <ussco:ItemWidth unitCode="IN">11.400</ussco:ItemWidth>
  90.                 <ussco:ItemLength unitCode="IN">11.500</ussco:ItemLength>
  91.                 <ussco:ItemHeight unitCode="IN">1.200</ussco:ItemHeight>
  92.                 <ussco:ItemWeight unitCode="LB">0.263</ussco:ItemWeight>
  93.                 <ussco:UPCCarton>00 0 39672 11035 9</ussco:UPCCarton>
  94.                 <ussco:CountryOriginCode>US</ussco:CountryOriginCode>
  95.             </ussco:GlobalItem>
  96.             <ussco:ItemPricing>
  97.                 <ussco:ItemList>
  98.                     <ussco:ListStartDate>01/01/2007</ussco:ListStartDate>
  99.                     <ussco:ListEndDate>12/31/2010</ussco:ListEndDate>
  100.                     <ussco:ListAmount currencyID="USD">13.79</ussco:ListAmount>
  101.                     <ussco:ListUnitCode>KT</ussco:ListUnitCode>
  102.                 </ussco:ItemList>
  103.                 <ussco:ItemList>
  104.                     <ussco:ListStartDate>10/08/2004</ussco:ListStartDate>
  105.                     <ussco:ListEndDate>12/31/2006</ussco:ListEndDate>
  106.                     <ussco:ListAmount currencyID="USD">8.95</ussco:ListAmount>
  107.                     <ussco:ListUnitCode>KT</ussco:ListUnitCode>
  108.                 </ussco:ItemList>
  109.                 <ussco:ItemList>
  110.                     <ussco:ListStartDate>10/08/2004</ussco:ListStartDate>
  111.                     <ussco:ListEndDate>06/23/2008</ussco:ListEndDate>
  112.                     <ussco:ListAmount currencyID="USD">18.95</ussco:ListAmount>
  113.                     <ussco:ListUnitCode>KT</ussco:ListUnitCode>
  114.                 </ussco:ItemList>
  115.                 <ussco:ItemCost>
  116.                     <ussco:CostType>FC</ussco:CostType>
  117.                     <ussco:CostStartDate>01/01/2007</ussco:CostStartDate>
  118.                     <ussco:CostEndDate>12/31/2010</ussco:CostEndDate>
  119.                     <oagis:CostAmount currencyID="USD">5.170</oagis:CostAmount>
  120.                     <ussco:CostUnitCode>KT</ussco:CostUnitCode>
  121.                 </ussco:ItemCost>
  122.                 <ussco:ItemCost>
  123.                     <ussco:CostType>FC</ussco:CostType>
  124.                     <ussco:CostStartDate>10/08/2004</ussco:CostStartDate>
  125.                     <ussco:CostEndDate>12/31/2006</ussco:CostEndDate>
  126.                     <oagis:CostAmount currencyID="USD">4.470</oagis:CostAmount>
  127.                     <ussco:CostUnitCode/>
  128.                 </ussco:ItemCost>
  129.  
  130.             </ussco:ItemPricing>
  131.             <ussco:ItemList>
  132.                 <ussco:ListAmount currencyID="USD">13.79</ussco:ListAmount>
  133.             </ussco:ItemList>
  134.         </ussco:ItemMaster>
  135.     </ussco:DataArea>
  136. </ussco:ShowItemMaster>
  137.  
Expected output XML after merging the ItemList and ItemCost nodes should be as follows :
Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="UTF-16"?>
  2. <ItemMaster xmlns:us="http://www.ussco.com/oagis/0">
  3.     <CostLineInq>
  4.         <ShortName>AMERAC</ShortName>
  5.         <ListStartDate>01/01/2007</ListStartDate>
  6.         <ListEndDate>12/31/2010</ListEndDate>
  7.         <ListAmount>13.79</ListAmount>
  8.         <ListUnitCode>KT</ListUnitCode>
  9.         <CostStartDate>01/01/2007</CostStartDate>
  10.         <CostEndDate>12/31/2010</CostEndDate>
  11.         <CostAmount>5.170</CostAmount>
  12.         <CostUnitCode>FC</CostUnitCode>
  13.     </CostLineInq>
  14.     <CostLineInq>
  15.         <ShortName>AMERAC</ShortName>
  16.         <ListStartDate>10/08/2004</ListStartDate>
  17.         <ListEndDate>06/23/2008</ListEndDate>
  18.         <ListAmount>18.95</ListAmount>
  19.         <ListUnitCode>KT</ListUnitCode>
  20.         <CostStartDate>10/08/2004</CostStartDate>
  21.         <CostEndDate>12/31/2006</CostEndDate>
  22.         <CostAmount>4.470</CostAmount>
  23.         <CostUnitCode>FC</CostUnitCode>
  24.     </CostLineInq>
  25.     <CostLineInq>
  26.         <ShortName>AMERAC</ShortName>
  27.         <ListStartDate>10/08/2004</ListStartDate>
  28.         <ListEndDate>12/31/2006</ListEndDate>
  29.         <ListAmount>8.95</ListAmount>
  30.         <ListUnitCode>KT</ListUnitCode>
  31.         <CostStartDate></CostStartDate>
  32.         <CostEndDate></CostEndDate>
  33.         <CostAmount></CostAmount>
  34.         <CostUnitCode></CostUnitCode>
  35.     </CostLineInq>
  36. </ItemMaster>
  37.  
This is the XSL that i have been working with :
Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:us="http://www.ussco.com/oagis/0">
  3.     <xsl:output method="xml" version="1.0" encoding="UTF-16" indent="yes"/>
  4.     <xsl:namespace-alias stylesheet-prefix="oa" result-prefix="oa"/>
  5.     <xsl:template match="/">
  6.         <ItemMaster>
  7.             <xsl:variable name="ShortName" select="//us:ItemMaster/us:ItemMasterHeader/oa:ManufacturerItemID/oa:ID/@schemeAgencyName"/>
  8.             <xsl:for-each select="//us:ItemPricing">
  9.                     <xsl:variable name="lists" as="node()*">
  10.                           <xsl:perform-sort select="us:ItemList">
  11.                             <xsl:sort select="concat(substring(us:ListEndDate,7,4),substring(us:ListEndDate,4,2),substring(us:ListEndDate,1,2))" data-type="number" order="descending"/>
  12.                           </xsl:perform-sort>
  13.                     </xsl:variable>
  14.                     <xsl:variable name="costs" as="node()*">
  15.                         <xsl:perform-sort select="us:ItemCost">
  16.                             <xsl:sort select="concat(substring(us:CostEndDate,7,4),substring(us:CostEndDate,4,2),substring(us:CostEndDate,1,2))" data-type="number" order="descending"/>
  17.                           </xsl:perform-sort>
  18.                     </xsl:variable>
  19.                 <xsl:for-each select="$costs">
  20.                     <xsl:variable name="location" select="position()" />
  21.                     <CostLineInq>
  22.                         <ShortName>
  23.                             <xsl:value-of select="$ShortName"/>
  24.                         </ShortName>
  25.                         <ListStartDate>
  26.                             <xsl:value-of select="$lists[$location]/us:ListStartDate"/>
  27.                         </ListStartDate>
  28.                         <ListEndDate>
  29.                             <xsl:value-of select="$lists[$location]/us:ListEndDate"/>
  30.                         </ListEndDate>
  31.                         <ListAmount>
  32.                             <xsl:value-of select="$lists[$location]/us:ListAmount"/>
  33.                         </ListAmount>
  34.                         <ListUnitCode>
  35.                             <xsl:value-of select="$lists[$location]/us:ListUnitCode"/>
  36.                         </ListUnitCode>
  37.                         <CostStartDate>
  38.                             <xsl:value-of select="us:CostStartDate"/>
  39.                         </CostStartDate>
  40.                         <CostEndDate>
  41.                             <xsl:value-of select="us:CostEndDate"/>
  42.                         </CostEndDate>
  43.                         <CostAmount>
  44.                             <xsl:value-of select="oa:CostAmount"/>
  45.                         </CostAmount>
  46.                         <CostUnitCode>
  47.                             <xsl:value-of select="us:CostType"/>
  48.                         </CostUnitCode>
  49.                     </CostLineInq>
  50.                 </xsl:for-each>
  51.             </xsl:for-each>
  52.         </ItemMaster>
  53.     </xsl:template>
  54. </xsl:stylesheet>
  55.  
Mar 7 '08 #3
jkmyoung
2,057 Expert 2GB
[$costIndex] will return true always since the variable always exists.
You want [position() = $costIndex]

Expand|Select|Wrap|Line Numbers
  1. <xsl:for-each select="$currentPricingNode/us:ItemList[position() = $costIndex]">
  2.     <ListStartDate>
  3.         <xsl:value-of select="us:ListStartDate"/>
  4.     </ListStartDate>
  5.     <ListEndDate>
  6.         <xsl:value-of select="us:ListEndDate"/>
  7.     </ListEndDate>
  8.     <ListAmount>
  9.         <xsl:value-of select="us:ListAmount"/>
  10.     </ListAmount>
  11.     <ListUnitCode>
  12.         <xsl:value-of select="us:ListUnitCode"/>
  13.     </ListUnitCode>
  14. </xsl:for-each>
  15.  
Mar 7 '08 #4
Thank you for responding to my question, but i already found a way to get over this problem.
Mar 17 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: dont bother | last post by:
This is really driving me crazy. I have a dictionary feature_vectors{}. I try to sort its keys using #apply sorting on feature_vectors sorted_feature_vector=feature_vectors.keys()...
2
by: D. Roshani | last post by:
Hello ! I wonder if any one can help me to create a cosomize sorting order (as Macro or added small program in c++ or c# which does this work) in a Access Database contaning one table only words...
3
by: Neil Hindry | last post by:
I wonder if you can help me. I have setup an address-book database in Access XP. I have the first name & surname as separate fields. As I wanted to sort my database by surname and then by first...
1
by: aredo3604gif | last post by:
On Sun, 10 Apr 2005 19:46:32 GMT, aredo3604gif@yahoo.com wrote: >The user can dynamically enter and change the rule connection between >objects. The rule is a "<" and so given two objects: >a <...
3
by: Don | last post by:
I have a "Report" that is created from a "Form". It prints a list of items, you may consider it a shopping list. In any event I use to run this in alphabetical order but have since decided to run...
2
by: rookiejavadude | last post by:
I'm have most of my java script done but can not figure out how to add a few buttons. I need to add a delete and add buttong to my existing java program. Not sure were to add it on how. Can anyone...
1
by: Ahmed Yasser | last post by:
Hi all, i have a problem with the datagridview sorting, the problem is a bit complicated so i hope i can describe in the following steps: 1. i have a datagridview with two columns...
1
KevinADC
by: KevinADC | last post by:
Introduction In part one we discussed the default sort function. In part two we will discuss more advanced techniques you can use to sort data. Some of the techniques might introduce unfamiliar...
6
by: gopalsd | last post by:
Hi Friends, Can anyone pls help me to resolve my school test in PERL................ as follows..... #!/usr/bin/perl @data=N; $sum=0; print"enter the required No. of numbers to be inputed...
5
by: jrod11 | last post by:
hi, I found a jquery html table sorting code i have implemented. I am trying to figure out how to edit how many colums there are, but every time i remove code that I think controls how many colums...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.