Validation Results from ValidationGroup

I am an architect for a very large flex project at the ActiveNetwork. I am considering using the ValidationGroup as part of our process for validation. I like the concept grouping validators including nested groups. I don't see how to get the validation results after validating the group though? I think this is an important feature that the standard validator class provides with validateAll() which returns the validation results. I'd like to see a similar feature on the ValidationGroup that validate all and returns the results which I can then display to the user.
Is there currently a way to do this with ValidationGroup? Can this be added if it is not there?

OK, I understand. Thanks for the info. For your specific use case I've just comitted a new version to trunk that adds a collection of invalid Validators to the ValidationGroupEvent. Let me know if that satisfies your use case. Note, no guarantees that this will end up in the release version of Validation. I'm not sure if that's the best way to implement this feature yet.
As an additional note: the user experience you describe with displaying error messages outside the context of the source of the error (a popup) reminds me more on thin client UIs that sometimes didn't have another straightforward technical way to display validation. I think a standard validation behaviour in Flex is to let the Flex controls display the error directly via errorStrings. The samles in the ValidationTest library show this behaviour. Would that not work for you?

Similar Messages

  • Inconsistent Results from dbms_output.get_lines

    Hi,
    I am getting inconsistent results from using dbms_output.get_lines.
    I'm using get_lines in a procedure A that executes a function B to test if the function returns 0 or > 0 to indicate validity of my data. In that function, I use dbms_output.put_lines to communicate data points that I want to use. My procedure A does a get_lines after executing function B then either logs the lines into a table or sends an email.
    Right now, get_lines is behaving sporadically for me. Sometimes I the chararr returns some lines while other times it doesn't. The strange thing is numlines does return a value, and it's the value that I expected.
    Can someone please help?
    Thanks.

    Use parameters or even global package variables to transport data from one procedure to the other. dbms_output is not meant for this, it will not work.

  • Configuration validation resulted in error(s)

    Hi,
    I am facing a problem in configurator,we are using deferred booking workflow.When we are creating new orders with ATO/PTO items the standard BOOK Node in the workflow is getting completed with result Incomplete.
    The error message on sales order, which we can see from View all open messages, is saying as"Configurator validation resulted in error(s)".
    When we copy the above sales order which is failing with above error and create a new order, the new order is getting booked successfully.We are not changing anything in the copied order.
    Also the deferred workflow is not giving any issues when creating a sales order using the Standard item.The OM debug is also not suggesting anything related to this.
    Please let me know if anyone have come across this issue.
    Thanks!

    Thanks Sandeep for ur reply on this..
    I followed the process u mentioned but it didnt work.Actually as I mentioned in my first question, this issue is coming up only when we are creating new sales order.If we copy the sales order which is not getting booked then the new one(copied) sales order's gets booked correctly.Though the copied sales order also have same configuration.
    I also tried to validate the Configuration for the sales order having issue using the api CZ_CONFIG_API_PUB.verify_configuration and this resulting as SUCCESS.
    Is there any thing in the deferred booking process which may cause this issue?
    Also the error message Configuration Validation resulted in errors is coming through a exception, and the exception is being used in CZ_BATCH_VALIDATE.The batch validate is being called from Send_Input_xml procedure.It seems if we copy the order this procedure for batch validate is not being called.
    but i m not getting any clue in Send_Input_xml procedure abt why exception is being raised.
    Thanks!

  • How to check CRL validity time from client?

    Hello,
    I have one Windows Server 2003 R2 working as Standalone CA. It provides certificate for one of our internal IIS website.
    I have decreased CRL publish interval from 1 week -> 1 day and Published new CRL.
    However, our webserver is propably not aware of new CRL publishing interval changed on CA, because I suppose webserver has cached CRL locally.
    My question is, how to check cached CRL validity time from our webserver? Its running Windows Server 2003 R2.
    I attempted to run following command on webserver with 0 results: certutil -urlcache crl

    You basically have to wait it out when you are running an 11 year old operating system
    The certutil -urlcache CRL command was introduced in Windows Server 2008/Vista.
    The deletion/inspection of cached CRL data was not really an option in Server 2003
    Brian

  • Can't hide validation results

    After validating my document using the W3C Validator within Dreamweaver, I was unable to hide specific validation results. I would click "hide" and the error would still appear when I revalidate my code.
    I then installed a validation extension (http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=2188524), which didn't work either. I removed this extension and now the option to "hide" validation results through the W3C validator is gone altogether.
    Anyone else having this problem or have possible solutions?
    Thanks!

    Some things to try:
    Hit F7 to hide the results panel.
    Disable Extensions from Extension Manager.
    Close DW.  Restart computer. Launch DW
    Delete corrupted Cache and/or Personal Configuration folder.
    http://forums.adobe.com/thread/494811
    Nancy O.

  • PLEASE HELP!!! Item Validation Resulted in error(s).

    We get following error when using Oracle process_order API to create an Order.
    Where should I check from? All the items seem valid.
    There were errors in Oracle API
    Item Validation Resulted in error(s).
    Cannot get valid name for - Item_Relationship_Type

    Pl see if ML Doc 417696.1 will help
    Srini

  • Stoping "Plesae Select" List/Menu Results from coming through

    Hi there, we have several list/menu's on our website form and
    want to know if theres a way of stopping all the "please select"
    results from coming through?
    "please select" comes through because the user hasent
    selected a result in the list menu.
    Cheers
    Malhyp

    MalRom wrote:
    > Hi there, we have several list/menu's on our website
    form and want to know if
    > theres a way of stopping all the "please select" results
    from coming through?
    >
    > "please select" comes through because the user hasent
    selected a result in the
    > list menu.
    As well as what Gary has suggested, you should always
    validate the input
    being submitted via a form. This can be done client-side with
    Javascript, or server-side with whatever language is
    available. It
    sounds like you can't edit the CGI which processes the form
    data and
    sends it, so do as Gary suggested, or use some client-side
    form
    validation. There are loads of examples online if you google
    for
    "javascript form validation"
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html

  • Item Validation Resulted in Error(s)

    Hi,
    We getting this message ' Item Validation Resulted in Error(s)' while doing the following.
    - Changed the ship to address at the header level for the booked order
    - Oracle is asking whether to cascade the changes to the line level
    - On selection yes to cascade the changes to the line level we are getting
    this error message' Item Validation Resulted in Error(s)'
    Do you have any idea about the fix for this problem.
    Note - Currently we are using a workaround for this.
    Step 1) deselecting and the Item identifier type and Ordered item on the MAIN order line tab --> Saving the changes
    Step 2) Changing the Ship to address to the new desired value on the ADDRESSES tab.
    Thanks
    Sunil

    Hi - I am getting something similar when attempting to add a line to certain order via the Process Order API. The source for this new line is copied from a previous order but when I try to copy to the new order I get the same error. In order to get around the problem, I do not copt the original ORDERED_ITEM and ITEM_IDENTIFIER_TYPE (which was 'CUST'). When doing this, the order line copies to the new order successfully but shows the item's SEGMENT1 value rather than the ORDERED_ITEM from the source order. Any pointers would be much appreciated
    Steve

  • How do I interpret this validation result?

    How do I interpret this validation result?
    13366 [Element <7>] [Rings 3, 4][Edge <0> in ring <3>][Edge <0> in ring <4>]
    --ORA-13366: invalid combination of interior exterior rings
    --Cause: In an Oracle Spatial geometry, interior and exterior rings are not used consistently.
    --Action: Make sure that the interior rings corresponding to an exterior ring follow the exterior ring in the ordinate array.
    I think it means that rings 3 and 4 in element 7 have interior vs exterior issues, but element 7 does not have rings 3 or 4; it does have rings 1 and 2.
    I am using Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production

    here is the result...
    SQL> select c.geom.sdo_elem_info from de_lec c where c.lec_gcode = '9417';
    SDO_ELEM_INFO_ARRAY(1, 1003, 1, 69097, 2003, 1, 70747, 2003, 1, 74383, 1003, 1, 122715, 2003, 1, 124
    , 1003, 1, 233915, 2003, 1, 235071, 2003, 1, 236407, 2003, 1, 236469, 1003, 1, 252279, 1003, 1, 2652
    1003, 1, 290105, 1003, 1, 301625, 2003, 1, 302471, 1003, 1, 309783, 1003, 1, 320973, 1003, 1, 33194
    1003, 1, 354945, 1003, 1, 374059, 1003, 1, 378163, 1003, 1, 392505, 1003, 1, 394375, 1003, 1, 398463
    003, 1, 416955, 1003, 1, 419939, 1003, 1, 422193, 1003, 1, 423811, 1003, 1, 425763, 1003, 1, 428065,
    03, 1, 433357, 1003, 1, 436003, 1003, 1, 441597, 1003, 1, 442599, 1003, 1, 450817, 1003, 1, 453779,
    3, 1, 459279, 1003, 1, 460957, 1003, 1, 463733, 1003, 1, 472079, 1003, 1, 473515, 1003, 1, 475225, 1
    , 1, 477279, 1003, 1, 478213, 1003, 1, 480013, 1003, 1, 482317, 1003, 1, 484677, 1003, 1, 485797, 10
    1, 487885, 1003, 1, 489137, 1003, 1, 490473, 1003, 1, 494967, 1003, 1, 495533, 1003, 1, 496545, 100
    1, 502053, 1003, 1, 502731, 1003, 1, 507419, 1003, 1, 509385, 1003, 1, 510463, 1003, 1, 511541, 1003
    , 513055, 1003, 1, 515103, 1003, 1, 515485, 1003, 1, 516215, 1003, 1, 518501, 1003, 1, 518893, 1003,
    521707, 1003, 1, 522173, 1003, 1, 523241, 1003, 1, 523753, 1003, 1, 524655, 1003, 1, 525181, 1003,
    526689, 1003, 1, 527041, 1003, 1, 527631, 1003, 1, 528079, 1003, 1, 529339, 1003, 1, 529505, 1003, 1
    30239, 1003, 1, 530351, 1003, 1, 531627, 1003, 1, 531835, 1003, 1, 532029, 1003, 1, 532363, 1003, 1,
    3919, 1003, 1, 534317, 1003, 1, 534755, 1003, 1, 535307, 1003, 1, 535545, 1003, 1, 536431, 1003, 1,
    117, 1003, 1, 537379, 1003, 1, 537871, 1003, 1, 538127, 1003, 1, 538459, 1003, 1, 539661, 1003, 1, 5
    89, 1003, 1, 540359, 1003, 1, 540585, 1003, 1, 540713, 1003, 1, 541065, 1003, 1, 541391, 1003, 1, 54
    1, 1003, 1, 543035, 1003, 1, 545329, 1003, 1, 545743, 1003, 1, 546109, 1003, 1, 546209, 1003, 1, 546
    , 1003, 1, 546945, 1003, 1, 546991, 1003, 1, 547333, 1003, 1, 547969, 1003, 1, 548239, 1003, 1, 5483
    1003, 1, 549721, 1003, 1, 550091, 1003, 1, 550203, 1003, 1, 550417, 1003, 1, 550511, 1003, 1, 55062
    1003, 1, 550915, 1003, 1, 551459, 1003, 1, 551701, 1003, 1, 551889, 1003, 1, 552763, 1003, 1, 552957
    003, 1, 555273, 1003, 1, 555331, 1003, 1, 555489, 1003, 1, 556235, 1003, 1, 556551, 1003, 1, 556699,
    03, 1, 557223, 1003, 1, 558425, 1003, 1, 558735, 1003, 1, 558825, 1003, 1, 559043, 1003, 1, 559237,
    3, 1, 559513, 1003, 1, 559679, 1003, 1, 559829, 1003, 1, 559977, 1003, 1, 560099, 1003, 1, 560877, 1
    , 1, 561599, 1003, 1, 561667, 1003, 1, 562085, 1003, 1, 562361, 1003, 1, 563011, 1003, 1, 564005, 10
    1, 564445, 1003, 1, 564587, 1003, 1, 564659, 1003, 1, 564775, 1003, 1, 564959, 1003, 1, 565105, 100
    1, 565535, 1003, 1, 565591, 1003, 1, 565679, 1003, 1, 565881, 1003, 1, 566451, 1003, 1, 566575, 1003
    , 566871, 1003, 1, 566987, 1003, 1, 567231, 1003, 1, 567885, 1003, 1, 568059, 1003, 1, 568227, 1003,
    568493, 1003, 1, 569317, 1003, 1, 569449, 1003, 1, 569805, 1003, 1, 569859, 1003, 1, 570097, 1003,
    570547, 1003, 1, 570815, 1003, 1, 570863, 1003, 1, 570961, 1003, 1, 571089, 1003, 1, 571143, 1003, 1
    71669, 1003, 1, 572099, 1003, 1, 572195, 1003, 1, 572319, 1003, 1, 572425, 1003, 1, 572531, 1003, 1,
    2729, 1003, 1, 572929, 1003, 1, 573087, 1003, 1, 573137, 1003, 1, 573255, 1003, 1, 573611, 1003, 1,
    747, 1003, 1, 573813, 1003, 1, 574339, 1003, 1, 574425, 1003, 1, 574485, 1003, 1, 574579, 1003, 1, 5
    83, 1003, 1, 574925, 1003, 1, 575035, 1003, 1, 575211, 1003, 1, 575361, 1003, 1, 575803, 1003, 1, 57
    1, 1003, 1, 576015, 1003, 1, 576103, 1003, 1, 576203, 1003, 1, 576299, 1003, 1, 576759, 1003, 1, 576
    , 1003, 1, 577073, 1003, 1, 577277, 1003, 1, 577339, 1003, 1, 577463, 1003, 1, 577541, 1003, 1, 5777
    1003, 1, 578153, 1003, 1, 578301, 1003, 1, 578529, 1003, 1, 578737, 1003, 1, 578805, 1003, 1, 57893
    1003, 1, 579223, 1003, 1, 579353, 1003, 1, 579431, 1003, 1, 579491, 1003, 1, 579561, 1003, 1, 579629
    003, 1, 579735, 1003, 1, 579815, 1003, 1, 579857, 1003, 1, 580577, 1003, 1, 580803, 1003, 1, 580837,
    03, 1, 580997, 1003, 1, 581059, 1003, 1, 581367, 1003, 1, 581479, 1003, 1, 581547, 1003, 1, 581903,
    3, 1, 582299, 1003, 1, 582417, 1003, 1, 582729, 1003, 1, 582911, 1003, 1, 583379, 1003, 1, 583459, 1
    , 1, 583769, 1003, 1, 583951, 1003, 1, 584011, 1003, 1, 584057, 1003, 1, 584113, 1003, 1, 584211, 10
    1, 584437, 1003, 1, 584841, 1003, 1, 584859, 1003, 1, 585043, 1003, 1, 585277, 1003, 1, 585371, 100
    1, 585521, 1003, 1, 585625, 1003, 1, 585681, 1003, 1, 585815, 1003, 1, 586027, 1003, 1, 586149, 1003
    , 586623, 1003, 1, 586777, 1003, 1, 586819, 1003, 1, 586929, 1003, 1, 587171, 1003, 1, 587289, 1003,
    587823, 1003, 1, 587855, 1003, 1, 587983, 1003, 1, 588155, 1003, 1, 588321, 1003, 1, 588379, 1003,
    588547, 1003, 1, 588873, 1003, 1, 588939, 1003, 1, 588999, 1003, 1, 589347, 1003, 1, 589389, 1003, 1
    89643, 1003, 1, 589971, 1003, 1, 590289, 1003, 1, 590481, 1003, 1, 590565, 1003, 1, 590627, 1003, 1,
    0797, 1003, 1, 590877, 1003, 1, 590953, 1003, 1, 591033, 1003, 1, 591393, 1003, 1, 591703, 1003, 1,
    873, 1003, 1, 591917, 1003, 1, 592019, 1003, 1, 592047, 1003, 1, 592345, 1003, 1, 592461, 1003, 1, 5
    49, 1003, 1, 592689, 1003, 1, 592745, 1003, 1, 592783, 1003, 1, 592963, 1003, 1, 593009, 1003, 1, 59
    7, 1003, 1, 593415, 1003, 1, 593475, 1003, 1, 593513, 1003, 1, 593789, 1003, 1, 593915, 1003, 1, 593
    , 1003, 1, 594165, 1003, 1, 594215, 1003, 1, 594243, 1003, 1, 594311, 1003, 1, 594349, 1003, 1, 5944
    1003, 1, 594589, 1003, 1, 594825, 1003, 1, 595109, 1003, 1, 595139, 1003, 1, 595199, 1003, 1, 59534
    1003, 1, 595447, 1003, 1, 595611, 1003, 1, 595743, 1003, 1, 595811, 1003, 1, 595995, 1003, 1, 596097
    003, 1, 596239, 1003, 1, 596291, 1003, 1, 596445, 1003, 1, 596553, 1003, 1, 596625, 1003, 1, 596789,
    03, 1, 596877, 1003, 1, 596959, 1003, 1, 596993, 1003, 1, 597057, 1003, 1, 597181, 1003, 1, 597293,
    3, 1, 597459, 1003, 1, 597547, 1003, 1, 597651, 1003, 1, 597863, 1003, 1, 597999, 1003, 1, 598075, 1
    , 1, 598337, 1003, 1, 598379, 1003, 1, 598517, 1003, 1, 598547, 1003, 1, 598875, 1003, 1, 599093, 10
    1, 599201, 1003, 1, 599385, 1003, 1, 599491, 1003, 1, 599513, 1003, 1, 599649, 1003, 1, 599705, 100
    1, 600221, 1003, 1, 600255, 1003, 1, 600355, 1003, 1, 600461, 1003, 1, 600553, 1003, 1, 600617, 1003
    , 600737, 1003, 1, 600799, 1003, 1, 600825, 1003, 1, 600923, 1003, 1, 601157, 1003, 1, 601199, 1003,
    601281, 1003, 1, 601335, 1003, 1, 601471, 1003, 1, 601517, 1003, 1, 601725, 1003, 1, 601859, 1003,
    602315, 1003, 1, 602403, 1003, 1, 602577, 1003, 1, 602815, 1003, 1, 602909, 1003, 1, 603097, 1003, 1
    03275, 1003, 1, 603335, 1003, 1, 603357, 1003, 1, 603857, 1003, 1, 603941, 1003, 1, 604079, 1003, 1,
    4293, 1003, 1, 604377, 1003, 1, 604441, 1003, 1, 604537, 1003, 1, 604581, 1003, 1, 604749, 1003, 1,
    913, 1003, 1, 604997, 1003, 1, 605025, 1003, 1, 605103, 1003, 1, 605157, 1003, 1, 605241, 1003, 1, 6
    65, 1003, 1, 605443, 1003, 1, 605743, 1003, 1, 605929, 1003, 1, 606129, 1003, 1, 606203, 1003, 1, 60
    9, 1003, 1, 606635, 1003, 1, 606789, 1003, 1, 606849, 1003, 1, 606879, 1003, 1, 607021, 1003, 1, 607
    , 1003, 1, 607441, 1003, 1, 607629, 1003, 1, 607747, 1003, 1, 607819, 1003, 1, 607845, 1003, 1, 6079
    1003, 1, 608123, 1003, 1, 608177, 1003, 1, 608341, 1003, 1, 608389, 1003, 1, 608691, 1003, 1, 60879
    1003, 1, 608849, 1003, 1, 609019, 1003, 1, 609037, 1003, 1, 609233, 1003, 1, 609319, 1003, 1, 609373
    003, 1, 609671, 1003, 1, 609757, 1003, 1, 609857, 1003, 1, 609881, 1003, 1, 609907, 1003, 1, 609941,
    03, 1, 610051, 1003, 1, 610105, 1003, 1, 610215, 1003, 1, 610347, 1003, 1, 610463, 1003, 1, 610587,
    3, 1, 610797, 1003, 1, 610877, 1003, 1, 610903, 1003, 1, 610999, 1003, 1, 611371, 1003, 1, 611465, 1
    , 1, 611629, 1003, 1, 611659, 1003, 1, 611683, 1003, 1, 611831, 1003, 1, 611919, 1003, 1, 612049, 10
    1, 612153, 1003, 1, 612289, 1003, 1, 612411, 1003, 1, 612481, 1003, 1, 612509, 1003, 1, 612603, 100
    1, 612791, 1003, 1, 612813, 1003, 1, 612927, 1003, 1, 613015, 1003, 1, 613041, 1003, 1, 613085, 1003
    , 613245, 1003, 1, 613381, 1003, 1, 613411, 1003, 1, 613433, 1003, 1, 613459, 1003, 1, 613485, 1003,
    613809, 1003, 1, 613831, 1003, 1, 613909, 1003, 1, 613949, 1003, 1, 614049, 1003, 1, 614115, 1003,
    614407, 1003, 1, 614499, 1003, 1, 614613, 1003, 1, 614637, 1003, 1, 614687, 1003, 1, 614761, 1003, 1
    14803, 1003, 1, 614837, 1003, 1, 614909, 1003, 1, 614981, 1003, 1, 615011, 1003, 1, 615147, 1003, 1,
    5221, 1003, 1, 615303, 1003, 1, 615415, 1003, 1, 615435, 1003, 1, 615515, 1003, 1, 615601, 1003, 1,
    661, 1003, 1, 615729, 1003, 1, 615811, 1003, 1, 615865, 1003, 1, 615979, 1003, 1, 616065, 1003, 1, 6
    55, 1003, 1, 616413, 1003, 1, 616485, 1003, 1, 616593, 1003, 1, 616673, 1003, 1, 616759, 1003, 1, 61
    5, 1003, 1, 617001, 1003, 1, 617065, 1003, 1, 617117, 1003, 1, 617245, 1003, 1, 617327, 1003, 1, 617
    , 1003, 1, 617513, 1003, 1, 617633, 1003, 1, 617715, 1003, 1, 617783, 1003, 1, 617805, 1003, 1, 6178
    1003, 1, 618007, 1003, 1, 618085, 1003, 1, 618149, 1003, 1, 618167, 1003, 1, 618263, 1003, 1, 61832
    1003, 1, 618389, 1003, 1, 618463, 1003, 1, 618489, 1003, 1, 618511, 1003, 1, 618575, 1003, 1, 618603
    003, 1, 618739, 1003, 1, 618771, 1003, 1, 618867, 1003, 1, 618885, 1003, 1, 618943, 1003, 1, 619005,
    03, 1, 619115, 1003, 1, 619167, 1003, 1, 619243, 1003, 1, 619291, 1003, 1, 619335, 1003, 1, 619415,
    3, 1, 619507, 1003, 1, 619571, 1003, 1, 619597, 1003, 1, 619625, 1003, 1, 619745, 1003, 1, 619855, 1
    , 1, 619979, 1003, 1, 620025, 1003, 1, 620133, 1003, 1, 620193, 1003, 1, 620243, 1003, 1, 620411, 10
    1, 620535, 1003, 1, 620693, 1003, 1, 620747, 1003, 1, 620803, 1003, 1, 620865, 1003, 1, 620935, 100
    1, 621075, 1003, 1, 621149, 1003, 1, 621171, 1003, 1, 621197, 1003, 1, 621273, 1003, 1, 621349, 1003
    , 621441, 1003, 1, 621463, 1003, 1, 621583, 1003, 1, 621651, 1003, 1, 621701, 1003, 1, 621753, 1003,
    621911, 1003, 1, 621933, 1003, 1, 621989, 1003, 1, 622125, 1003, 1, 622183, 1003, 1, 622253, 1003,
    622337, 1003, 1, 622387, 1003, 1, 622415, 1003, 1, 622497, 1003, 1, 622545, 1003, 1, 622577, 1003, 1
    22641, 1003, 1, 622731, 1003, 1, 622795, 1003, 1, 622845, 1003, 1, 622893, 1003, 1, 622951, 1003, 1,
    3099, 1003, 1, 623163, 1003, 1, 623269, 1003, 1, 623345, 1003, 1, 623485, 1003, 1, 623541, 1003, 1,
    765, 1003, 1, 623829, 1003, 1, 623869, 1003, 1, 623931, 1003, 1, 623951, 1003, 1, 623967, 1003, 1, 6
    87, 1003, 1, 624143, 1003, 1, 624193, 1003, 1, 624363, 1003, 1, 624407, 1003, 1, 624447, 1003, 1, 62
    5, 1003, 1, 624601, 1003, 1, 624619, 1003, 1, 624675, 1003, 1, 624759, 1003, 1, 624817, 1003, 1, 624
    , 1003, 1, 625069, 1003, 1, 625099, 1003, 1, 625145, 1003, 1, 625181, 1003, 1, 625277, 1003, 1, 6253
    1003, 1, 625403, 1003, 1, 625453, 1003, 1, 625527, 1003, 1, 625585, 1003, 1, 625635, 1003, 1, 62568
    1003, 1, 625715, 1003, 1, 625775, 1003, 1, 625841, 1003, 1, 625855, 1003, 1, 626021, 1003, 1, 626079
    003, 1, 626167, 1003, 1, 626229, 1003, 1, 626307, 1003, 1, 626357, 1003, 1, 626423, 1003, 1, 626529,
    03, 1, 626651, 1003, 1, 626667, 1003, 1, 626737, 1003, 1, 626801, 1003, 1, 626867, 1003, 1, 626887,
    3, 1, 627123, 1003, 1, 627167, 1003, 1, 627185, 1003, 1, 627207, 1003, 1, 627225, 1003, 1, 627269, 1
    , 1, 627437, 1003, 1, 627483, 1003, 1, 627539, 1003, 1, 627657, 1003, 1, 627707, 1003, 1, 627721, 10
    1, 627817, 1003, 1, 627897, 1003, 1, 627961, 1003, 1, 628015, 1003, 1, 628127, 1003, 1, 628145, 100
    1, 628197, 1003, 1, 628237, 1003, 1, 628289, 1003, 1, 628345, 1003, 1, 628391, 1003, 1, 628457, 1003
    , 628533, 1003, 1, 628585, 1003, 1, 628611, 1003, 1, 628683, 1003, 1, 628735, 1003, 1, 628753, 1003,
    628823, 1003, 1, 628849, 1003, 1, 628919, 1003, 1, 628999, 1003, 1, 629031, 1003, 1, 629079, 1003,
    629115, 1003, 1, 629129, 1003, 1, 629179, 1003, 1, 629251, 1003, 1, 629295, 1003, 1, 629319, 1003, 1
    29567, 1003, 1, 629647, 1003, 1, 629681, 1003, 1, 629723, 1003, 1, 629765, 1003, 1, 629783, 1003, 1,
    9879, 1003, 1, 629895, 1003, 1, 629945, 1003, 1, 629995, 1003, 1, 630037, 1003, 1, 630093, 1003, 1,
    173, 1003, 1, 630217, 1003, 1, 630295, 1003, 1, 630371, 1003, 1, 630409, 1003, 1, 630465, 1003, 1, 6
    65, 1003, 1, 630623, 1003, 1, 630695, 1003, 1, 630737, 1003, 1, 630755, 1003, 1, 630803, 1003, 1, 63
    7, 1003, 1, 630931, 1003, 1, 630959, 1003, 1, 631037, 1003, 1, 631113, 1003, 1, 631205, 1003, 1, 631
    , 1003, 1, 631343, 1003, 1, 631361, 1003, 1, 631375, 1003, 1, 631389, 1003, 1, 631453, 1003, 1, 6314
    1003, 1, 631647, 1003, 1, 631715, 1003, 1, 631747, 1003, 1, 631791, 1003, 1, 631853, 1003, 1, 63186
    1003, 1, 631955, 1003, 1, 631989, 1003, 1, 632003, 1003, 1, 632067, 1003, 1, 632125, 1003, 1, 632165
    003, 1, 632273, 1003, 1, 632309, 1003, 1, 632323, 1003, 1, 632361, 1003, 1, 632399, 1003, 1, 632429,
    03, 1, 632493, 1003, 1, 632507, 1003, 1, 632575, 1003, 1, 632635, 1003, 1, 632665, 1003, 1, 632709,
    3, 1, 632809, 1003, 1, 632833, 1003, 1, 632875, 1003, 1, 632909, 1003, 1, 632921, 1003, 1, 632967, 1
    , 1, 633001, 1003, 1, 633027, 1003, 1, 633091, 1003, 1, 633119, 1003, 1, 633159, 1003, 1, 633195, 10
    1, 633259, 1003, 1, 633287, 1003, 1, 633325, 1003, 1, 633361, 1003, 1, 633387, 1003, 1, 633443, 100
    1, 633539, 1003, 1, 633589, 1003, 1, 633619, 1003, 1, 633697, 1003, 1, 633717, 1003, 1, 633737, 1003
    , 633853, 1003, 1, 633895, 1003, 1, 633937, 1003, 1, 633967, 1003, 1, 634011, 1003, 1, 634049, 1003,
    634093, 1003, 1, 634115, 1003, 1, 634145, 1003, 1, 634177, 1003, 1, 634221, 1003, 1, 634281, 1003,
    634349, 1003, 1, 634379, 1003, 1, 634407, 1003, 1, 634471, 1003, 1, 634497, 1003, 1, 634529, 1003, 1
    34567, 1003, 1, 634597, 1003, 1, 634617, 1003, 1, 634653, 1003, 1, 634683, 1003, 1, 634695, 1003, 1,
    4741, 1003, 1, 634789, 1003, 1, 634817, 1003, 1, 634899, 1003, 1, 634969, 1003, 1, 635009, 1003, 1,
    105, 1003, 1, 635143, 1003, 1, 635183, 1003, 1, 635217, 1003, 1, 635229, 1003, 1, 635263, 1003, 1, 6
    01, 1003, 1, 635327, 1003, 1, 635349, 1003, 1, 635387, 1003, 1, 635399, 1003, 1, 635425, 1003, 1, 63
    7, 1003, 1, 635481, 1003, 1, 635509, 1003, 1, 635539, 1003, 1, 635615, 1003, 1, 635635, 1003, 1, 635
    , 1003, 1, 635699, 1003, 1, 635713, 1003, 1, 635751, 1003, 1, 635801, 1003, 1, 635841, 1003, 1, 6358
    1003, 1, 635931, 1003, 1, 635953, 1003, 1, 635965, 1003, 1, 636001, 1003, 1, 636041, 1003, 1, 63607
    1003, 1, 636217, 1003, 1, 636239, 1003, 1, 636281, 1003, 1, 636365, 1003, 1, 636377, 1003, 1, 636399
    003, 1, 636439, 1003, 1, 636465, 1003, 1, 636499, 1003, 1, 636537, 1003, 1, 636555, 1003, 1, 636589,
    03, 1, 636631, 1003, 1, 636649, 1003, 1, 636671, 1003, 1, 636731, 1003, 1, 636799, 1003, 1, 636819,
    3, 1, 636893, 1003, 1, 636909, 1003, 1, 636995, 1003, 1, 637029, 1003, 1, 637105, 1003, 1, 637163, 1
    , 1, 637193, 1003, 1, 637211, 1003, 1, 637273, 1003, 1, 637303, 1003, 1, 637319, 1003, 1, 637375, 10
    1, 637437, 1003, 1, 637451, 1003, 1, 637467, 1003, 1, 637535, 1003, 1, 637549, 1003, 1, 637575, 100
    1, 637625, 1003, 1, 637679, 1003, 1, 637713, 1003, 1, 637733, 1003, 1, 637769, 1003, 1, 637829, 1003
    , 637907, 1003, 1, 637945, 1003, 1, 637995, 1003, 1, 638029, 1003, 1, 638077, 1003, 1, 638119, 1003,
    638183, 1003, 1, 638217, 1003, 1, 638245, 1003, 1, 638275, 1003, 1, 638299, 1003, 1)
    1 row selected.
    SQL>

  • ATTENTION!! RECEIVED FRAUDULENT EMAIL PRETENDING TO BE APPLE!! I received an email informing of a purchase made on my account and telling me to change my password if did not purchase the item, which I had not. I have received valid emails from Apple

    ATTENTION!! RECEIVED FRAUDULENT EMAIL PRETENDING TO BE APPLE!! I received an email informing of a purchase made on my account and telling me to change my password if did not purchase the item, which I had not. I have received valid emails from Apple in the past asking letting me know a purchase had been made and asking if I had made the purchase, but the item listed has alway been a purchase that I had made. Since I had received similar emails in the past, I didn't think anything of it. Because I had not purchased the item listed, I immediately clicked on the link in order to change my password, which has been suggested in authentic emails i had received from Apple in the past. The site I was redirected to was exactly the same as the Apple site where you go to change your password. I entered my userID and password and it stated a verification email would be sent, if it was not sent click "resend email." When I did not receive an email, after about 10 seconds I went to the Apple site and followed the SAME EXACT step on pages that were IDENTICAL to the FRAUDULENT website I apparently had just been at. When I clicked "Send verification email," I DID receive an email within seconds, which had a special link that brought me to a page where I could change my password, which I did. I later compared a legitimate email to the FRAUDULENT email and I DID FIND A DIFFERENCE, BUT IT WAS ALMOST UNNOTICEABLE unless you were really, really looking.  I doubt it would be noticed by anyone if not comparing it closely to a real email. THE DIFFERENCE WAS AT THE BOTTOM OF THE AUTHENTIC EMAIL, THERE WERE THREE LINKS THAT COULD BE SELECTED - My Apple ID/Support/Privacy Policy. ON THE FRAUDULENT EMAIL THESE LINKS WERE NOT PRESENT!!! Just today I received an email from Apple stating my password had been changed today. I did not change my password today. When I changed after getting the fake email, I did not think about my SECURITY QUESTIONS!!! If you forget your Apple password, you are able to answer the security questions in place of your ID and you get a confirmation email. Even though I changed my password within a one minute when I did not get a confirmation email with a link to change my password right away and I went dierctly to Apple's site, apparently it was enough time to take all the information on my account - INCLUDING MY DEBIT CARD NUMBER, WHICH HAD BEEN REQUIRED WHEN I INITIALLY SET UP THE ACCOUNT!!! Today I received a call from VISA FRAUD PROTECTION asking about strange activity on my account and stating they were concerned and wanted to ensure I had used the account. I HAD NOT, AND ALL THE MONEY IN MY BANK ACCOUNT HAD BEEN STOLEN!!!!! I am writing this in hopes that many people will see it and NOT FALL VICTIM TO THIS SCAM. Please pay close attention to any emails you supposedly receive from Apple - If the links "MY APPLE ID/SUPPORT/PRIVACY POLICY," PLEASE DO NOT ASSUME IT IS AN AUTHENTIC EMAIL FROM APPLE. I suggest you immediately forward the email to apple, which I didn't do because this happened days ago. Nothing was taken from my money that was already on the Apple account, and nothing had been taken from my checking account. I guess I assumed there had been something wrong with the link in the email directing me to where I could change my password, plus I had gone to the valid Apple website and changed my password for real, and I guess I was thinking that changing my password would prevent someone from being able to acces my account info. PLEASE DO NOT FALL VICTIM TO THIS SCAM AS I DID!!!!

    No need for alarm. There are several folks a day posting like threads. Most folks know these phishing attempts for what they are and merely delete with prejudice.
    To the bottom line... if you wish - and I am sure Apple will take notice - you should FORWARD the email to [email protected] and delete.
    CCC

  • ADFS SSO and SharePoint 2013 on-premise Hybrid outbound search results from SharePoint Online - does it work?

    Hi, 
    I want to setup an outpund hybrid search for SharePoint 2013 on-premise to SharePoint Online.
    But I'm not shure if this works with ADFS SSO.
    Has somebody experience with this setup?
    Here's my guide which I'm going to use for this installation:
    Introduction
    In this post I'll show you how to get search results from your SharePoint Online in your SharePoint 2013 on-premise search center.
    Requirements
    User synchronisation ActiveDirectory to Office 365 with DirSync
    DirSync password sync or ADFS SSO
    SharePoint Online
    SharePoint 2013 on-premise
    Enterprise Search service
    SharePoint Online Management Shell
    Instructions
    All configuration will be done either in the Search Administration of the Central Administration or in the PowerShell console of your on-premise SharePoint 2013 server.
    Set up Sever to Server Trust
    Export certificates
    To create a server to server trust we need two certificates.
    [certificate name].pfx: In order to replace the STS certificate, the certificate is needed in Personal Information Exchange (PFX) format including the private key.
    [certificate name].cer: In order to set up a trust with Office 365 and Windows Azure ACS, the certificate is needed in CER Base64 format.
    First launch the Internet Information Services (IIS) Manager
    Select your SharePoint web server and double-click Server Certificates
    In the Actions pane, click Create Self-Signed Certificate
    Enter a name for the certificate and save it with OK
    To export the new certificate in the Pfx format select it and click Export in the Actions pane
    Fill the fields and click OK Export to: C:\[certificate
    name].pfx Password: [password]
    Also we need to export the certificate in the CER Base64 format. For that purpose make a right-click on the certificate select it and click on View...
    Click the Details tab and then click Copy to File
    On the Welcome to the Certificate Export Wizard page, click Next
    On the Export Private Key page, click Next
    On the Export File Format page, click Base-64 encoded X.509 (.CER), and then click Next.
    As file name enter C:\[certificate
    name].cer and then click Next
    Finish the export
    Import the new STS (SharePoint Token Service) certificate
    Let's update the certificate on the STS. Configure and run the PowerShell script below on your SharePoint server.
    if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
    # set the cerficates paths and password
    $PfxCertPath = "c:\[certificate name].pfx"
    $PfxCertPassword = "[password]"
    $X64CertPath = "c:\[certificate name].cer"
    # get the encrypted pfx certificate object
    $PfxCert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
    # import it
    Set-SPSecurityTokenServiceConfig -ImportSigningCertificate $PfxCert
    Type Yes when prompted with the following message.
    You are about to change the signing certificate for the Security Token Service. Changing the certificate to an invalid, inaccessible or non-existent certificate will cause your SharePoint installation to stop functioning. Refer
    to the following article for instructions on how to change this certificate: http://go.microsoft.com/fwlink/?LinkID=178475. Are you
    sure, you want to continue?
    Restart IIS so STS picks up the new certificate.
    & iisreset
    & net stop SPTimerV4
    & net start SPTimerV4
    Now validate the certificate replacement by running several PowerShell commands and compare their outputs.
    # set the cerficates paths and password
    $PfxCertPath = "c:\[certificate name].pfx"
    $PfxCertPassword = "[password]"
    # get the encrypted pfx certificate object
    New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
    # compare the output above with this output
    (Get-SPSecurityTokenServiceConfig).LocalLoginProvider.SigningCertificate
    [/code]
    ## Establish the server to server trust
    [code lang="ps"]
    if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
    Import-Module MSOnline
    Import-Module MSOnlineExtended
    # set the cerficates paths and password
    $PfxCertPath = "c:\[certificate name].pfx"
    $PfxCertPassword = "[password]"
    $X64CertPath = "c:\[certificate name].cer"
    # set the onpremise domain that you added to Office 365
    $SPCN = "sharepoint.domain.com"
    # your onpremise SharePoint site url
    $SPSite="http://sharepoint"
    # don't change this value
    $SPOAppID="00000003-0000-0ff1-ce00-000000000000"
    # get the encrypted pfx certificate object
    $PfxCert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
    # get the raw data
    $PfxCertBin = $PfxCert.GetRawCertData()
    # create a new certificate object
    $X64Cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2
    # import the base 64 encoded certificate
    $X64Cert.Import($X64CertPath)
    # get the raw data
    $X64CertBin = $X64Cert.GetRawCertData()
    # save base 64 string in variable
    $CredValue = [System.Convert]::ToBase64String($X64CertBin)
    # connect to office 3656
    Connect-MsolService
    # register the on-premise STS as service principal in Office 365
    # add a new service principal
    New-MsolServicePrincipalCredential -AppPrincipalId $SPOAppID -Type asymmetric -Usage Verify -Value $CredValue
    $MsolServicePrincipal = Get-MsolServicePrincipal -AppPrincipalId $SPOAppID
    $SPServicePrincipalNames = $MsolServicePrincipal.ServicePrincipalNames
    $SPServicePrincipalNames.Add("$SPOAppID/$SPCN")
    Set-MsolServicePrincipal -AppPrincipalId $SPOAppID -ServicePrincipalNames $SPServicePrincipalNames
    # get the online name identifier
    $MsolCompanyInformationID = (Get-MsolCompanyInformation).ObjectID
    $MsolServicePrincipalID = (Get-MsolServicePrincipal -ServicePrincipalName $SPOAppID).ObjectID
    $MsolNameIdentifier = "$MsolServicePrincipalID@$MsolCompanyInformationID"
    # establish the trust from on-premise with ACS (Azure Control Service)
    # add a new authenticatio realm
    $SPSite = Get-SPSite $SPSite
    $SPAppPrincipal = Register-SPAppPrincipal -site $SPSite.rootweb -nameIdentifier $MsolNameIdentifier -displayName "SharePoint Online"
    Set-SPAuthenticationRealm -realm $MsolServicePrincipalID
    # register the ACS application proxy and token issuer
    New-SPAzureAccessControlServiceApplicationProxy -Name "ACS" -MetadataServiceEndpointUri "https://accounts.accesscontrol.windows.net/metadata/json/1/" -DefaultProxyGroup
    New-SPTrustedSecurityTokenIssuer -MetadataEndpoint "https://accounts.accesscontrol.windows.net/metadata/json/1/" -IsTrustBroker -Name "ACS"
    Add a new result source
    To get search results from SharePoint Online we have to add a new result source. Run the following script in a PowerShell ISE session on your SharePoint 2013 on-premise server. Don't forget to update the settings region
    if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
    # region settings
    $RemoteSharePointUrl = "http://[example].sharepoint.com"
    $ResultSourceName = "SharePoint Online"
    $QueryTransform = "{searchTerms}"
    $Provier = "SharePoint-Remoteanbieter"
    # region settings end
    $SPEnterpriseSearchServiceApplication = Get-SPEnterpriseSearchServiceApplication
    $FederationManager = New-Object Microsoft.Office.Server.Search.Administration.Query.FederationManager($SPEnterpriseSearchServiceApplication)
    $SPEnterpriseSearchOwner = Get-SPEnterpriseSearchOwner -Level Ssa
    $ResultSource = $FederationManager.GetSourceByName($ResultSourceName, $SPEnterpriseSearchOwner)
    if(!$ResultSource){
    Write-Host "Result source does not exist. Creating..."
    $ResultSource = $FederationManager.CreateSource($SPEnterpriseSearchOwner)
    $ResultSource.Name = $ResultSourceName
    $ResultSource.ProviderId = $FederationManager.ListProviders()[$Provier].Id
    $ResultSource.ConnectionUrlTemplate = $RemoteSharePointUrl
    $ResultSource.CreateQueryTransform($QueryTransform)
    $ResultSource.Commit()
    Add a new query rule
    In the Search Administration click on Query Rules
    Select Local SharePoint as Result Source
    Click New Query Rule
    Enter a Rule name f.g. Search results from SharePoint Online
    Expand the Context section
    Under Query is performed on these sources click on Add Source
    Select your SharePoint Online result source
    In the Query Conditions section click on Remove Condition
    In the Actions section click on Add Result Block
    As title enter Results for "{subjectTerms}" from SharePoint Online
    In the Search this Source dropdown select your SharePoint Online result source
    Select 3 in the Items dropdown
    Expand the Settings section and select "More" link goes to the following URL
    In the box below enter this Url https://[example].sharepoint.com/search/pages/results.aspx?k={subjectTerms}
    Select This block is always shown above core results and click the OK button
    Save the new query rule

    Hi  Janik,
    According to your description, my understanding is that you want to display hybrid search results in SharePoint Server 2013.
    For achieving your demand, please have a look at the article:
    http://technet.microsoft.com/en-us/library/dn197173(v=office.15).aspx
    If you are using single sign-on (SSO) authentication, it is important to test hybrid Search functionality by using federated user accounts. Native Office 365 user accounts and Active Directory Domain Services
    (AD DS) accounts that are not federated are not recognized by both directory services. Therefore, they cannot authenticate using SSO, and cannot be granted permissions to resources in both deployments. For more information, see Accounts
    needed for hybrid configuration and testing.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to get save result from EXECUTE from a dynamic SQL query in another table?

    Hi everyone, 
    I have this query:
    declare @query varchar(max) = ''
    declare @par varchar(10)
    SELECT @par = col1 FROM Set
    declare @region varchar(50)
    SELECT @region = Region FROM Customer
    declare @key int
    SELECT @key = CustomerKey FROM Customer
    SET @query = 'SELECT CustomerKey FROM Customer where ' + @par + ' = '+ @key+ ' '
    EXECUTE (@query)
    With this query I want get col1 from SET and compare it to the column Region from Customer. I would like to get the matching CustomerKey for it.
    After execution it says commands are executed successfully. But I want to save the result from @query in another table. I looked it up and most people say to use sp_executesql. I tried a few constructions as sampled and I would always get this error: 
    Msg 214, Level 16, State 2, Procedure sp_executesql, Line 12
    Procedure expects parameter '@statement' of type 'ntext/nchar/nvarchar'.
    So the output should be a list of CustomerKeys in another table.
    How can I save the results from EXECUTE into a variable? Then I assume I can INSERT INTO - SELECT in another table. 
    Thanks

    CREATE TABLE Customer
    (CustomerKey INT , Name NVARCHAR(100));
    GO
    INSERT dbo.Customer
    VALUES ( 1, N'Sam' )
    GO
    DECLARE @query nvarchar(max) = ''
    declare @par varchar(10) = 'Name',
    @key varchar(10) = 'Sam'
    CREATE TABLE #temp ( CustomerKey INT );
    SET @query =
    insert #temp
    SELECT CustomerKey
    FROM Customer
    where ' + @par + ' = '''+ @key+ ''' '
    PRINT @query
    EXEC sp_executesql @query
    SELECT *
    FROM #temp
    DROP TABLE #temp;
    DROP TABLE dbo.Customer
    Cheers,
    Saeid Hasani
    Database Consultant
    Please feel free to contact me at [email protected] as well as on Twitter and Facebook.
    [My Writings on TechNet Wiki] [T-SQL Blog] [Curah!]
    [Twitter] [Facebook] [Email]

  • Populate report page based on results from stored procedure

    Is it possible to populate a report page in APEX based on the results from a stored procedure? If so, how do I do it? Do I write a stored procedure with a ref cursor as out parameter?

    I would use a stored procedure to return the values for a form but not for a report. For a
    report, I would use a pipelined function. See an example here:
    http://htmldb.oracle.com/pls/otn/f?p=31517:146
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • OBIEE Report - filter based on the result from another analysis

    Hi,
    I am using OBIEE 11g,
    I am trying to use a filter which is based on the result from another analysis. I have an analysis A which is as table 1, and I want to filter the respective columns of analysis B (Table B) based on analysis A to remove the duplicates for march 01, 02, and 07 , but it is not working properly. I took a max of start and end time when I created analysis A. Please let me know if I did anything wrong. thanks.
    Table 1
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    xxxxxxx
    2015-02-26
    9:00
    13:00
    00:00:00
    00:00:00
    2015-02-27
    12:00
    18:00
    00:00:00
    00:00:00
    2015-02-28
    8:00
    14:00
    00:00:00
    00:00:00
    2015-03-01
    14:00
    20:00
    14:00:00
    20:00:00
    2015-03-02
    16:00
    20:00
    16:00:00
    20:00:00
    2015-03-07
    14:06
    20:02
    14:00:00
    20:00:00
    2015-03-11
    16:00
    20:00
    16:00:00
    20:00:00
    2015-03-14
    8:00
    14:00
    00:00:00
    00:00:00
    2015-03-25
    14:00
    20:00
    16:00:00
    20:00:00
    Table 2
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    Hours
    xxxxxxx
    2015-02-26
    9:00
    13:00
    00:00:00
    00:00:00
    -3
    2015-02-27
    12:00
    18:00
    00:00:00
    00:00:00
    6
    2015-02-28
    8:00
    14:00
    00:00:00
    00:00:00
    6
    2015-03-01
    14:00
    20:00
    00:00:00
    00:00:00
    6
    14:00:00
    20:00:00
    6
    2015-03-02
    16:00
    20:00
    00:00:00
    00:00:00
    4
    16:00:00
    20:00:00
    4
    2015-03-07
    14:06
    20:02
    00:00:00
    00:00:00
    6
    14:00:00
    20:00:00
    6
    2015-03-11
    16:00
    20:00
    16:00:00
    20:00:00
    4
    2015-03-14
    8:00
    14:00
    00:00:00
    00:00:00
    6
    2015-03-25
    14:00
    20:00
    16:00:00
    20:00:00
    4

    Why avg here?
    What columns you want to show in the report?
    for a employee for given date if he have 2 rows then you may sum up hours right?
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    Hours

  • How to compare result from sql query with data writen in html input tag?

    how to compare result
    from sql query with data
    writen in html input tag?
    I need to compare
    user and password in html form
    with all user and password in database
    how to do this?
    or put the resulr from sql query
    in array
    please help me?

    Hi dejani
    first get the user name and password enter by the user
    using
    String sUsername=request.getParameter("name of the textfield");
    String sPassword=request.getParameter("name of the textfield");
    after executeQuery() statement
    int exist=0;
    while(rs.next())
    String sUserId= rs.getString("username");
    String sPass_wd= rs.getString("password");
    if(sUserId.equals(sUsername) && sPass_wd.equals(sPassword))
    exist=1;
    if(exist==1)
    out.println("user exist");
    else
    out.println("not exist");

Maybe you are looking for