Date data type in Forms5.0

I have a date field in my Form formatted as mm/dd/yyyy. Conditionally, the field needs to use '*' to represent a message after query. Also the field is updateable. Is there any way to set '*' into that field?
Or any suggestions?
Thanks

you can set format_mask of text item dynamically at runtime.. but i don't know whether it will be useful for your application or not..
ex:
Set_item_property('text_date_item',format_mask,'***');
Suresh

Similar Messages

  • Can i see the column DATA(BLOB type) in PM_OBJECTS of DCM schema

    we installed DCM managed clustering .it is Database repository type.
    i am trying to see the column DATA(BLOB type) in PM_OBJECTS of DCM schema .
    I wrote a program in java to read blob data type and write it into a temporary file.
    when i open temporary files all the data in junk format.
    can i see the real data of thatcolumn.Is it possible?
    first of all for what purpose DCM shema will be used?

    Hi,
    There is no option to show the comments on the diagram.
    We plan to add such feature in the next version.
    Ivan

  • Power View in SharePoint Server - The data extension type for a data source is not valid

    Hi All,
    All of a sudden I am getting following error when trying to create Power View report using shared report data source (no error testing the connection):
    "The current action cannot be completed. The data extension type for a data source
    'http://dev/Shared Ducuments/Sales.rsds' is not valid for this operation"
    I already have a data source (I had created it after creating my site collection a week ago) and when I use this source to create Power View report then there is no error but I am getting above error when I create another similar data source and use it to create
    a Power View report.
    Please help me to resolve the error.
    Thanks

    I am going nuts! I had selected 'Analysis Services' instead of 'Microsoft BI Semantic Model for Power View'

  • SQL Developer is not exporting the time part of date data types.

    I need to export data from a table using sql developer. The column is a date data type but when I export the data to a csv, xls or an sql file with insert statements, sql developer only includes the date part without the time.
    Please kindly advise.
    Thanks,
    Erika

    What is your 4 digits Oracle version ?
    What is your SQL Developer version ?
    With Oracle XE and a schema named TEST I have:
    select * from t
    X                        
    04-FÉVR.-2010 21:24:40  If I use Tools/Database Export with all default settings with SQL Developer 2.1.0.63 I get following SQL file:
    --  Fichier créé - jeudi-février-04-2010  
    --  DDL for Table T
      CREATE TABLE "T"
       (     "X" DATE
    --   DATA FOR TABLE T
    --   FILTER = none used
    REM INSERTING into T
    Insert into T (X) values (to_timestamp('04/02/10 21:24:40,000000000','DD/MM/RR HH24:MI:SS,FF'));
    --   END DATA FOR TABLE T
    ---------------------------------------------------Edited by: P. Forstmann on 4 févr. 2010 21:26

  • How to add a mm-dd-yyyy date field type in a Planning Data Form

    Hi John,
    pls, I have one question regarding the possibility of adding a date field type for example 03-03-2009 in a cell of Planning Data Form application.
    for example, I created:
    - 2 members in Period dimension: StartProject and EndProject and I need to enter and track date for these fields;
    - one Account member called Project;
    - and a simple form with these collumns and row;
    Trying different settings for my members - seems that I cannot input date in the cell and rcvd errror: "you have entered invalid value".
    Pls, can you confirm me if it's possible to enter date type in a form?
    If yes, what is the specific setup for the Account and Period properties: Data storage, Time Balance, Data type, Account type etc
    many thanks,
    Robert

    Many thanks John!!! that's it!!!
    I had to change it in Data Type evaluation Order because I'm using EPMA and it's working now!!
    Thanks again!!!
    Rgds,
    Robert

  • How to enter a Date data type ??

    i have created a table with a column Date data type
    when i insert value
    i put '17-DEC-1980'
    but sql plus give me error of :
    ORA-01843: not a valid month
    how come?
    i even try '17-12'1980', '17/12/1980', '12/17/1980'
    all also cannot
    i am using oracle 10g
    anyone any idea about this?
    thx

    Check the initialization parameter 'NLS_DATE_FORMAT'. You could do the insert in a couple of ways.
    alter session set nls_date_format = 'DD-MON-YYYY';
    Do the insert after issuing the above statement.
    Or
    Use the 'to_date' function.
    Insert into table(column) value(to_date('17-DEC-1980','DD-MON-YYYY'));

  • I need to pass data from an Access database to Teststand by using the built in Data step types(open data

    base /open SQL Statement etc) the first time i defined the system everything was fine but when i changed the Database (using M.S.Access) the " open SQL Statement" it would show the tables but not thier columns ,I"m using win98 sec edition / Teststand 1.0.1i need to pass data from an Access database to Teststand by using the built in Data step types(open database /open SQL Statement etc) the first time i defined the system everything was fine but when i changed the Database (using M.S.Access) the " open SQL Statement" it would show the tables but not thier columns ,I"m using win98 sec edition / Teststand 1.0.1
    When I tried the same thing on another cmputer the same thing
    happend
    appreiciate u"r help

    base /open SQL Statement etc) the first time i defined the system everything was fine but when i changed the Database (using M.S.Access) the " open SQL Statement" it would show the tables but not thier columns ,I"m using win98 sec edition / Teststand 1.0.1Hello Kitty -
    Certainly it is unusual that you can still see the tables available in your MS Access database but cannot see the columns? I am assuming you are configuring an Open Statement step and are trying to use the ring-control to select columns from your table?
    Can you tell me more about the changes you made to your file when you 'changed' it with MS Access? What version of Access are you using? What happens if you try and manually type in an 'Open Statement Dialog's SQL string such as...
    "SELECT UUT_RESULT.TEST_SOCKET_INDEX, UUT_RESULT.UUT_STATUS, UUT_RESULT.START_DATE_TIME FROM UUT_RESULT"
    Is it able to find the columns even if it can't display them? I am worried that maybe you are using a version of MS Access that is too new for the version of TestSt
    and you are running. Has anything else changed aside from the file you are editing?
    Regards,
    -Elaine R.
    National Instruments
    http://www.ni.com/ask

  • Power view couldn't load the model or data source because the data source type is not supported

    Hi,
    I have SQL 2012 standard edition in my local. I have developed SSAS & deployed in local. I have been asked to develop power view report in excel 2013 using this SSAS. But when I tried to do in Excel 2013 professional Plus, I am getting below error:
    Power view couldn't load the model or data source because the data source type is not supported.
    Does power view is supported in standard edition of SQL or it requires Business/Enterprise edition of SQL server?
    Thanks in advance

    What type of SSAS install are you using?
    PowerView in Excel 2013 currently only supports Tabular data sources.
    Only PowerView in Sharepoint 2013 supports both Tabular and Multi-Dim data sources. (provided you have the required Sharepoint and SQL updates installed)
    http://darren.gosbell.com - please mark correct answers

  • Passing Session variable of DATE data type to opaque view filter

    Hi Everyone,
    Can you guys please help me in passing session variable of DATE data type in RPD's physical layer 'opaque view' filter for Oracle database
    I tried following syntax, syntax wise I didn't got getting any error, but at the same time this opaque view is not fetching any records as well. my session variable is "END_DATE" and its value is 1998/12/31:00:00:00(as shown in RPD session windows, datatype is DATETIME)
    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, TIME_ID FROM SH.SALES
    WHERE TIME_ID =TO_DATE( 'VALUEOF(NQ_SESSION.END_DATE)','MM/DD/YYYY')
    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, TIME_ID FROM SH.SALES
    WHERE TIME_ID = TO_DATE( 'VALUEOF(NQ_SESSION."END_DATE")','MM/DD/YYYY')
    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, TIME_ID FROM SH.SALES
    WHERE TRUNC(TIME_ID) = TO_DATE( 'VALUEOF(NQ_SESSION."END_DATE")','MM/DD/YYYY')
    In past, I was able to pass a session variable into a opaque view filter using DATEOF function, but that was in DB2.
    I appreciate your time and help

    Finally, I got right format. here it is
    to_date(substr('valueof(NQ_SESSION.END_DATE)',1,10), 'yyyy-mm-dd')
    and here is the source from where I got this information
    Using OBIEE Session Variables in Select Tables in the Physical Layer

  • Data Origin Types not filled in the tab "Control Data" of BP interface

    Hello experts,
    I have loaded the clients from ECC6.0 to CRM 4.0.
    Before I have loaded the clients I have maintained the data origin type for the BP in spro -> cross application components -> SAP Business Partner -> Business partner -> Basic settings -> Data Origin -> Maintain Data Origin Type.
    After I have done the load initial of clients, the field  "Data Origin" is empty in  the tab "Control Data" in BP interface. If I do F4 in the field appear the configuration that I did in spro appear.
    For this field will appear filled I'll need to do more configurations in spro?
    Best regards,
    Mary

    Hi Mary,
    The middleware does not fill this field in BP master data. You can maintain data origin type in SPRO, however the mBdoc does not use this customizing in order to fill this field.
    Please try to use the BADI CRM_DATAEXCHG_BADI in order to fill this field during master data download.
    It hope it helps.
    Regards,
    Gabriel Santana

  • Planning 9.3.1 - Date (data type)

    Hi,
    Has anyone used the feature Date data type for an account that is available in planning 9.3.1?
    I am trying to load and/or display it in the form and i keep getting invalid entry as an error even though i have made the account of Date data tpye and set format for date in user preferences.
    Any help is appreciated.
    Thanks,
    Sri

    Hi Sri
    We had issues getting Date data type to work if we wanted to use standard UK date format (DD/MM/YYYY). However, it does seem to work fine if we use American date format (MM/DD/YYYY).
    Not sure if this is a bug?
    The date setting is on the Administration > Application Settings menu, choose Application Defaults and then Display Options to find the place that this is set. It is also manageable on individual users Preferences that is found using File > Preferences > Display Options.
    Hope that this helps
    Stuart Game
    www.analitica.co.uk

  • "Date / Date Time" type parameters in crystal reports 2008

    i am using parameters in crystal report to select records. one of the parameters is "From Date" of type Date Time.
    i mapped this parameter to a field "DateIn" of type smalldatetime in my sql table.
    Now, when i open the report it asks for "From Date" but b y default it sets the time to current time so i have to change it to 00:00:00 manually. i want it to show 00:00:00 by default. which means i don't want time here.
    For this if i select the datatype of parameter "From Date" as Date only then i am not able to map it to the "DateIn" field of the sql table.
    Please help me out of this.
    Edited by: rohit0825 on Jun 2, 2010 2:25 PM

    >
    Deepravs wrote:
    > Hi Rohit,
    >
    > Change the Parameter to Date Datatype and use this formula in the "Record Selection Formula " (Report Tab -> Selection Formulas -> Record)
    >
    > = CDateTime ({?From Date})
    >
    > Though the parameter is date datatype it converts to datetime datatype amd maps to the desired column.
    >
    >
    > Thanks,
    Great !!!
    this is working.
    i found another way, i changed the datatype of parameter to Date and click ok and everything was good, it doesn't require any conversion to date time.
    Thank You so much. All Points You.
    Edited by: rohit0825 on Jun 3, 2010 10:47 AM

  • Data Carriers and Data carrier type

    Hi Sap Gurus,
    Pls let me know is there any necesssity of defining any new Data Carrier types other than PC,
    if so at what circumstances and requirements,
    also pls throw some light about data Carriers, when is the new data carriers required to be created
    at what circumstances and requirements.
    is that to access a document from different server or Different system, if it is so why is this required as the documents are always stored in a central content server and Once checked in, any one can access the document from Server,
    2) can we make use of Application softwares Installed in one System and make it run in another system, example,
    if there are say 4 system totally, among this S1 system1 has Autocad Installed in it ,
    rest of the 3 system have not installed Autocad, Can the system 2,3 and 4 edit the auto cad drawings in there system, does at this situations where Datacarries and Data carries types come in to picture,
    Please throw some light on this
    Thanks and regards
    Sathish

    Dear Christoph Hopf,
    Thanks a lot for your Quick Response
    as you have Explained,i assume it is mainly used to store a local copy or extra copy of the Original application files in the system which we use to View them, or if we feel to store the copy in any other system also.
    Example Say there are 3 systems S1, S2 and S3
    if we are viewing an original file in System S1 and want the same Copy to be stored in System S2  or S3.....
    then this data carrier configuration is required if iam right?
    But Sir apart from this funtionality can i also know the SAP definition purpose, as it defines  data carrier type as below
    The system requires the data carrier type in order to exchange data with other data carriers.
    This is the case, for example, if the user:
    wants to process original application files stored on another computer
    wants to use an application installed on another computer
    if i can interpret this in right way
    it tells us that, by use of data carrier and Data carrier types
    we can access a  original file stored in Different systems,
    if it is so why is this required as the documents are always stored in a central content server and Once checked in, any one can access the document from Server,
    2) can we make use of Application softwares Installed in one System and make it run in another system, example,
    if there are say 3 system totally, among this S1 system1 has Autocad Installed in it ,
    rest of the 2 system have not installed Autocad, Can the system 2, and 3 edit the auto cad drawings in there system, does at this situations where Datacarries and Data carries types come in to picture,
    if so how is this made possible?
    pls explain with example or Screen shots in Wiki if possible
    can u tell me what is the difference between Datacarrier and Datacarrier types with any examples as well
    Thanks and regards
    Sathish
    Edited by: sathish kumar on May 22, 2008 2:17 AM

  • How to define a data carrier type "archive" in DMS

    Hi, experts.
    In order to intgerate DMS and ArchiveLink(Check in origin with ArchiveLink), i want to define a data carrier type "archive" in DC20.
    I have already defined a content repository 'Z2' in OAC0, but i can't enter 'Z2' into the field-data carrier,
    error message: You cannot use data carrier Z2 - try displaying possible entries
    Message no. V&021
    and the only possible entries is 'MA'
    which type content repository could be used as data carrier type 'archive",
    or there are some steps that i missed?
    Here are parameters of 'MA' and 'Z2':
    MA     ARCHLINK     SAP System Database     0046     ma
    Z2     ARCHLINK     HTTP content server                     0046     Test
    Thanks.

    Hi,
    Let me refresh your message with your Permission.
    i think iam also in the same confusion, any suggestion regarding this is eagerly welcome.
    i have some specific senario in DMS where the Client needs to store the DMS Original Files in SAP Archive Server through SAP Archive ink,
    here if i configure a part of Archive Server, so as to store the Original application files of DMS,
    say ZDMS_Arch01, ZDMS_Arch02, ZDMS_Arch03.
    ie.. if i configure Archive server as a Storing medium for DMS Original Files, will it appear as an Option to be selected for storing the original application files,
      just like as we get the list of storage catagories to store the Originals like DMS_C1_ST or any content server Storage catagory (clicking Check in original, in CV01N transaction
    any one who have configured this please Clarify.
    Regards
    Sathish

  • How to create a reference instead of complex type for record in data structure type in BizTalk schema

    I have created the record in BizTalk schema but i will give to Data Structure Type as reference For eg:Recordname(Reference) instead of recordname(Complex type).
    Please help me to sort this out
     

    You can add a reference to an existing type only.
    You might have to manually edit the XSD file to change the xmlns definiton to xmlns:tns and then after you define the record type, set the datatype to tns:.... this creates the XML Type. Then later in your schema you can instantiate this with a name and
    then set type to tns:.... (Reference)
    Regards.

  • How to Update Date data type field value in oracle

    I want to update records in a table that has a Date data type field. It's a oracle databse. I use the oracle thin drive to connect to the database. The everything works well, only when i try to update records that have date type value, something doesn't work.
    I use the following stmt to update DB:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Conn = DriverManager.getConnection("jdbc:oracle:thin:@hostname:portnumber:schname", "uid","pwd");
    stmt=Conn.createStatement();
    String updStr = "UPDATE Article SET Archive = ' Disable' WHERE ArticleDate = # " + sqlDate +"# " ;
    stmt.executeUpdate( updAStr ) ;
    But I always got the SQLException run time error, which is "ORA-00911: invalid character"
    Who can help me to find out how to write the above Update statement correctly? esp. that how to present the Date type variable in the statement.!
    BTW, sqlDate is a Java.sql.Date variable, Is it "# " + sqlDate + "# " the right way?
    Many thanks

    What do you get out of Oracle's TO_DATE that java.sql.PreparedStatement.setDate()
    won't give you? - MODWell, I don't know that I've used all capabilities of either, but when it comes to managing Date Strings my Oracle bias :) would be to code using Oracle's TO_CHAR and TO_DATE functions. Perhaps someone can tell me vendor neutral ways to do something simiilar to managing these input date/times (and hopefully just as easily, pretty much all done in a single line, single function)?
    WHERE aDATE > TO_DATE('2010','YYYY')
    WHERE aDATE > TO_DATE('2010 AUG 22','YYYY MMM DD')
    WHERE aDATE > TO_DATE( 'January 15, 1989, 11:00 A.M.', 'Month dd, YYYY, HH:MI A.M.')
    I believe most databases have something similar to this, although I have found Oracle's to be the most flexible and consistent, if not the most intuitive. Other vendors (DB2, SQL Server, Access) don't force you to always be explicit, and can accept a variety of date strings without masks. The problem is that while you might not be getting an error, it also may not be parsing your date as expected.
    One could argue that this vendor specific hodgepodge of literal date/time strings is only one program modification away from disaster. They might be right.
    Just to be clear. I'm not recommending using a vendor specific approach, but it's not a perfect world and somtimes you have to use what works easiest or best or fastest, and in some cases, that is the vendor specific alternatives.

Maybe you are looking for