Time field in Flow Trace

When you bring up the Flow Trace on a SOA composite instance, it displays information such as Instance ID, Type, Usage. One of the field is the Time field. Is processing start time or end time? The documentation says "... the time at which the component instance was processed", so it's not clear whether the timestamp when it starts processing or ends processing? Thanks.

Hi,
Create a Program line in smartform and write this code :
Concatenate sy-uzeit0(2) ':' sy-uzeit2(2) into l_time.
Pass l_time in smartform.
Best regards,
Prashant
Message was edited by: Prashant Patil

Similar Messages

  • Using regular expressions for validating time fields

    Similar to my problem with converting a big chunk of validation into smaller chunks of functions I am trying to use Regular Expressions to handle the validation of many, many time fields in a flexible working time sheet.
    I have a set of FormCalc scripts to calculate the various values for days, hours and the gain/loss of hours over a four week period. For these scripts to work the time format must be in HH:MM.
    Accessibility guidelines nix any use of message box pop ups so I wanted to get around this by having a hidden/visible field with warning text but can't get it to work.
    So far I have:
    var r = new RegExp(); // Create a new Regular Expression Object
    r.compile ("^[00-99]:\\] + [00-59]");
    var result = r.test(this.rawValue);
    if (result == true){
    true;
    form1.flow.page.parent.part2.part2body.errorMessage.presence = "visible";
    else (result == false){
    false;
    form1.flow.page.parent.part2.part2body.errorMessage.presence = "hidden";
    Any help would be appreciated!

    Date and time fields are tricky because you have to consider the formattedValue versus the rawValue. If I am going to use regular expressions to do validation I find it easier to make them text fields and ignore the time patterns (formattedValue). Something like this works (as far as my very brief testing goes) for 24 hour time where time format is HH:MM.
    // form1.page1.subform1.time_::exit - (JavaScript, client)
    var error = false;
    form1.page1.subform1.errorMsg.rawValue = "";
    if (!(this.isNull)) {
      var time_ = this.rawValue;
      if (time_.length != 5) {
        error = true;
      else {
        var regExp = /^([01]?[0-9]|2[0-3]):[0-5][0-9]$/;
        if (!(regExp.test(time_))) {
          error = true;
    if (error == true) {
      form1.page1.subform1.errorMsg.rawValue = "The time must be in the format HH:MM where HH is 00-23 and MM is 00-59.";
      form1.page1.subform1.errorMsg.presence = "visible";
    Steve

  • Cvp call flow trace

                       i am trying to disable call flow trace on CVP call server 8.0.1. when i use the commande setcalltrace off on voice browser administration i got a message saying :
    This command is now obsolete. CallFlow trace is now turned ON by default and can
    not be turned OFF.
    how can i disable call flow trace???

    it's on all the time. can't be turned off. the document could be just confusing.

  • Diff b/w Run time Analyizer(se30),Sql Trace (st05) and Performance Analyzie

    Can any one tell me the Diff b/w Run time Analyizer(se30),Sql Trace (st05) and Performance Analyzie(al21) ?

    Hi
    these all are doing t he same thing that is checking the program for better performance
    Tools for Performance Analysis
    Run time analysis transaction SE30
    SQL Trace transaction ST05
    Extended Program Check (SLIN)
    Code Inspector ( SCI)
    Run time analysis transaction SE30 :This transaction gives all the analysis of an ABAP program with respect to the database and the non-database processing. 
    SQL Trace transaction ST05: The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.
    The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on a particular database table of the ABAP program would be mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.
    The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.
    To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use.
    Extended Program Check
    This can be called in through transaction SE38 or through transaction SLIN. This indicates possible problems that may cause performance problems.
    Code Inspector (SCI)
    You can call the Code Inspector from the ABAP Editor (SE38), the Function Builder (SE37), the Class Builder (SE24), or as a separate transaction (SCI).
    The Code Inspector indicates possible problems. However, note that, especially with performance issues: There is no rule without exception. If a program passes an inspection, it does not necessarily mean that this program will have no performance problems.
    reward if usefull

  • Time field in alv list

    Hi all ,
    i want to display alv list with time field . if no data exists in that field its showing 00:00:00 , i have to show it blank. if i change time field as type c in my internal table its showing like this 121314, i need to display it 12:13:14 . if no data it should display balnk . can any one help me out to reslove this issue?

    Hi priya,
    do this:
    declare in your itab a field like sy-uzeit.
    as example.
    move sy-uzeit to itab-uzeit.
    In fieldcat do this:
        MOVE  'X'                        TO   WA_FIELDCAT-NO_ZERO.
    Hope it helps.
    regards, Dieter

  • How to show a time field in a form portlet

    Hi,
    I am not familiar with PL/SQL and I was wondering how I could show a time field on a form portlet.
    I have a date column in my database that stores the time and date together, but I do not know how to separate them into date and time fields. I also do not know how to concatenate them when a user inserts a new record, or how to query on a date alone.
    At present, the user has to type the date and time following this format mask hh:mi am DD/Mon/RR
    I also have a problem with one of my hidden id fields. I have set the default to a sequence.nextval (#qtc_app.seq_visitor.nextval) and then hidden it since
    it is irrelevant to my users. However, I can no longer use the query function since the sequence is always generating a new value. How would I only generate
    a new sequence no. when a user inserts a record??
    Thank you!
    cheers, Kim

    Hi,
    Each colunm in the form has a format mask associated with it. For the date column make the format mask like this DD-MON-RR HH.MI. This will show the date along with the hours and minutes.
    Thanks,
    Sharmila

  • F4 help for Time field in Webdynpro Screen

    Hi Experts,
    I'm using TIMS data type for my Time field. In ECC we will have F4 function for the same data element, but in Webdynpro screen, am not getting the F4 help.
    I got some information from SCN that I need to go for some custom search help. But with which reference to the table, am I want to create it.
    Please let me know, is there any other possible way to create F4 for time field for webdynpro.
    Even I tried to use some standard search help, but am getting an error as 'Sending of dynpro ' ' not possible. No window system type specified'.
    Expecting valuable information from you experts.
    With Regards,
    RAM.

    Hi RAM,
    For time field, there is no SAP delivered search help in WDA , so we need to go for freely programmed search help.
    Please refer the below link, in which Mr. Thomas, has provided the links for search help document you can follow and create new search help component
    and also nugget of the component which can be imported using ZSAPLINK program.
    search help for time
    Regards,
    Rama

  • No time field in an event added by pressing down a date in the month view of the calendar!, no time field in an event added by pressing down a date in the month view of the calendar!

    I have been trying to add time to an event i already added but the time field does not exist.
    this happens only when I add the event from the month view while I press a date. in no other senario does this happens.
    may be its a bug in the calendar.
    if I press the + sign then it's normal.
    any suggestions on how to fix this?

    there is edit button; however, my problem comes after that. if the event was added using the above method then there is still no way to change the time of the event in that date. if the event was added in any other way then I can change the time.
    and I just realized my iphone3gs with ios5.0.1 has the same exact bug.

  • How can I query on a time field??

    Hi All,
    I have a time field (base table field) in my form. I use a format mask of HH24:MI for that field.
    If i put in "%10:00" in that field and query, the query returns rows correctly. But I canot ask my user to put in a "%" each time he/she queries. I have to do it from the form.....
    How can I do this programatically..I mean how do I write it in pre-query?
    Thanks in advance...
    Sowmya.

    Hi,
    Thanks for your reply...
    Unfortunately I already tried that..
    The problem was to compare only the time portions . And as soon as the user put in say "12:00" in the time field, the system defaulted it to 01-SEP-2002 12:00:00 .And it compared this to the database value which is wrong...
    I solved the problem by creating a non-base table item and then writing code in pre-query using set_block_property etc...and it worked !!
    Thanks for you response once again..
    Sowmya.
    How about using the Set_block_property(Default_where) built in? check the online help.

  • ON PREM Outbound emails showing in dummy non-configured office 365 account message flow trace

    Dear Community,
    We have an on-prem exchange 2013 server and an office 365 account which is completly standalone.
    Whilst the office 365 account is standalone, it does feature the email address we use for on-prem (Ie. the domain name in office 365 account is not active for any office 365 services however has passed ownership verification thus it's just sitting there)
    We DON'T use EOP nor do we have any connector rules on our on-prem system that go to office 365 however when I randomly went into the 'Message Flow Trace' section in our office 365 account, there is recorded outbound mail which was sent from our On-prem
    server.
    The ONLY mail that was recorded in the message Trace in Office 365 was emails we had sent from On-prem to other office 365 accounts (For example btconnect.com, and some of our clients whom also use office 365) .
    How is office 365 picking up mail we've sent from our On-Prem server? Is there integration out of the box in exchange 2013 which auto interfaces with office 365? What on earth has happened here?
    I'm really confused.
    -------- For troubleshooting purposes...
    Headers in the email which arrived in my personal office 365 account from the ON-PREM SERVER
    Received: from AMSPR05MB065.eurprd05.prod.outlook.com (10.242.89.142) by
    DBXPR05MB079.eurprd05.prod.outlook.com (10.242.138.22) with Microsoft SMTP
    Server (TLS) id 15.1.93.16 via Mailbox Transport; Thu, 5 Mar 2015 16:16:31
    +0000
    Received: from DBXPR05CA0014.eurprd05.prod.outlook.com (10.255.178.14) by
    AMSPR05MB065.eurprd05.prod.outlook.com (10.242.89.142) with Microsoft SMTP
    Server (TLS) id 15.1.99.14; Thu, 5 Mar 2015 16:16:30 +0000
    Received: from DB3FFO11FD028.protection.gbl (2a01:111:f400:7e04::145) by
    DBXPR05CA0014.outlook.office365.com (2a01:111:e400:9434::14) with Microsoft
    SMTP Server (TLS) id 15.1.106.15 via Frontend Transport; Thu, 5 Mar 2015
    16:16:29 +0000
    Received: from emea01-am1-obe.outbound.protection.outlook.com (157.56.112.128)
    by DB3FFO11FD028.mail.protection.outlook.com (10.47.217.59) with Microsoft
    SMTP Server (TLS) id 15.1.99.6 via Frontend Transport; Thu, 5 Mar 2015
    16:16:28 +0000
    Received: from DB4PR04CA0010.eurprd04.prod.outlook.com (25.160.41.20) by
    DB3PR04MB236.eurprd04.prod.outlook.com (10.242.130.24) with Microsoft SMTP
    Server (TLS) id 15.1.99.14; Thu, 5 Mar 2015 16:16:26 +0000
    Received: from DB3FFO11FD040.protection.gbl (2a01:111:f400:7e04::184) by
    DB4PR04CA0010.outlook.office365.com (2a01:111:e400:9852::20) with Microsoft
    SMTP Server (TLS) id 15.1.106.15 via Frontend Transport; Thu, 5 Mar 2015
    16:16:26 +0000
    Received: from mail.localdomainhere (<IP OF OUR ON-PREM SERVER GOES HERE>) by
    DB3FFO11FD040.mail.protection.outlook.com (10.47.217.71) with Microsoft SMTP
    Server (TLS) id 15.1.99.6 via Frontend Transport; Thu, 5 Mar 2015 16:16:25
    +0000
    Received: from INT-EX-01.localdomainhere (192.168.142.20) by
    INT-EX-01.localdomainhere (192.168.142.20) with Microsoft SMTP Server (TLS) id
    15.0.913.22; Thu, 5 Mar 2015 16:15:55 +0000
    Received: from INT-EX-01.localdomainhere ([fe80::aca4:88cf:3eaf:57dc]) by
    INT-EX-01.localdomainhere ([fe80::aca4:88cf:3eaf:57dc%12]) with mapi id
    15.00.0913.011; Thu, 5 Mar 2015 16:15:55 +0000
    From: Jake Ives <[email protected]>
    To: Jake Ives <[email protected]>
    Subject: Test01
    Thread-Topic: Test01
    Thread-Index: AdBXX6dyI5u99OGoSKmXroKKyMA3Tg==
    Date: Thu, 5 Mar 2015 16:15:54 +0000
    Message-ID: <[email protected]>
    Accept-Language: en-US, en-GB
    Content-Language: en-US
    X-MS-Has-Attach: yes
    X-MS-TNEF-Correlator:
    x-originating-ip: [192.168.142.73]
    Content-Type: multipart/related;
                boundary="_004_081f834d85b7436193fa887613b9dac7INTEX01localdomainhere_";
                type="multipart/alternative"
    MIME-Version: 1.0
    Return-Path:
    [email protected]
    X-EOPAttributedMessage: 1
    Received-SPF: Pass (protection.outlook.com: domain of domain.com
    designates <IP OF ONPREM SERVER HERE> as permitted sender)
    receiver=protection.outlook.com; client-ip=<IP OF OUR ON-PREM SERVER GOES HERE;
    helo=mail.domain.co.uk;
    Authentication-Results: spf=pass (sender IP is <IP OF OUR ON-PREM SERVER GOES HERE>)
    [email protected]; ives.gb.net; dkim=none (message not
    signed) header.d=none;ives.gb.net; dkim=none (message not signed)
    header.d=none;ives.gb.net; dmarc=none action=none header.from=domain.com;
    X-Forefront-Antispam-Report-Untrusted: CIP:<IP OF ON PREM SERVER HERE>;CTRY:GB;IPV:NLI;EFV:NLI;BMV:0;SFV:NSPM;SFS:(10019020)(438002)(189002)(199003)(71364002)(87936001)(2656002)(98436002)(92726002)(102836002)(108616004)(19625215002)(19618635001)(512954002)(92566002)(229853001)(107886001)(66926002)(18206015028)(84326002)(16796002)(19300405004)(450100001)(19580395003)(2900100001)(77156002)(15974865002)(62966003)(5250100002)(5310100001)(99936001)(15395725005)(16236675004)(110136001)(17760045003)(67866002)(86362001)(19617315012)(19627595001)(15975445007)(19580405001)(54356999)(22756005)(50986999)(6806004)(46102003)(74482002)(106466001)(33646002)(7099025)(24736002)(15669805003);DIR:OUT;SFP:1102;SCL:1;SRVR:DB3PR04MB236;H:mail.domain.co.uk;FPR:;SPF:Pass;MLV:ovrnspm;MX:1;A:1;PTR:mail.domain.co.uk;LANG:en;
    X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB3PR04MB236;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AMSPR05MB065;
    X-Microsoft-Antispam-PRVS: <[email protected]outlook.com>
    X-Exchange-Antispam-Report-Test: UriScan:;UriScan:;
    X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5001007)(5005006);SRVR:DB3PR04MB236;BCL:0;PCL:0;RULEID:;SRVR:DB3PR04MB236;BCL:0;PCL:0;RULEID:(601004);SRVR:AMSPR05MB065;BCL:0;PCL:0;RULEID:;SRVR:AMSPR05MB065;
    X-Forefront-PRVS: 05066DEDBB
    X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR04MB236
    X-MS-Exchange-Organization-MessageDirectionality: Incoming
    Received-SPF: Fail (protection.outlook.com: domain of domain.com does not
    designate 157.56.112.128 as permitted sender)
    receiver=protection.outlook.com; client-ip=157.56.112.128;
    helo=emea01-am1-obe.outbound.protection.outlook.com;
    Authentication-Results: spf=fail (sender IP is 157.56.112.128)
    [email protected];
    X-Forefront-Antispam-Report: CIP:157.56.112.128;CTRY:US;IPV:NLI;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(339900001)(489007)(189002)(71364002)(199003)(102836002)(92726002)(15975445007)(92566002)(17760045003)(62966003)(106466001)(15395725005)(16236675004)(77156002)(110136001)(107886001)(450100001)(5310100001)(229853001)(22756005)(98436002)(2900100001)(5250100002)(19625215002)(66926002)(99936001)(33646002)(15974865002)(19617315012)(19627595001)(67866002)(54356999)(108616004)(19300405004)(19618635001)(87836001)(2656002)(18206015028)(85426001)(512954002)(86362001)(6806004)(46102003)(74482002)(84326002)(19580395003)(50986999)(19580405001)(7099025)(24736002)(15669805003);DIR:INB;SFP:;SCL:1;SRVR:AMSPR05MB065;H:emea01-am1-obe.outbound.protection.outlook.com;FPR:;SPF:Fail;MLV:ovrnspm;MX:1;A:1;PTR:mail-am1on0128.outbound.protection.outlook.com;LANG:en;
    X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB3FFO11FD028.protection.gbl
    X-MS-Exchange-Transport-CrossTenantHeadersPromoted: DB3FFO11FD028.protection.gbl
    X-MS-Exchange-Organization-Network-Message-Id: 927151e3-02c4-4c46-5539-08d22576df82
    X-MS-Exchange-Organization-AVStamp-Service: 1.0
    X-MS-Exchange-Organization-SCL: 1
    X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2015 16:16:28.9728
    (UTC)
    X-MS-Exchange-CrossTenant-Id: cd52bfe2-da2e-446d-b8f1-e78db861d489
    X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bfa61dad-1543-4f3b-8075-03498e9f4fcb;Ip=[IP OF ON PREM SERVER HERE]
    X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
    X-MS-Exchange-Transport-CrossTenantHeadersStamped: AMSPR05MB065
    X-MS-Exchange-Organization-AuthSource: DB3FFO11FD028.protection.gbl
    X-MS-Exchange-Organization-AuthAs: Anonymous
    X-MS-Exchange-Transport-EndToEndLatency: 00:00:03.5565465

    MX records are not set to office 365, the MX is pointing directly to the on-prem exchange server. 
    The problem is; Office 365 Mail Delivery Trace is displaying mail we've sent via our On-Prem server - We are having trouble understanding why this is happening.
    To clarify, the message tracer in Office 365 is displaying outbound mail (Which for example, a user has sent out from their outlook) BUT only outbound mail which is being sent to other office 365 users.
    We do not have mail on office 365, only on-premise hence the reason why we are flabbergasted to why the mail we are sending out would be displaying on the office 365 message tracer.
    To further clarify, we are only seeing addresses in the office 365 message trace which belong to recipients whom use office 365 for their mail.
    Hope this makes sense.
    getting messy O365 users to another O365 you mean?
    You mentioned if they send email using their MS Outlook Client.
    I'd suggest you to send another email to the same recipient but using OWA
    There may have been an office 365 connector in Outlook.
    Where Technology Meets Talent

  • Problem with Date/Time field in Adobe LiveCycle

    I am trying to create a form that has a check-in and check-out dates. I want the user to enter those dates and then have the form automatically compute how many nights the user intends on staying.
    I have two fields, CHECKIN and CHECKOUT, set up as text fields. My third field, NIGHTS, has the following script to do the calculation:
    var strStart = CHECKIN.rawValue
    var strEnd = CHECKOUT.rawValue
    if(strStart.length && strEnd.length)
    var dateStart = util.scand("mmm d, yyyy",strStart);
    var dateEnd = util.scand("mmm d, yyyy",strEnd);
    var diff = dateEnd.getTime() - dateStart.getTime();
    var oneDay = 24 * 60 * 60 * 1000;
    var days = Math.floor(diff/oneDay);
    this.rawValue = days;
    else
    this.rawValue = 0;
    NOW...this is fine if the user inputs a four-digit year. If not, it's trouble. SO, what I want to do is change the CHECKIN and CHECKOUT fields to the date/time field so they select the date off the pop-up calendar.
    When I make the changes, I can't get the script to work for the NIGHTS field.
    CAN ANYONE HELP THIS NEWBIE?

    Make sure the format of the date strings provided by the calendar is what you are expecting. Or use the "formattedValue" for the input strings.

  • Distinct count on date/time field...

    Hi,
    I am trying to a distinct count on this formula that takes a date/time field and converts it to a date in order to get a distinct count of dates.  However, it's not working... say, if I have two dates are the same (the times may be different), it's counted twice.  Any suggestions?  I tried to convert this to a string thinking the evaluation may change, but no dice.  Thanks!!
    if not isnull({AVAILABILITY.PAT_ENC_CSN_ID}) then
        cstr(cdate({AVAILABILITY.SLOT_BEGIN_TIME}))
    else

    You can use the following formula...
    DateAdd("d", DateDiff("d", #1/1/1900#, {TableName.YourDateTimeField}), #1/1/1900#)
    This will set each date value to 12:00 am of it's respective day...
    So 8/16/2010   3:01:20PM would become 8/16/2010  12:00:00AM
    Now you can group on this formula field and then simply do a count on the date at the appropriate group level.
    HTH,
    Jason

  • How to get calendar icon to show again when entering data in date/time field.

    Hello,
    First time posting on this site.  I am fairly new to using SQL Server Express.  I created a split-database in MS Access 2010 and have successfully migrated over the backend database to SQL Server Express.  When I was using the FE forms in
    Access, I use to be able to see a calendar icon where I could select the month and day in the date/time field.  
    I compiled the FE forms to binary format .accde so that I could distribute this to the users and they couldn't change my forms. After migrating the tables to SQL Server express for the BE, I am no longer able to see the calendar icon when I try to enter
    in data in the date/time field.   Same for the original .accdb file before the binary conversion to .accde.  
    How do I get the calendar icon back to show on the form when a user is entering in data?  I appreciate any assistance I can get. Thank you!
    Thai

    Hello Cheer,
    I don't believe the table changed when migrating from Access.  I had two tables before the migration, one was for the SwitchBoard Manager and the other table was for the database table.  I used the Switchboard to navigate to different menus, such
    as the Main Form, Power Form, Server Form, etc.  Let me know if I can provide any other information to help you narrow this down for me.   
    Thank you for your assistance. 
    Thai

  • After Add Instance occurs the date/time field data is removed.

    I have multiple dropdown options that adds or deletes a row from a table.  Trouble is after I have placed a date or time in fields elsewhere on the form, that data is deleted after I make a selection on the dropdown.  The dropdown has the options of In, Out, N/A, or N/O and when Out is selected the AddInstance is invoked adding a row to the table and when any of the others are selected the RemoveInstance removes the row.  This part works fine but the values in the date and time fields are removed as a result of the selection.  I have multiple dropdowns, and the code below will keep my data in the fields on the first selection but on subsequent selections the data for the data/time fileds are removed.  Any recommendataions on what is going on and how I can stop this?
    My codes appear below.
      if (this.rawValue == 1)  // If the value selected is "Out" of compliance then ...
         School.ItemListPage.ObsRec._Rows.insertInstance(0);  // Add an item to the table
         xfa.form.recalculate(false);
      else  // If the value selected is "In", "N/A", or "N/O" then ...
         School.ItemListPage.ObsRec._Rows.removeInstance(0);  // Remove this item from the table
      endif

    Hi,
    TRUNC( ) Function retrieves date part of DATE (date and time) datatype.
    Regards,
    Sailaja

  • How not to insert a Date/Time field on INSERT

    hi all, i have a MSAccess table which has a lot of fields one of which is a date/time field......
    when i run the SQL code to insert values into this table i want the date/time field to be left blank.....
    i have tried to insert a blank space using '' but it shows the error
    SQLException: [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
    does anyone know how i can overcome this problem.....?

    that worked thanks a lot,
    the values are inserted into the database now but i still get an error
    SQLException: [Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.
    but the values are inserted....a bit confused about that any reason why that would happen?

Maybe you are looking for