Access migration - error handling field default value "=Now()"

Hi All,
I'm doing an Access - Oracle Migration.
I've exported the structure, captured the model and generated the SQL.
When I run the SQL I get:
SQL Error: ORA-00907: missing right parenthesis
00907. 00000 - "missing right parenthesis"
It looks like it's related to a default value in Access of =Now()
The access table has a field "Creation Date" type Date/Time and default Value =Now()
The generated SQL looks like this:
CREATE TABLE Offer_Detail (
HotDealID NUMBER(11,0) NOT NULL,
Creation_Date DATE DEFAULT 0w(),
Which causes the error message.
If I change this to:
CREATE TABLE Offer_Detail (
HotDealID NUMBER(11,0) NOT NULL,
Creation_Date DATE DEFAULT SYSDATE,
it succeeds.
I'm using SQL Developer 1.2.1.3213 with extension "Oracle Migration Workbench - MS Access" version 10.2.0.32.13
Thanks,
Greg H

Hi Greg,
Thanks for this feedback,
I will add this testcase to an existing bug related to this issue
6453282 : DEFAULT VALUE CONVERT INCORRECTLY
We hope to have this resolved in our next release.
Regards,
Dermot.

Similar Messages

  • Error handling for RGB values

    Hi
    I am having problems doing error handling for RGB values. I have a Java applet with 3 JTextFields whose values are parsed as int variables and stored as ints. If a value is entered that is not a value between 0 and 255 is entered, the appropriate field/s should be set to an empty string.
    The problem I am having is that I am using try/catch block to try to parse as an int but then it breaks out of execution completely.
    I hope this makes sense and that someone can help.
    Thanks!

    this is because your code is probably inside one giant try catch block, what you need to do is have small ones in places where you do the parsing.
    post code and i can show you how to modify it

  • Javascript to access a field default value?

    Hi,
    I'm working on a 'enter' event for text fields such that if the field contents are still on their default value, it will immediate (hence the enter) clear out, but if the contents have already been changed it will let the user simply edit their changes.
    For example, I'm using the caption as the To: line on a form, then the default value of the text field says "type name here". I'd like to compare the field contents to the default upon 'enter' of the field.
    Got this far:
    if (this.rawValue == {default}) {
    this.rawValue = "";}
    and it aint working. the {default} is the only thing I can find in the scripting reference that comes close. Maybe there's a way with xfa.event.reenter??
    thanks.

    Paul, maybe I'm misreading the docs on event.reenter, but it looked like it was a flag about whether or not the user had ever entered that field before. Which is exactly what I'm hoping to test.
    I have about 100 of these fields, so am hoping to do a simple if test, with 'relative' statements. Testing against the known default value certainly would work, but I have to write the 100 custom tests, rather than copy/paste the same thing into each field...
    Do you know a way to access the value stored in the Default field in the properties tab?
    thanks,
    -jamie

  • Need help formatting text field default value

    Hello,
    I've received a customer request to put default text into the Value section of a text field. They're requesting that the default text include line breaks, bullets, etc. I added a Text Field object and added the default text to the Object tab > Value tab Default field but can't figure out how to add line breaks, etc.
    Thanks in advance,
    Saskia

    Hi,
    this is possible but not doable with the UI of Designer.
    The workaround is as follows:
    1. Create a text, enter your default text with all the formattings you need (text color, bold text, line breaks etc.)
    2. Create a text field and enter any word as default value. Let's say "Default".
    3. Select the text and the switch to the XML Source view.
    There you will find all the formatted text between the <value> tags such as:
    <value>
         <exData contentType="text/html">
              <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"><p style="letter-spacing:0in">This is<span style="xfa-spacerun:yes"> </span></p><p style="color:#ff0000;letter-spacing:0in">default Text</p><p style="letter-spacing:0in"><span style="xfa-spacerun:yes"> </span>• with<span style="xfa-spacerun:yes"> </span><span style="font-weight:bold">RichText</span> formatting.</p></body>
         </exData>
    </value>
    4. Select the whole code between the <value> tags and copy it to the clipboard (ctrl + c).
    5. Go to the Design View, select the text field, go back to the XML Source view.
    6. There you'll also find the value <tags> and your default value you entered before.
    <value>
         <text>Default</text>
    </value>
    7. Select this code section and paste the value copied before to the clipboard by pressing ctrl + v.
    8. That's it. When you now go back to the Design View your text field shows a formatted RichText as defaul text.

  • CUP 5.3 SP8 - Custom Fields - Default Value?

    Hello,
    Can I set a Default Value for a Custom Field? For example, we have the Custom Field for requets called "Country." Can I default this so when a user logs in to create a request, it defaults to "North America." ?
    I'm looking through the Config Guide and not seeing anything on this. Custom Fields don't show up in End User Personalization either...
    Thanks!
    Jes Behrens

    Jes,
        Harleen is correct. This is no available in AC (CUP) right now. Hopefully, SAP fixes this soon. Can you open a message with SAP and see if they are going to fix this or not?
    Regards,
    Alpesh

  • Auto Populating Text Fields Default Values

    I am using Acrobat X Pro.  I have a multiple page form and would like the "Legal Address" field entry/value after typed to auto-populate, or be the default value, of my "Mailing Address" field further down the form.  I can accomplish this if the fields are the same name, ***HOWEVER*** I just want it to pre-populate it and if the "Mailing Address" differs from "Legal Address" be able to type over that (Mailing Address) on the form entry without also changing the Legal Address.  If the fields are named the same, both will always be the same / updated together.
    Any help - or examples!

    Hi Michael,
    Thanks that was helpful and worked although I now appear to have another problem.
    When I enter data into current title (eg Manager, Finance) data in proposed title field (eg Manager Finance) is auto populated as expected - correct
    When I change the data that was auto populated in the proposed title field (eg Manager, FInance) to the new title (eg Director, Finance) is keeps the new tltle - correct
    When I select something from another field eg cost code, the data I manually keyed into the proposed title reverts back to what was entered into the current title (eg Manager FInance)
    Is there a way of committing the data that is entered automatically or manually so it remains in the field?
    Regards,
    Michael

  • Set field default value

    Hallo everybody!
    at the moment I need to set a few default values into WebUI input fields. For example I want to determine the Account which is linked to a certain Person and fill the acount data into an input field when a new customer visit report is created. Whenever a new report is created, this account info input field shall be prefilled with the determined data.
    My question now: how can I prefill input fields with default values in WebUI?
    Thanks for your help and best regards!
    Markus

    This has been discussed several times. take a look at the folowing links:
    setting default value in WEB UI
    or
    BADI_CRM_BP_UIU_DEFAULTS with method GET_DEFAULT_VALUES
    regards.

  • Access Migration Error Creating Migration Project - string literal too long

    I get this error when attempting to create an MS Access Migration Project:
    ORA-20001: GET_BLOCK Error. ORA-20001: GET_STMT error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 8, column 8: PLS-00172: string literal too long &amp;lt;pre&amp;gt;begin &amp;amp;lt;br&amp;amp;gt;declare &amp;amp;lt;br&amp;amp;gt; p varchar(32767) := null; &amp;amp;lt;br&amp;amp;gt; l_clob clob; &amp;amp;lt;br&amp;amp;gt;begin &amp;amp;lt;br&amp;amp;gt; dbms_lob.createtemporary(l_clob,FALSE, dbms_lob.session); &amp;amp;lt;br&amp;amp;gt; dbms_lob.open(l_clob,dbms_lob.lob_
    I suspected the 'string literal too long' was due to a very long code section in the Exporter .sql file -
    So I edited out that code except - essentially by cutting the macro code within the quotes, cutting down that code module.
    Same error.
    Any suggestions on what else may be causing this?
    Thanks - Karen

    I found it - two other big long ugly macros that I had to cut out as well. Then the migration project created just fine. Thanks for the moral support :)

  • Error giving a default value to a date column in the attribute settings.

    When im giving a default value to a date column in the attribute settings i get this error when im running my jsp page (bc4j web application):
    Error Message: JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value: 31-dic-2099
    How can i fix that?
    Thank u

    The default date format for oracle.sql.DATE which oracle.jbo.domain.Date extends is "YYYY-MM-DD"

  • Parameter field default values not being set in BO Infoview

    For a report, I have three numeric input parameter fields with a default value of -1.  When the report is processed in the Crystal Reports development environment, the parameter fields are all displayed with the default values. 
    When copied and then processed in BO Infoview, the three parameters come up with a value of "Empty".  In order for the report to process correctly, these "Empty" fields need to be individually called, a numeric value entered and then the report "Scheduled".  Does anyone know of any way to force or get Infoview to use the pre-defined default values of these fields when running with Infoview? 
    Thanks

    In the CMC, you have to config the report object's parameter.
    It's under the Process tab of Object.
    Bryan Tsou@Taiwan

  • Enterprise Project Fields Default values do not Register on PDP Pages for mandatory fields

    Is it normal for "mandatory" eneterprise project field to come up as blank in a PDP page, when I have defined it to default value to a specific value in a list?
    I've inserted such fields using the project field web part within the PWA Category.  They display with the red astericks at the end of their name, but the field is blank.  The default value does not appear in the field.  However, if I select
    the button next to their name and display the the list, the default value is shown in bold as if it is the one selected.  I
    I am not using any workflows in the EPT that is responsible for displaying such pages.  Aslo, this is not a problem when the fields are not set to mandatory; they display the default value.
    the problem with this is that you have to manually select the default (or some value form the list) in order to check in the project. 
    Would you agree that this is a bug in 2010?
    /Spiro Theopoulos

    I tried anothe approach using javascript. I documented
    here...
    Juan Pablo.
    surpoint.blogspot.com
    jpussacq.me
    @jpussacq

  • Error in Displaying Default Value calculacted by Service

    Hi Experts,
      In my VC Model i had a Drop down on Week No with Static List of week no from 1-52.
      Which is working fine,User selects the Week No he wants and that week no is sent an a variable to query....
      And my requirment is to display Current Week no as a Default Value of the Week No drop down list.
      I defined a Data service in VC which is  based on Function Module in BI ...which give the current week no.
    When i included the Data Service to model...Its input is connected to Start and output is connected to Store.
    Now i connected out put of service which is connected to Store to In put of variable form and Week no dropdown button in default Value formula i included the week no which is out put of service
    But when i executed the iview its not displaying current week (which is output) of service as a default value
    Please update where i was wrong
    Thanks

    Hi,
      I am using the same FM DATE_GET_WEEK
    Could you please explain me in detail..
    Currently i had a Variable form with that connects to 2 diff queries.
    I had a user entry variable on Cal week/year on those 2 queries.
    My requirment is to create a drop down on week...so the user selects the desired week (from the static list) and that week is concatenated with current year (from now()) and go to variable of query.
    it is working correctly........
    Now for this week drop down the default value should be current week no.
    Please explain on how to do this
    I used service DATE_GET_WEEK .....
    How do you connnect the input and output ports of this service
    Thanks

  • Runtime error with column default value settings

    I have one SP2010 (enterprise) document library which gives me a runtime error if I click on "column default value settings" in the settings. Other document libraries' column default value settings are working fine. I use managed metadata
    and created libraries from templates. I deleted all custom columns from the site, only title is left over (content types are document and link to a document) but runtime error still shows up. How can I fix this?
    Server Error in '/' Application.
    Description:
    An application error occurred on the server. The current custom error
    settings for this application prevent the details of the application error from
    being viewed remotely (for security reasons). It could, however, be viewed by
    browsers running on the local server machine.
    Details: To enable
    the details of this specific error message to be viewable on remote machines,
    please create a <customErrors> tag within a "web.config" configuration
    file located in the root directory of the current web application. This
    <customErrors> tag should then have its "mode" attribute set to
    "Off".
    <!-- Web.Config Configuration File -->
    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>
    Notes:
    The current error page you are seeing can be replaced by a custom error page by
    modifying the "defaultRedirect" attribute of the application's
    <customErrors> configuration tag to point to a custom error page
    URL.
    <!-- Web.Config Configuration File -->
    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>
    Runtime Error

    Thanks for your suggestions. I found the log but don't know what it means. Can anybody help?
    System.ArgumentOutOfRangeException:   startIndex cannot be larger than length of string. Parameter name: startIndex  
      at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length,   Boolean fAlwaysCopy)
      at   Microsoft.Office.DocumentManagement.MetadataNavigation.PerLocationViewManager.HumanReadablePath(SPList   list, Guid fieldId, String uniqueNodeId, String pathDelimiter)
      at   Microsoft.Office.Server.WebControls.MetaDataNavTree.TreeViewDataBound(Object   sender, EventArgs e)
      at System.Web.UI.WebControls.BaseDataBoundControl.OnDataBound(EventArgs e)
      at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()
      at   Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationContext.OnTreeViewLoad(SPTreeView   spTreeView)
      at Microsoft.Office.Server.WebControls.MetaDataNavTree.PerLocationPageLoad()
      at   Microsoft.Office.DocumentManagement.Pages.ColumnDefaultsPage.OnLoad(EventArgs   e)
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Page.ProcessRequestMain(Boolean   includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

  • Access 2010 error handling

    On a data input form I have a field "Job Number". I have a validation rule, >1000 and <9999. I have the form on-error set to the following code. 
    If DataErr = 3022 Then
    MsgBox "Duplicate Job Number"
    Response = acDataErrContinue
    End If
    The trap works and after the Ok in the message box another system message appears as follows: The value violates the validation rules for the field or form. How do I eliminate this system message?

    Are you sure that error number is correct? When I tested I got 3317. There might even be more than one error number raised depending on what the validation rule is. To test, put a msgbox before the If block to show you the actual number.
    Bill Mosca
    www.thatlldoit.com
    http://tech.groups.yahoo.com/group/MS_Access_Professionals

  • Access migration error 3011

    At the end of the migration process, when the modify access
    database step, the following error ocurs:
    An error ocurred (3011)which is untrapped and probably unknown to
    the aplication. Please report this to Oracle Support.
    Any help will be apreciated
    Thanks in advance,
    Josep Maria MAcip
    null

    Hi Josep !
    I need to know the following information
    what version of the wizard are you using ?
    on what platform are you running the wizard ?
    Also, please read the online help on how to set Debug mode on.
    This will cause a Debug.log file to be generated and reading it's
    contents may help you in determining the exact problem.
    When the wizard is working on the 'modify ms access' part of the
    migration it uses the Oracle odbc driver installed to do it's
    work. There have been a number of problems with the Oracle odbc
    driver shipped with the wizard.
    If you are using the 8.0.4 version of the wizard try installing
    any ODBC driver version equal to or greater than v8.0.5.4.0 and
    rerun the migration.
    If you are using the 8.1.5 version of the wizard try installing
    any ODBC driver version equal to or greater than v8.1.5.3.0 and
    rerun the migration.
    Hope this helps
    - Garry
    Josep Maria Macip (guest) wrote:
    : At the end of the migration process, when the modify access
    : database step, the following error ocurs:
    : An error ocurred (3011)which is untrapped and probably unknown
    to
    : the aplication. Please report this to Oracle Support.
    : Any help will be apreciated
    : Thanks in advance,
    : Josep Maria MAcip
    null

Maybe you are looking for

  • Error while starting CE1 DB instance on CE Trial 7.2

    Installed CE 7.2 Evaluation Trial but the MAXDB Instance CE1 is not coming up. I have probably a related error coming in my SAPMMC tool with exit error 503. Tried starting DBMCLI with the cmd dbmcli -d CE1 -u superdba,intel123 db_online but i get an

  • To improve the performance of the extractor

    Hi Team, Currently there is one dataload which is taking 48hours to extract data from R/3 System to BI. It is based on infoset query. The extractor uses the standard LDB : PNP, The database driver for this LDB is SAPDBPNP. The extractor is based on P

  • Connecting MBP to blu ray player

    I am just wondering if there is any way to connect an external blu ray player to mac to rip blu ray discs? If yes, which blu ray player? The BD player I have from Pioneer BDP-09 can be connected via usb? I don't need to write blu ray discs but want t

  • Screen brightness to 1 bar after wakeup after sleep!!

    Has anyone experienced that when you wake your macbook up after sleep the screen brightness is set to 1 bar... dont know if this is actually a problem or if it can be set in system pref.. thanks in advance for your replies...

  • Sign in required and Adobe Software License Agreement screens appear

    Hi Everytime I launch the Adove CC Software (Indesign, Photoshop, Illustrator....) I have to sign in and then the Adobe Software License Agreement screen appears. Are these two screens supposed to appear everytime I launch the software (it didn't use