Insertion of Hypertext using the FDK

I would like to be able to create a hyperlink to a file HTML using Hypertext in the FrameMaker FDK so that when a PDF file is created the user can click on the link to launch the file. I don't know what FrameMaker FDK function use to achieve. Examples of code would be greatly appreciated.

Hi pdmoro,

This task does not require a lot of code, if it requires a familiarity with FrameMaker and a few sensitive areas of the FDK. For example, you must understand how to work the beaches of text, how hypertext markers work, and how the marker objects differ from objects of type of marker.

The following code example is not an example of work... it's quite a bit of a pattern to help you. I hope this helps some... even if sounds like you may need more time with the FDK to do all together and functional.

F_TextLocT tl;

F_ObjHandleT markerId, markerTypeId, docId.

/ * you will need the code here to get the docID and set the location of the text. Locations of text

* can be difficult to understand at first, so this might require studies

*/

Here's a function to create and place a marker
markerId = F_ApiNewAnchoredObject (docId, FO_Marker, &tl);)

now, you'll want to set the text of the marker. It must be

a syntax that support hypertext markers. This can also

be cunning and vary according to the type of the desired hyperlink

F_ApiSetString (docId, markerId, FP_MarkerText, "openObjectId C:\\temp\\mydoc.fm:5 7483926");

Finally, to get the object of a hypertext marker type and apply it on the new marker, do

it a Hypertext marker. Otherwise, the marker will be some default marker type.
markerTypeId is F_ApiGetNamedObject (docId, FO_MarkerType, "Hypertext");.

F_ApiSetId (docId, markerId, FP_MarkerTypeId, markerTypeId);

Russ

Tags: Adobe FrameMaker

Similar Questions

  • Inserting data by using the query

    Hello

    In a book, I read the Sub statement:

    Inserting data by using the query (DML)

    If the user wants to transfer data from a table to another table in the insert statement are used independently of data that can be processed or not processed form.

    Can someone clarify what is the significance of this (processed or unprocessed form).


    Thank you.

    Why don't you ask the author of the book.

    How can we know what the author means when you take a quote out of context and don't provide any reference so that we can see exactly what is shown to you.

    I can only imagine that they are referring to data that are queried directly, "like what", another table, or who was interrogated and manipulated before be inserted.

  • insertion of values using the impl class

    Hi am values inserting data by using the class impl, my problem is when I insert values, it shows that the values must be unique so it cannot be inserted, but when I check in the database, the values are inserted, it seems my loop trying to reinsert the same values twise, am in jdeveloper 11.1.1.6.0
        public Number addOrginisation(OrgDetails orgDetails){
            Number orgid =null;
    
               try{
                      
                      UAMAppModuleImpl am = (UAMAppModuleImpl)ADFUtils.getApplicationModuleForDataControl("UAMAppModuleDataControl1");
                      CreateUserBean cu = new  CreateUserBean();
                      String n = (String)orgDetails.getDpayment().getValue();
                       System.out.println(" n  :"+n );
                      String  newIdAssigned = cu.createAcc(n,orgDetails.getCadastreAccountBean() );
                      System.out.println(" newIdAssigned :"+ newIdAssigned  );
                    this.addmemebres(orgDetails.getAddmember(), orgDetails.getName());
    
    
    
                                    String otype = null;
                String osubtype = null;
            
            DCIteratorBinding it0 = ADFUtils.findIterator("UamOrganisationsView1Iterator");
                      if(it0 != null && it0.size() > 0){      
                         
                          for(Row r : it0.getAllRowsInRange() ){
                          EntityDefImpl accDef1 =UamOrganisationsImpl.getDefinitionObject();     
                          UamOrganisationsImpl org1 =  (UamOrganisationsImpl)accDef1.createInstance2(am.getDBTransaction(),null);
                         
                     
                      otype = (String)r.getAttribute("Organisationtypecode");
                      osubtype = (String)r.getAttribute("Orgsubtypecode"); 
                          org1.setOrganisationtypecode(otype);
                      System.out.println("onsertorgtype " + otype);
                          org1.setOrgsubtypecode(osubtype);
                      System.out.println("insertedsubtype " + osubtype);
                          
                         
                          org1.setCadastreaccount(newIdAssigned);
                          System.out.println("Addedcardaccount " + newIdAssigned);  
                              
                          org1.setOrganisationname(orgDetails.getName());
                          System.out.println("AddedOrganisation " + orgDetails.getName());    
                          org1.setCadastreaccount(newIdAssigned);
                          System.out.println("Addedcardaccount " + newIdAssigned);    
                          org1.setOrganisationemail(orgDetails.getEmail());
                          System.out.println("Addedemail " + orgDetails.getEmail());  
                          org1.setRegistrationnumber(orgDetails.getRegNumber());    
                          System.out.println("Registrationnumber " +orgDetails.getRegNumber());    
                          org1.setRegistrationstatus("Y");
                          org1.setStatus("Y"); 
                          orgid =  org1.getOrganisationid();
                          System.out.println("returnorgid " +orgid);
                          am.getDBTransaction().commit();  
                          System.out.println("after "+ orgid);  
                          orgid =  org.getOrganisationid();
                          
                         
                          
                      }
                          
                          
                      }
                String name = null;
                String surname = null;
                String identitynumber = null;
                String emailaddress = null;
                String contactnumber = null;
                String ownership = null;
                String accountofficer = null;
                Number officeid = null;
    
    
               DCIteratorBinding it = ADFUtils.findIterator("ocompanyofficerdetailsIterator");
                  if(it != null && it.size() >0){                              
                  for(Row r : it.getAllRowsInRange() ) {                                   
                        EntityDefImpl accDef2 =UamCompanyofficerdetailsImpl.getDefinitionObject(); 
                        UamCompanyofficerdetailsImpl comp = (UamCompanyofficerdetailsImpl)accDef2.createInstance2(am.getDBTransaction(),null);
                       
                        
                        name = (String)r.getAttribute("name");
                      System.out.println("offname" +name);
                        surname = (String)r.getAttribute("surname");
                      System.out.println("surnametest " +surname);
                        identitynumber = (String)r.getAttribute("dentitynumber");
                      System.out.println("idtest " +identitynumber);
                        emailaddress = (String)r.getAttribute("emailaddress");
                      System.out.println("emailtest" + emailaddress);
                        contactnumber = (String)r.getAttribute("contactnumber");
                        System.out.println("contatc" + contactnumber);
                        ownership = (String)r.getAttribute("ownership");
                      System.out.println("ownership " + ownership);
                        accountofficer = (String)r.getAttribute("accountingofficer");
                       System.out.println("accountoffice " + accountofficer);
                
                
               
               comp.setName(name);
                      System.out.println("offname " + name);
               comp.setSurname(surname);
                      System.out.println("surnameoff " +surname);
               comp.setIdentitynumber(identitynumber);
                      System.out.println("identitynumber " +identitynumber);
               comp.setEmailaddress(emailaddress);
                      System.out.println("emailaddresscomp " +emailaddress);
               comp.setContactnumber(contactnumber);
                      System.out.println("contactnumbercomp " + contactnumber);
               comp.setOwnership(ownership);
                      System.out.println("ownershipcomp " + ownership);
               comp.setAccountingofficer(accountofficer);
               System.out.println("accountofficer " +accountofficer);
                        officeid = comp.getOfficerid();
                               System.out.println("afterofficeid " + officeid);
                      comp.setOrganisationid(orgid);
                      am.getDBTransaction().commit();
                        System.out.println("***insetead companyofficials****" +  officeid ) ;
    
    
                    }
        }
           }catch(Exception e){
                System.out.println("after "+e.getMessage());
                e.printStackTrace();
            }
           
            return  orgid;
        }
    
    my log error is
    n  :CRC
    *****createAcc  Entity [oracle.jbo.Key[10891 ]]
    *****createAcc  UamCadastreaccounts
    @@@@@@@@@@@@CRC
    @@@@@@@@@@@@10892
     newIdAssigned :10892
    onsertorgtype PRIV 
    insertedsubtype LA
    Addedcardaccount 10892
    AddedOrganisation testnow
    Addedcardaccount 10892
    Addedemail [email protected]
    Registrationnumber 2332434
    returnorgid 2233
    after 2233
    onsertorgtype PRIV 
    insertedsubtype DEA
    Addedcardaccount 10892
    after JBO-ecadastre.gov.za.uam.model.entities.UamOrganisations_Rule_0: Organisation Name Must Be Unique
    oracle.jbo.AttrSetValException: JBO-ecadastre.gov.za.uam.model.entities.UamOrganisations_Rule_0: Organisation Name Must Be Unique
         at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:381)
         at oracle.jbo.rules.AbstractValidator.createException(AbstractValidator.java:1065)
         at oracle.jbo.rules.AbstractValidator.doRaiseException(AbstractValidator.java:1120)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:1109)
         at oracle.jbo.rules.JboAbstractValidator.raiseException(JboAbstractValidator.java:409)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:1096)
         at oracle.jbo.server.JboUniqueKeyValidator.validateValue(JboUniqueKeyValidator.java:369)
         at oracle.jbo.server.JboUniqueKeyValidator.validateValueWithContext(JboUniqueKeyValidator.java:84)
         at oracle.jbo.rules.JboAbstractValidator.callValidateValueWithContext(JboAbstractValidator.java:235)
         at oracle.jbo.rules.JboAbstractValidator.validate(JboAbstractValidator.java:386)
         at oracle.jbo.rules.RulesBeanUtils.validateObject(RulesBeanUtils.java:725)
         at oracle.jbo.rules.RulesBeanUtils.validate(RulesBeanUtils.java:696)
         at oracle.jbo.server.AttributeDefImpl.validate(AttributeDefImpl.java:3349)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3294)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:2012)
         at ecadastre.gov.za.uam.model.entities.UamOrganisationsImpl.setOrganisationname(UamOrganisationsImpl.java:336)
         at uam.cadastre.gov.za.CreateOrganisationBean.addOrginisation(CreateOrganisationBean.java:213)
         at uam.cadastre.gov.za.OrgDetails.getNextStopPayment(OrgDetails.java:689)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
     oracle.jbo.server.ViewRowSetImpl@8f2102
     null
     null
     null
     null
     null
     null
     BDP
     CRA
     CRC
     DRO
     EFT
     OTC
    ************endpayment *********
     but am able to insert the organisation  values in database but it show me that Organisation Name Must Be Unique
    the for loop is re-entering the values again
    Published by: adf0994 on 01/15/2013 13:11

    Published by: adf0994 on 01/15/2013 13:12

    Hello

    a rule in the ADF is still working through the link layer (and that's what you start by before you can join the impl classes). When you have access to a DCIteratorBinding, you have access to the lines it holds. Of the DCIteratorBinding, you can get access to the RowSetIterator (getRowSetIterator()). Here you can now create new lines programmatically by calling

    -Row rw = rowSetIterator.createRow ();
    -fill in the attribute for line
    -rowSetIterator.insertRow (rw);

    You can also use this to simply update the existing lines. With the next commit, these changes will be persistent in the database.

    Frank

  • I can't insert a line using the function to return?

    Hello

    This doen't work code, do you know why?

    declare
    function my_func (a number)
    number of repetition
    is
    Start
    return number * number;
    end;
    Start

    insert into my_tab values (my_func (4));

    end;


    Moreover, there is not any constraint on my_tab, I'm just wondering, can we use back function in the SQL inset? or is there a problem?
    Thank you 1 million.

    Cant insert statement I use directly in function?

    Not recommended but also a possible way:

    SQL> create table my_tab (i int)
    /
    Table created.
    
    SQL> declare
      function my_func (a number)
        return number
      is
      begin
        return a * a;
      end;
    begin
      execute immediate 'insert into my_tab values (:1)' using my_func(4);
    end;
    /
    PL/SQL procedure successfully completed.
    
    SQL> select * from my_tab
    /
             I
    ----------
            16
    1 row selected.
    
  • Inserting Image mystery using the attribute in the structured element

    I work in FM10 on Windows XP Pro. However, the models at the company where I am currently Contracting have been developed over the years, since the FM 7 or 8, with different authors and developers to refine their. Which makes them difficult to decipher at times.

    Currently, I'm trying to understand how elements of the notes works so I can fix it to work when you bind the FM source files to RoboHelp. When you click on the 'Note' parent element, you can choose from four different attributes (as shown below for ESD): note, tip, caution and warning.

    When you choose one of these attributes, it automatically inserts a graphic symbol (exclamation point, star, pencil, etc.). You then choose the next child element that creates a paragraph directly to the right of the graphic symbol.

    The problem is, I can't understand where this chart comes in the parent element and associated attributes. I thought it must be extracted from the style of paragraph, either as an image of the reference page and or symbols of the numbering of the paragraph Designer section. But I'm not either of those things anywhere. For what it's worth, the graphics look like they come from a police (see screenshot).

    The word "note" comes to the next child element and the associated paragraph style, it is designated in the numbering/AutoNumber Format: box with an associated font. The lines above and below it are similarly advanced/Frame Above / Below the FMP: setting. All this is quite easy; the attribute image... not so much.

    Can anyone tell me please where to hunt for the source of this image attribute insertion?

    ------------------------------------------------------fm_attributes.jpg

    ESD

    Element (container): Note

    General rule: stalks, NoteBody

    List of attributes

    Name: Id ID Unique in option

    Control flags: read-only, hidden

    Name: Type Optional choice

    Choice: Note, tip, warning

    Default: Note

    AutoText

    Insert automatically child: stems

    Element (container): NoteBody

    General rule: Para, (Para |) List) *.

    AutoText

    Insert automatically child: Para

    Element (container): stems

    General rule: < EMPTY >

    Text format rules

    If the context is: * < ParagonGuide

    If the context is: Note [Type = "Note"]

    Use paragraph format: Note.Icon

    Otherwise, if the context is: Note [Type = 'Attention']

    Use paragraph format: Note.Caution.Icon

    Otherwise, if the context is: Note [Type = "Tip"]

    Use paragraph format: Note.Tip.Icon

    On the other

    Use paragraph format: Note

    Rules of prefix

    If the context is: * < ParagonGuide

    If the context is: Note [Type = "Warning"]

    Prefix: Warnings not permitted in documents of Paragon.

    Range of text.

    Font properties

    Color: Red

    On the other...

    Hi Douglas,.

    I think I thought about it, although I can't prove it, but my inability to prove it is maybe the evidence itself. I know this is no logic, so please read on...

    In summary, I think that the images are caused by prefixes text inserted by ESD for the element, using the Zapfdingbats font.

    To review/summarize the structural architecture, your notes are made up of

    ... etc.

    ... Where he is the element which is containing the image and the , etc. items that contain the text of the note.

    My first idea was that when I open your file, I do not see the images; However, instead of one of the pictures missing, I get a message of missing fonts (and I have no Zapfdingbats). Here are the rules of prefix for the element (rough paste):

    Rules of prefix

    If the context is: *.<>

    If the context is: Note [Type = "Warning"]

    Prefix: Warnings not permitted in documents of Paragon.

    Range of text.

    Font properties

    Color: Red

    On the other

    Range of text.

    Otherwise, if the context is: *.< (list="" |="">

    If the context is: Note [Type = "Note"]

    Prefix: \t/

    Range of text.

    Font properties

    Family: Zapfdingbats

    Size: 22.0 pt

    Vertical offset: 28.0%

    Otherwise, if the context is: Note [Type = "Tip"]

    Prefix: \tH

    Range of text.

    Font properties

    Family: Zapfdingbats

    Size: 16.0 pt

    Vertical offset: 22.0%

    Otherwise, if the context is: Note [Type = 'Attention']

    Prefix: \t!

    Range of text.

    Font properties

    Family: TheSansExtraBold-Plain

    Size: 32.0 pt

    Vertical offset: 48.0%

    Otherwise, if the context is: Note [Type = "Warning"]

    Prefix: \t6

    Range of text.

    Font properties

    Family: Zapfdingbats

    Size: 16.0 pt

    Vertical offset: 24.0%

    On the other

    If the context is: Note [Type = "Note"]

    Prefix: /.

    Range of text.

    Font properties

    Family: Zapfdingbats

    Size: 22.0 pt

    Vertical offset: 28.0%

    Otherwise, if the context is: Note [Type = "Tip"]

    Prefix: H

    Range of text.

    Font properties

    Family: Zapfdingbats

    Size: 16.0 pt

    Vertical offset: 22.0%

    Otherwise, if the context is: Note [Type = 'Attention']

    Prefix:!

    Range of text.

    Font properties

    Family: TheSansExtraBold-Plain

    Size: 32.0 pt

    Vertical offset: 48.0%

    Otherwise, if the context is: Note [Type = "Warning"]

    Prefix: 6

    Range of text.

    Font properties

    Family: Zapfdingbats

    Size: 16.0 pt

    Vertical offset: 24.0%

    There are a whole bunch of prefixes text in there, but most use the Zapfdingbats font. This font is just a bunch of small icons as pencil your screenshot shows the image. For example, the line:

    Prefix: \t/

    .. .will be insert a tab, then a slash in Zapfdingbats. I bet that if you apply Zapfdingbats to one of you to the paragraphs, and then type a forward slash, you will get one of those pictures you've been see.

    The evidence would be to change these characters in the prefix rules and see if the images change. Because I have not the police, I can't do it. But because I can't do, it proves to me that the source is indeed the police and the prefix characters. Make sense now?

    Russ

  • Help insert mulitple value using the view

    Can anyone help me please with the following text:

    I'm trying to create a view that insert multiple (department_id) values based on CUSTOMER_ID in where clause:

    CREATE OR REPLACE FORCE VIEWS CUSTOMER_V
    (
    DEPARTMENT_ID,
    CUSTOMER_ID,
    CUSTOMER_ADD
    )
    AS
    SELECT
    ' *'D100 "* DEPARTMENT_ID;
    C.CUSTOMER_ID,
    C.CUSTOMER_ADD
    WHERE
    C.CUSTOMER_ID IN (100, 200)

    Looking at the example above, it will insert D100 for the two CUSTOMER_ID (100, 200), what can I use to insert D100 as department_id if C.CUSTOMER_ID = 100 and D200 if the C.CUSTOMER_ID = 200?

    Thanks for your help!
    SMČR
    CREATE OR REPLACE FORCE VIEW CUSTOMER_V
    (
    DEPARTMENT_ID,
    CUSTOMER_ID,
    CUSTOMER_ADD
    )
    AS
    SELECT
    DECODE(C.CUSTOMER_ID,100,'D100',200,'D200') DEPARTMENT_ID,
    C.CUSTOMER_ID,
    C.CUSTOMER_ADD
    --FROM ???
    WHERE
    C.CUSTOMER_ID IN (100, 200)
    
  • How to change the menu colors when you use the menu widget?

    So I inserted a menu using the menu widget, but how can I change the background colors? at this time is grey

    To change the background color of the item of a menu, simply select the Menu item (by clicking on the Menu twice) and change the color using the options of filling for the different States. If you change selection set in the options list, the color would be changed for all menu items.

    Thank you

    Vinayak

  • How to show/hide conditional text on the text selected with the FDK API

    Hello!

    Do you know how to show/hide conditional text in a selected text using the FDK API? I managed to do it on the whole document, but I need to do on specific selected text...

    Thanks in advance,

    Stefano

    Hi Stefano,

    This is not possible, the conditions are the properties of the document and cannot be changed from visible to hidden or v.v. for the full document.

    If you really need a more detailed method, you must create a separate condition for the selected text.

    -Michael

  • Insert multiple records in the single form

    Hi all

    I met already insert many rows into a table using ADF BC. The solution is in the following thread

    Re: How to create several new lines in the Table of the ADF?

    However,.
    The above solution is useful when you want to enter new values as well as all the table entries is displayed.
    What can I do if I don't want all values in the table, but just a page 'AddEntries' where I can only add new lines without going through the table entries is displayed.

    As,

    Say a form has 5 rows

    Each line has empId, eMailSlNo, send attributes

    EmpId is the same for all 5 recordings but emailId is different.

    EmpId eMailSlNo plus the PK.

    empId generated by the sequence.

    Now, on presentation of the form, I want all five records to be inserted.

    (can I use ADF form instead of the table of the ADF for the ViewObject in this case. I tried ADF form but I could only insert 1 plug at the same time).

    I use 10.1.3.4

    Help, please.

    Thanks in advance,
    Shri

    Published by: newtoOTN on December 29, 2009 18:02

    Shri salvation,

    ADF form is intended for the single insert/update. For multiple insert/update/delete using the collection as table UI is preferred. I guess your db table or table design INTERFACE default (in my opinion but I do not know your usecase entirely, so I guess might b wrong).

    I would say,

    -make EmpId as PK
    -have another table to store EmpId (foreign key), emailSiNo, email
    -Having the relationship of the master / detail between the British Colombia ADF db tables.
    -Create master / detail UI and on the selection of the master, view the details and if no record is found does not add files and commit.

    See these examples:
    http://www.Oracle.com/technology/products/jdev/tips/Mills/MasterDetailSync/Master_Detail_Synchronization_in_ADF_Faces.html
    http://andrejusb.blogspot.com/2007/06/create-edit-and-delete-operations-in.html

    Hope it makes sense.

    ~ K

  • HOW do you use the INS/PRT SC button to insert the copied data? It does not work! Help!

    I just got a pavilion DV6-7010us... I have always used the INSERT key when I copy data and insert into a message, chat screen, document... this computer has a key of INS/PRT SC.  I can't get the key to insert data into almost anything.   How do you use this key?  or is there another way to insert data that you copied, into something... ???  I'm used to use Shift + Insert key on my old laptop.    Right now, I try to keep in my mind to use the mouse to insert data... but would like to be able to use the key on the laptop keyboard.

    Is there a way to do it?

    Thank you

    Barbara

    You must identify your laptop for each of us to have a clue as to what looks like your keyboard. There are so many models of HP to be precise.

    Remove the battery and look for the label that says p/n. Post this string alphanumeric together here. It is your HP product number. G6 or dv6 and dv7 are all just model numbers.

    You can also do this by using Ctrl + C to copy and Ctrl + V to paste. That's what most people use to copy and paste in most applications and productivity programs.

    Because Windows 7 has the capture tool, I didn't even use the Ins or Prt Scr.

  • Block of data to be inserted using the class SqlBulkCopy - constructor type not found System.Data.DataColumn

    I am using the SQLBulkCopy class methods for bulk inserts data into a PostgreSQL RDBMS. Think "table grapes." I'm basically buffer a lot of data to be inserted when a task is completed, rather than constantly doing transactional inserts have a lot more overhead.

    To do this, I use the SqlBulkCopy(DataTable table) method as the IDataReader objects and DataRow have no public constructors in LabVIEW. Here's my current implementation:

    But it fails with this error:

    The VI is attached for reference. Any ideas (or alternative bulk insert) would be appreciated.

  • When I insert an image in the body of my email, it is replaced with an attachment when the recipient gets (also using OE).

    I use outlook express 6 on windows xp pro.

    When I Insert an image in the body of my email, it is replaced with an attachment when the recipient gets (also using OE).
    I did use the option of fixing , I used to Insert.  The reverse also occurs.  When someone using OE sends me an email with
    a peak inside the body of the email, it appears in the box and not in the body of the email. This happens only when they concern the
    my program.  Others using OE does this experience between them.

    My mail sending format is HTML and in its settings, I checked "send pictures with messages. In addition, in the tools of internet explorer, advanced, multimedia.
    I 'send photos' checked also, in the email window, under 'format', ' Rich Text (HTML) "checked.

    I have recently reinstalled cleanly win xp to address a system idle in general.  All updates are in place and tested it with antivirus and anti-malware programs.

    That is what it is?

    [Transferred from Internet Explorer]

    Original title: outlook express

    Tools | Options | Read. Read all messages in plain text it is checked? This it will make become an attachment.

  • When I insert my recovery disk its Blanck, but if I used the same disc in another computer I can see the content inside

    Original title: DVD RW drive

    I'm having a problem with my computer toshiba M645. When I insert my recovery disk its Blanck, but if I used the same disc in another computer I can see the contents inside. I try inserting the disk dvd movies and it will play normally. Please give me help with this problem because I want to get my phone to the sound out of the box state. Thank you.

    Hello

    The drive came with the laptop or you did it yourself in the recovery Partition?

    And you're supposed to boot from the recovery disc to start the recovery process.

    You change the Boot order to make the CD/DVD drive first in the boot order. Then, you start from the disc.

    How to change the Boot order in BIOS:

    http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm

    And as a way to re - install with most of the Toshibas, you press 0 (zero) to start to start the process of recovery back to settings factory (new State) of the recovery Partition.

    See you soon.

  • When you use a blank CD in the CD drive and try to open it to put the files, it is written "Please insert a disk in the drive."

    Original title: windows 7

    CD drive reads CD when there is something on it but not read a blank CD. When I put a blank CD in the CD drive and try to open it to put the files it contains, it says please insert a disk in the drive.

    Movido al foro EN - U.S. / /.

    Hi Robert,.

    Thanks for the screenshot of your system information.

    As you can see in the screenshot, on the right side, the Description indicates that this is a CD-ROM drive, it means that it's a player-CD (Read Only Memory) which can only read the discs, but cannot write data to the disk. You may need to replace it with a CD/DVD burner drive for read/write drives.

    Hope this information is useful. If you have any additional questions on the issue, please post back, we will be happy to help you.

  • I have a problem in direct charge of path where the default values are not met when using the CSV file to load into the database while his is filled everything in plain insert queries

    -The header of the control file, I added a load direct method(append mode)

    OPTIONS(direct=true,Parallel=true,skip_index_maintenance=true,skip_unusable_indexes=true)

    DATA RELATING TO SUNK COSTS

    ADD

    INSERT INTO TEST_TBL

    (

    col1,

    ...

    Col n-2

    );

    Try to use the classic path instead.  With the direct path, many constraints and triggers, and others are disabled.  Please see the next section of the online documentation.

    https://docs.Oracle.com/database/121/Sutil/GUID-973925DA-8F86-49C1-A707-4564DC3B57AE.htm#SUTIL1330

Maybe you are looking for

  • Session variable changes from one page to the other in firefox

    I build the site http://www.carpet-n-rug-cleaning.com and I put the privileged service area using a session. If you visit the website and goto the page areas of service to select a service area and the swithch between the home page and any other page

  • Satellite A300-177: how to save pictures using the webcam internal

    Hello I recently bought a Satallite A300-177 which comes with a web camera bulit in.I want to save pictures that I take with him, but it only allows me to send them a mail. Could someone help me how to save them or if not possible? Thank you very muc

  • Cannot install KB979906

    My computer keeps trying to install KB979906. It will not install, it will keep telling me to restart to activate, I do but then he tries to reboot again.  Help!

  • Pictures on MP3

    How can I change the automatic loading of my pictures on my MP3 player?   When I go to the file to change the TI, is there nothing that says anything about loading my camera.

  • How to download a recovery disc of xp to a computer other than mine.

    Hi, my friend has a computer laptop windows xp home edition, his girlfriend a recovery disc, it ran, but said, that he left his laptop with nothing on it, since the software does not load anything for his laptop is empty. Can I download a windows xp