Help with master / multiple details from the collections

Hello

I am trying to create multiple details for my master report using collections by the method of Blarman on https://community.oracle.com/thread/1091458. This is my first shot of dagger to collections and I seem to be missing something, but for the life of me, I don't know what. I managed to get the display of collection for the captain, but when this inserts / updates, only the first collection seq_id is already updated or inserted the user entry. I suspect that I'm doing something stupid on BCM_POPULATE_TICKET_REF_COL to avoid updates to all items in the collection, but after much research and trying, I do not know what. Any suggestions would be much appreciated.

Thank you!
Michelle

1. structure of the table

CREATE THE TABLE DBSCH1. BCM_FINDINGS
(
NUMBER OF FINDINGS_ID
VARCHAR2 (200 BYTE) WORKING GROUP,
VARCHAR2 (200 BYTE) TEAM.
DIVISION VARCHAR2 (200 BYTE),
RAISED_BY VARCHAR2 (200 BYTE),
...
)

CREATE THE TABLE DBSCH1. BCM_COMMENTS
(
NUMBER OF COMMENTS_ID
COMMENTS VARCHAR2 (4000 BYTE),
FINDINGS_ID NUMBER NOT NULL
)

CREATE THE TABLE DBSCH1. BCM_TICKET_REF
(
NUMBER OF TICKET_REF_ID
TOOL VARCHAR2 (4000 BYTE),
TICKET_REF VARCHAR2 (4000 BYTE),
LINK VARCHAR2 (4000 BYTE),
FINDINGS_ID NUMBER NOT NULL
)


2 created master / detail report on BCM_FINDINGS & BCM_COMMENTS.

3. create the BCM_TICKET_REF collection:

CREATE or REPLACE PROCEDURE BCM_CREATE_TICKET_REF_COL (full bcm_findings_id)
as
I have pls_integer;
CNTR pls_integer: = 5;
Start
apex_collection.create_or_truncate_collection ('POPULATE_TICKET_REF_COL');
for Rec in)
Select the tool, ticket_ref, link, ticket_ref_id, findings_id
of bcm_ticket_ref
where FINDINGS_ID = bcm_findings_id

)
loop
() apex_collection.add_member
p_collection_name = > 'POPULATE_TICKET_REF_COL ',.
p_c030 = > Rec.ticket_ref_id,--primary key
p_c031 = > Rec.tool, - placeholder text
p_c032 = > Rec.ticket_ref, - placeholder text
p_c033 = > Rec.link, - placeholder text
p_c034 = > Rec.findings_id fk - space
);
end loop;
because me in 1.cntr
loop
() apex_collection.add_member
p_collection_name = > 'POPULATE_TICKET_REF_COL ',.
p_c030 = > 0, - designates this as a new registration
p_c031 = > NULL,-placeholder text
p_c032 = > NULL,-placeholder text
p_c033 = > NULL,-placeholder text
p_c034 = > bcm_findings_id - number placeholder
);
end loop;
end BCM_CREATE_TICKET_REF_COL;

Support - before the header:

BEGIN
BCM_CREATE_TICKET_REF_COL (bcm_findings_id = >: P2_FINDINGS_ID);
END;


4. definition of standard report for BCM_TICKET_REF region:
SELECT rownum,
apex_item. Hidden (30, c030), - ticket_ref_id
apex_item. Text (31, c031, 20, 20) tool.
apex_item. Text (32, c032, 15, 15) ticket_ref,.
apex_item. Text (33, c033, 15, 15) link.
apex_item. Hidden (34, c034) findings_id
OF APEX_COLLECTIONS
WHERE COLLECTION_NAME = "POPULATE_TICKET_REF_COL."

5. get user input for the update of the collection BCM_TICKET_REF
CREATE OR REPLACE PROCEDURE BCM_POPULATE_TICKET_REF_COL
AS
j pls_integer: = 0;
Start
for j1 in)
Select seq_id apex_collections
where collection_name = "POPULATE_TICKET_REF_COL."
the order of seq_id loop)
j: = j + 1;
-(number) ticket_ref_id
apex_collection.update_member_attribute (p_collection_name = > 'POPULATE_TICKET_REF_COL',)
p_seq = > j1.seq_id, p_attr_number = 30, p_attr_value = > wwv_flow.g_f30 (j));
-tool (text)
apex_collection.update_member_attribute (p_collection_name = > 'POPULATE_TICKET_REF_COL',)
p_seq = > j1.seq_id p_attr_number = > 31, p_attr_value = > wwv_flow.g_f31 (j));
-ticket_ref (text)
apex_collection.update_member_attribute (p_collection_name = > 'POPULATE_TICKET_REF_COL',)
p_seq = > j1.seq_id p_attr_number = > 32, p_attr_value = > wwv_flow.g_f32 (j));
-link (text)
apex_collection.update_member_attribute (p_collection_name = > 'POPULATE_TICKET_REF_COL',)
p_seq = > j1.seq_id p_attr_number = > 33, p_attr_value = > wwv_flow.g_f33 (j));
-(number) findings_id
apex_collection.update_member_attribute (p_collection_name = > 'POPULATE_TICKET_REF_COL',)
p_seq = > j1.seq_id p_attr_number = > 34, p_attr_value = > wwv_flow.g_f34 (j));
apex_application.g_print_success_message: = "loop COUNTER" | j;
end loop;
end;

On present - before the calculations and validations

BEGIN
BCM_POPULATE_TICKET_REF_COL;
END;


6 update DB with the data in the collection BCM_TICKET_REF
CREATE OR REPLACE PROCEDURE DBSCH1. BCM_UPDATE_TICKET_REF
AS
j pls_integer: = 0;
Start
-Obtaining records from Collection
for y in (select TO_NUMBER (c030) ticket_ref_id,
C031 tool,
C032 ticket_ref,
C033 link,
TO_NUMBER (c034) findings_id
OF APEX_COLLECTIONS
WHERE collection_name = "POPULATE_TICKET_REF_COL") loop
j: = j + 1;
If y.ticket_ref_id = 0 then - new record
insert into BCM_TICKET_REF (ticket_ref_id, tool, ticket_ref, link, findings_id)
values (BCM_TICKET_REF_SEQ.nextval, y.tool, y.ticket_ref, y.link, y.findings_id);
APEX_DEBUG. MESSAGE (p_message = > 'INSERT the LOOP COUNTER': j);
"exit";
elsif y.ticket_ref_id > 0 then - existing record
Update BCM_TICKET_REF
adjustment tool = y.tool,
ticket_ref = y.ticket_ref,
link = y.link,
findings_id = y.findings_id
where ticket_ref_id = y.ticket_ref_id;
APEX_DEBUG. MESSAGE (p_message = > 'UPDATE the LOOP COUNTER': j);
"exit";
on the other
APEX_DEBUG. MESSAGE (p_message = > "NUTHIN'");
"exit";
end if;
end loop;
end;

Present on - after calculations and validations

BEGIN
BCM_UPDATE_TICKET_REF;
END;

HA! Well it took me several tries, but I finally saw him, you have a 'out' right after insertion (and updated).  That could leave the loop and record #2 would never happen.

Just remove it. In your case you are inserting/updating all your lines.

-Jorge

Tags: Database

Similar Questions

  • Help with loading a swf from the Google Map API done in AS3 AS2 Flash site

    OK, maybe this can be done, I need to do everything in AS3, or it is a problem of the Google Map API.

    If someone could put me on the right track, I would be grateful.

    I created a Google Map API for Flash Add to my Web site.

    My site has been built using AS2 and the Google Map API was built using AS3

    My site Flash .swf works fine and the Google Map.swf, I created works very well.

    The problem is when I try and do not add the Google Map.swf on my website flash As2 will Google.swf no work.

    I'm trying just to eliminate the error.

    Is it because that...

    1. after having my site flash with AS2, I can't add a .swf with AS3

    2. I need to change the code...

    3. it has nothing to do with AS3, it's because this is a Google Map API.


    I have a button written in AS2 on my main flash site that has a a PreLoader.


    on (release) {}

    Stop behavior MovieClip
    this.gotoAndStop ("Google_Map");
    End behavior


    load film behavior
    If (this.mcContentHolder is {Number (this.mcContentHolder))}
    loadMovieNum ("PreLoaderGoogle.swf", this.mcContentHolder);
    } else {}
    this.mcContentHolder.loadMovie ("PreLoaderGoogle.swf");
    }
    End behavior
    }

    The PreLoaderGoogle.swf was then has a

    Instance of: charger

    contentPath

    Google_Map.swf

    If I change the Google_Map.swf instance in the PreLoader for an another .swf using AS2 it all works.


    or do I just have the wrong end of the stick.

    All advice appreciated.

    If you load an as3 swf into an as2 swf, none of the code in the as3 swf file will work.

    the simplest way around this is: you could create a loader swf (GER) as3 that loads your as2 swf and load your google as3 swf.

  • I have troublle with moving my emails from the Inbox to a folder? I also extend my screens whenever it comes to the screen upward? Please help me _ @_. ___

    I have troublle with moving my emails from the Inbox to a folder? I also extend my screens whenever it comes to the screen upward?  Please help me * address email is removed from the privacy * I told my son I would have a computer on which I could get online and with a program I could throw my pearls inventory.

    but when he brought to me he forgot to put windows one. He put the express window and gave me the internet.  I had to go out and find free programs to do the inventory and other things. It's good, but I have trouble with the above two questions.  Can someone help me?

     
    1. What e-mail program?
    2. What is a Windows?
    3. What is Windows Express?
     
     
    Any window that you want to resize all the time must be the last closed window.
     
    Take the corners of the window and drag it to the format full screen. Do not use to expand. Close all other windows first via the taskbar and the latter. Windows will remember the size of the last closed window the next time that you open the program.
     
  • Huawei P9 - I have many issues with getting my pictures from the phone to my Imac

    Huawei P9 - I have many issues with getting my pictures from the phone to iphoto on my Mac.

    Before the summer I bought a Huawei P9 phone, I can easily see the photos on the phone - I can't just them on my mac.  When I connect via a USB cable, it refuses my permissions.

    I try to use my Google account to view on the Mac and move the iPhoto - I can't work either! I can see them, I can't move them!

    I'm pulling my hair out and I have enough to do with! Help, please...

    Jim Hosking

    You need the phone provider support - there is a problem with the way their phone works and how to use it and has nothing to do with the Photos or iPhoto - if pictures is consistent with standards of good Photos and iPhoto won't work with it

    You may need special third party software for your phone load in Photos or iPhoto

    LN

  • From the Collections with DML operations in function

    Hi all

    Can we use the collections and perform DML operations on it in a function? I want to call this function through the SELECT statement.

    If it's possible, so which collection is ideal in the following scenario?
    Need to have three columns and several lines and want to run select on it.

    Thanks in advance.

    If I'm not demanding too much can we have given in this way?

    You are most welcome ;)

    SQL> with t as (
      2  select '11AA101' str from dual union
      3  select '11AA102' str from dual union
      4  select '11AA103' str from dual union
      5  select '11AA108' str from dual union
      6  select '11AA110' str from dual union
      7  select '555101' str from dual union
      8  select '555102' str from dual union
      9  select '555103' str from dual
     10  )
     11  select rtrim(extract(xmlagg(xmlelement("a",range||',') order by range)
     12                       ,'//text()'),',') ranges from (
     13  select decode(min(connect_by_root str),str,str,
     14                min(connect_by_root str)||' to '||str||' ('||count(0)||')') range
     15  from t
     16  where connect_by_isleaf = 1
     17  connect by substr(str,1,length(str)-3)=prior substr(str,1,length(str)-3)
     18      and prior to_number(substr(str,-3))+1 = to_number(substr(str,-3))
     19  group by str
     20  );
    
    RANGES
    ------------------------------------------------------------------------------------------
    11AA101 to 11AA103 (3),11AA108,11AA110,555101 to 555103 (3)
    

    Max
    [My Italian blog Oracle | http://oracleitalia.wordpress.com/2010/02/07/aggiornare-una-tabella-con-listruzione-merge/]

  • I downloaded and installed creative cloud with no problems. From the window of creative cloud cannot display the APPS page (while other 'Home', 'Community' can be seen). This is why I can't select the application to be updated. Thanks for your help

    I have download and install creative cloud with no problems. In the window of creative cloud cannot display the APPS page (while other 'Home', 'Community' can be seen. This is why I can't select the application to be updated. Thanks for your help

    Please refer to the threads below where the issue has been addressed:

    Re: desktop is not displayed Panel apps? PC

    Missing Creative Cloud Desktop applications tab

  • How to create multiple hierarchies from the same physical table

    Hi all

    I have a physical table to join with a fact table: there are 3 different hierarchies, which share the last 2 levels inside the dimension table. It's the logic diagram of hierarchies:

    Dimension services
    -Business
    -Sector
    -Type
    -Operator
    -Product
    Partner of dimension
    -Partner
    -Operator
    -Product
    Contractor of dimension
    -Contractor
    -Operator
    -Product

    All columns are in the same table physical source. I tried to create 3 table logic source from the same physical table, everyone with all the columns and create a hierarchy for each dimension table, but it gives me nQSError: 15011.

    Any suggestion? Maybe the physical table alias can help for the creation of tables of different sizes?

    Thanks in advance,
    Concerning

    Hello

    It is a basic rule that you cannot create multiple hierarchies in a single dimension table, so what you do is create three tables of alias and slip into MDB layer in 3 different sizes and on top these tables create 3 different dimension hierarchies.

    Check if useful/correct

    Thank you.

  • If anyone can help with a report that retrieves the external ID field in the CRM

    I have an affiliate system where the customer imported 3600 + recordings, some of which were to the eternal ID ("field of your identification on the import file) together and some are not.

    The problem is that I have to update all of the CRM records and impossible to import the changes that I don't know what the original external id value. Catalyst support of business savvy that they can't include this field in a report (don't get started me on that...) and I'm now desperately need a way to get that data on the file and are essential for any news updates via the import of files. I would like to delete all files and start again except that there is no wholesale don't delete option in CRM BC - Yes you can do it in the products but not the CRM or Web Apps...! The only option available in British Colombia is to remove a list of screen at once, but then I have the problem that this issue is not all CRM records - only those whio belong to a secure area.

    My need is urgent, so any free help or otherwise would be approeciated and the solution must be one that allows me to run such export on an irregular basis.

    OK... Thanks to those who feel now offered help and I have a little a goose, but then isn't quite.

    Colombia-British in his usual style of the help documentation, are quite clear in their explanation of the way in which the Unique Id (which is actually the ID ' external ' e CRM under the Misc section). Here is the description from the import of the model

    • Columns of the foregoing represent all the available columns that can be imported using the import of standard contact feature. The columns do not need to contain information, but they must be present on the page, especially if a column instance contains information.
    • If your organization uses its own unique ID to differentiate customers, then use the ID column of your. If a value is present in this column, it will serve the unique identifier. This means that if the contact has been imported previously, and is to be re-imported then its details are updated, if not a new contact record is created regardless of the fact that contact a similar already exists in the system.
    • If the ID column of your unused, while contacts are usually identified by their email address. The minimum requirement for import a contact into the system that is to be your ID, Email address, full name, first name or last name must be on a single line. If these values are missing the line is not imported and import will move to the next line.
    • If you do not provide your ID or an email address and only a name then the contact is added every time regardless of the question of whether a similar already exists in the system.

    Now my understanding is that if you used the Id of your then being the unique identifier, and that these imports all future would have to use that... Well no, that is not the case at all.

    If you import a recordset using your Id, you can simply update these same records with just the email address - you don't need your Id or external at all!  So, what's the purpose of this field at all? I have no idea myself because he cannot be reported, may not be exported, it cannot be referenced - actually the only way you will see she is to open the CRM folder and view details of Misc and buried at the bottom you'll find. That's what I call a undocumented feature!

    So end of this is - my concerns that whatever proved unfounded and you don't have to worry about external / your field Id, no matter what the customer does.

    My advice - forget this field exists and do not care to use it unless you might happen to be interfacing in some 3rd party system through PAI, as seems to be the only use I can think of for it.

  • RENAMECOLLECTIONTABLE - questions by renaming the table from the collection.

    Hi all

    I use the version of database Oracle 10.2.0.2, OS - Solaris

    I am enrolled in the scheme after successfully.

    <? XML version = "1.0" encoding = "UTF-8"? >
    < xs: schema xmlns: XS = "http://www.w3.org/2001/XMLSchema".
    xmlns:xdb = "http://xmlns.oracle.com/xdb".
    elementFormDefault = "qualified" attributeFormDefault = "unqualified" >

    < xs: element name = "employee" type = "employeeType" xdb:defaultTable = "EMPLOYEEXMLTYPE_TABLE" / >

    < name XS: complexType "employeeType" = >
    < xs: SEQUENCE >
    < xs: element name = "name" type = "xs: String" / >
    < xs: element name = "departments" type = "departmentsType" nillable = "true" minOccurs = "0" / >
    < xs: element name = "name" type = "xs: String" / >
    < / xs: SEQUENCE >
    < name XS: attribute = "id" type = "Integer" use = "required" / >
    < / xs: complexType >

    < name XS: complexType = "departmentsType" >
    < xs: SEQUENCE >
    < xs: element name = "Department" type = "DepartementType" maxOccurs = "unbounded" / >
    < / xs: SEQUENCE >
    < / xs: complexType >

    < name XS: complexType = "DepartementType" >
    < xs: SEQUENCE >
    < xs: element name = "name" type = "xs: String" / >
    < xs: element name = "departmentWings" type = "departmentWingsType" / >
    < / xs: SEQUENCE >
    < / xs: complexType >

    < name XS: complexType = "departmentWingsType" >
    < xs: SEQUENCE >
    < xs: element name = "departmentWing" type = "departmentWingType" maxOccurs = "unbounded" / >
    < / xs: SEQUENCE >
    < / xs: complexType >

    < name XS: complexType = "departmentWingType" >
    < xs: SEQUENCE >
    < xs: element name = "name" type = "xs: String" / >
    < xs: element name = "target" type = "xs: String" / >
    < / xs: SEQUENCE >
    < / xs: complexType >

    < / xs: Schema >

    My goal is to create indexes on/employee/departments/department/departmentWings/departmentWing/name.

    I followed the steps mentioned in Create index for an XMLType column.

    One of the measures mentioned in the link above is to rename the table in the collection (in my case departmentwing) using the DBMS_XMLSTORAGE_MANAGE procedure. RENAMECOLLECTIONTABLE.

    So I tried the following:
    SQL > START
    DBMS_XMLSTORAGE_MANAGE 2. () RENAMECOLLECTIONTABLE
    OWNER_NAME 3 = > "XDB_TEST"
    Table_name 4 = > "EMPLOYEEXMLTYPE_TABLE"
    5 COL_NAME = > NULL,
    XPATH 6 = > ' / employee/departments/Department/departmentWings/departmentWing/name. "
    7 COLLECTION_TABLE_NAME = > 'DEPTWING_TABLE '.
    (8);
    9 END;
    10.

    PL/SQL procedure successfully completed.

    If the procedure has said that it has completed successfully, I couldn't see the created DEPTWING_TABLE.

    SQL > DEPTWING_TABLE DESC;
    ERROR:
    ORA-04043: object DEPTWING_TABLE does not exist

    I am left helpless. Can someone please?

    Kind regards
    Simo.

    Published by: user5805018 on October 12, 2011 04:40

    Hello

    First of all, are you sure that the nested tables generated during the registration of the scheme?

    You must annotate the schema with xdb:storeVarrayAsTable = 'true' and use the option genTables-online true for registration.
    Then you should see something like this:

    SQL> select table_name, table_type_name, parent_table_name, parent_table_column
      2  from user_nested_tables
      3  ;
    
    TABLE_NAME                     TABLE_TYPE_NAME                PARENT_TABLE_NAME              PARENT_TABLE_COLUMN
    ------------------------------ ------------------------------ ------------------------------ --------------------------------------------------------------------------------
    SYS_NTy8fd9LOzSmun4whyTbJC4g== department384_COLL             EMPLOYEEXMLTYPE_TABLE          "XMLDATA"."departments"."department"
    SYS_NTeAiIyOu0Q9G3nvWMtcM6mQ== departmentWing381_COLL         SYS_NTy8fd9LOzSmun4whyTbJC4g== "departmentWings"."departmentWing"
     
    

    In addition, according to the manual (xdb_easeofuse_tools.pdf):

    For Oracle Database 11g Release 2 (11.2) and above, this function accepts only, XPath
    the rating as a dotted notation. If the XPath notation is used, a setting of namespaces
    may also be necessary.

    So, on your version, you must use the notation 'dot ':

    SQL> call XDB.DBMS_XMLSTORAGE_MANAGE.renameCollectionTable(
      2    USER
      3  , 'EMPLOYEEXMLTYPE_TABLE'
      4  , NULL
      5  , '"XMLDATA"."departments"."department"'
      6  , 'DEPT_TABLE'
      7  );
    
    Method called
    
    SQL> call XDB.DBMS_XMLSTORAGE_MANAGE.renameCollectionTable(
      2    USER
      3  , 'DEPT_TABLE'
      4  , NULL
      5  , '"departmentWings"."departmentWing"'
      6  , 'DEPTWING_TABLE'
      7  );
    
    Method called
    
    SQL> select table_name, table_type_name, parent_table_name, parent_table_column
      2  from user_nested_tables;
    
    TABLE_NAME                     TABLE_TYPE_NAME                PARENT_TABLE_NAME              PARENT_TABLE_COLUMN
    ------------------------------ ------------------------------ ------------------------------ --------------------------------------------------------------------------------
    DEPT_TABLE                     department384_COLL             EMPLOYEEXMLTYPE_TABLE          "XMLDATA"."departments"."department"
    DEPTWING_TABLE                 departmentWing381_COLL         DEPT_TABLE                     "departmentWings"."departmentWing"
     
    

    Hope that helps.

  • Can I unlock an iPhone carrier locked with a prepaid sim from the same carrier?

    I bought an opportunity SoftBank carrier locked iPhone 5 and inserted my sim to SoftBank paid work after the cut with a cutter sim. The SIM works fine, but I can't activate it yet. It gives a massage saying invalid sim 'the SIM you have currently comes from a carrier that is not supported.

    Help, please.

    It is considered a different activation strategy you will need to talk to your carrier to unlock the phone to use.

  • Help with fft vibrations without using the package of noise and vibrations

    I'm looking for help in the analysis of vibrations. I use an example updated NI 9233 VI, to get a signal from the accelerometer for display using a FFT power spectrum. I'm not entirely sure if it works, because it's the first time I've ever done vibration analysis on LabView. So if you could explain a thing or two about vibrations or TFF, I'd be more than willing to hear from you. I have included my code along with a photo of an analysis of vibration of the computer, I work with. (even when I don't know if his work that I just thought it would be good to show an output)

    Brandon

    Data sheet:

    I have LabView 2011

    I FPGA, real-time

    I have a model of research of Wilcoxon accelerometer 797-33

    With an NI 9233

    On a cRio-9012

    Hi Brandon,.

    You can use the FFT Complex (photo attached) to calculate the magnitude of the acceleration at different frequencies. You will need to take a little further to build a new waveform with this release, which includes d0, df and the output of the FFT. In order to calculate the df, please refer to the user manual on page 10-3. With respect to the scale that is output by the FFT, it must be same as input. Hope this helps to answer your questions. Thank you!

    See you soon,.

    CARISA Leal

  • Xp pro installation gets past the copied installation files and then restarts, rather than continue with install it starts from the beginning again.

    new installation of XP pro on a Dell Inspiron mini

    Xp pro installation went copied files Setup then restarts, rather than continue with an install it starts from the beginning again, laptop is configured to boot from the hd, but does not do that, I reset bios to default and hd settings has been reformatted, the cd for this laptop drive is usb because it has not built in 1... If I try and I remove the usb cd when reboots after copid setup files it told her there is no operating system...

    any help much appreciated...

    Hi, Leon,

    Always include computer make and model, please.  Thank you.

    Research in the Bios (reboot and press F1 or F2 depending on your system, check that all usb options are enabled (for example, USB legacy or support for USB 2.0 devices).)

    If there is a timeout parameter, set it to Max.

    Then, find the boot device priority section

    A USB flash drive, which is usually listed as USB - HDD, but may be listed as a removable device, will have a priority very low start.

    Rearrange the boot device priority so that the flash drive has a higher priority than the hard drive.

    Install Windows XP from USB key

    • Insert the USB key into the USB port on the computer.

    • Open the "I386" folder and find the file "Winnt.exe".

    Double-click on the "Winnt.exe" to launch a command prompt BACK to an installation of Windows XP.

    Type the path of the location of your "I386" folder in the DOS window. For example, if your USB is the letter "D" in your "My Computer" window, type "d:\i386" without the quotes and press the Enter"" key.

    Let the installation program copy the Windows XP installation files on your computer.

    Restart your computer to a command prompt. The Windows XP Setup will continue automatically.

    Follow the on-screen instructions to complete the installation. The program will ask you your Windows XP product key in this process.

    http://www.ehow.com/how_6912418_install-Windows-XP-USB-drive.html

    Make a bootable memory card or USB key using PEBuilder

    http://www.tech-recipes.com/Rx/2583/making_a_usb_drive_or_memory_card_bootable_using_pebuilder/

  • Help with static IP address for the WRT54GL by EZXS55W

    Hi all!

    I'm having some trouble network at the office and cannot keep close internet for all the world just try a new mode of connection of the cables.

    We recently received a notice on five new static ip addresses for the office, we did turn on DHCP those for a year now.

    We have a basic network requiring no credentials of the modem or connection.

    At this moment we have a network cable straight from the network on the router (WRT54GL) failure. Then, the router is defined in gateway mode and uses one of our static Ip addresses.

    I wanted to connect my server to the same fault, but using the static IP address, so I thought why not do it through a switch.

    So the network failure, I ran the right network cable into the uplink on the switch (EZXS55W) connector and then put the router in port 1 and my server port2. Both connected with the right cables.

    The Internet light on the router does not light and the switch just flicker light now and then.

    Maybe someone here can help me how I should put up to get to the top and running, what do I have to configure something special on the router or maybe somewhere use twisted cables.

    Please I need your help!

    Thanks for the help and you where once there was something wrong along the way.
    I tested my switch before trying this, but apparently it is now broken.
    I borrowed another switch of a friend and everything was up and running in a few seconds.
    So now I just need to buy a new switch and everything will be fine.
    Once agan, thank you...

  • Help with some internal specs on the STORM. May require a person who works at the RIM.

    BB STORM, JDE 4.7.0

    I was usually the champion of the size of the memory, and I thought I got it down pat, but it turns out that I see different values in some disassembly of the hardware of the storm.

    Can someone help me to y and the degradation of persistent memory Vs file in the permanent internal flash storage area.

    OK, here's what I thought, it was internal so far.

    1 internal 128 MB of RAM for running the show, allocation of memory, etc, etc...

    2. 1 g internal Samsung OneNAND flash memory. It is divided into 128M of space of the App and 872 M of storage space.

    The storage space is divided into persistent storage and the rest is an internal file system.

    3. Finally, there is 8GBits of the space of the SD card.

    OK, here's my new questions on memory.

    In 2 above, is the 1 G bytes or Bits. I used to think bytes, but teardowns latest I read all say Bits. If so, it means that we have memory app 16MBytes! So the question is byte or bit?

    The next question is the 872M (bits or bytes)... How is burglarized persistent store file Vs space. Is it preallocated or no change of line based on what he gets used? If it is fixed, can the line be forced to the persistent store. Can it be forced into space from the SD card?

    Finally, is again the SD card in bytes or Bits? I suspect the pieces, but I don't know about you. I don't know what MoviNAND.

    Note that if you are new to this, please don't answer, I'm not new, and I went through all the usual web sites. I just want to hear from those who know with certainty because they actually measured it with a code or they talked to someone on the EDGE. I heard all the 'I think there' and they do me good. I actually send you this email to myself and several other people. Many of us need answers to these questions.

    Thank you

    -Donald

    The BlackBerry Storm has the following:

    • 128 MB of RAM
    • 128 MB of Flash memory for installation of the application (file COD) and store persistent store.
    • 1 GB internal memory for storing files (FileConnection & USB stick as support).
    • Support for micro SD card up to 32 GB * of size for the storage of additional files (FileConnection & USB stick as support).

    All values are in bytes, not horseshoes.  It is not possible to install applications on memory storage of files, nor is it possible to store persistent objects in the file storage space.

  • Help with excel import and delete the page script

    Hello. I will try to make it as simple as possible. I have some data from excel (saved as delimited by tabs) that I need to import in a 5 PDF page. I use the script below to import, and it works fine. All import fields and records the individual (one for each record) PDF. However, I need to extend this functionality by removing some pages before it saves the document by looking at the different boxes. The code below is what I use to import the records.

    // specify the filename of the data file
    var fileName = "/Users/MacMike/Desktop/Test.txt";  // the tab delimited text file containing the data
    var outputDir = "/Users/MacMike/Desktop/Dump/";    // make sure this ends with a '/'
    
    var err = 0;
    var idx = 0;
    while (err == 0) {
        err = this.importTextData(fileName, idx);    // imports the next record
    
        if (err == -1)
            app.alert("Error: Cannot Open File");
        else if (err == -2) 
            app.alert("Error: Cannot Load Data");
        else if (err == 1)
            app.alert("Warning: Missing Data");
        else if (err == 2)
            app.alert("Warning: User Cancelled Row Select");
        else if (err == 3)
            app.alert("Warning: User Cancelled File Select");
        else if (err == 0) {
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf"); // saves the file
            idx++;
        }
    }
    

    As I said before you import works surprisingly well.

    My PDF consists of 5 pages (info-registration, p1 = Dir-contract = p0, p2 = contract ndarp-brand, p3 = takes-contract, p4 = agreement must be brand). My idea is that on the import of data, the script will look at a few check boxes and determine which contracts to remove on the PDF and then save. I wrote the syntax of which, in my view, what it should look like. I'm not a programmer and know just a little bit. I looked through the documentation and this is what I came with. I don't know how to combine to work. Here's the code I came up with that.

    var dir = this.getField("Associate Director"); // checkbox
    var aldir = this.getField("Alumni Director"); // checkbox
    
    var fac = this.getField("Facilitator"); // checkbox
    var alfac = this.getField("Alumni Facilitator"); // checkbox
    
    var oyb = this.getField("Optimize Your Brain"); //checkbox
    var poyb = this.getField("DVD and Workbook Previously Purchased"); // checkbox
    
    // Below are all the possible training options.
    if (dir.value=="Checked" || aldir.value=="" || fac.value=="" || alfac.value=="" || oyb.value=="" || poyb.value=="") {
        this.deletePages({nStart:3, nEnd:4})
    }
    else if (dir.value=="" || aldir.value=="Checked" || fac.value=="" || alfac.value=="" || oyb.value=="" || poyb.value=="") {
        this.deletePages({nStart:3, nEnd:4})
    }
    
    else if (dir.value=="" || aldir.value=="" || fac.value=="Checked" || alfac.value=="" || oyb.value=="" || poyb.value=="") {
        this.deletePages({nStart:2, nEnd:4})
    }
    else if (dir.value=="" || aldir.value=="" || fac.value=="" || alfac.value=="Checked" || oyb.value=="" || poyb.value=="") {
        this.deletePages({nStart:2, nEnd:4})
    }
    
    else if (dir.value=="" || aldir.value=="" || fac.value=="Checked" || alfac.value=="" || oyb.value=="Checked" || poyb.value=="") {
        this.deletePages({nStart:2, nEnd:2})
    }
    else if (dir.value=="" || aldir.value=="" || fac.value=="" || alfac.value=="Checked" || oyb.value=="Checked" || poyb.value=="") {
        this.deletePages({nStart:2, nEnd:2})
    }
    else if (dir.value=="" || aldir.value=="" || fac.value=="Checked" || alfac.value=="" || oyb.value=="" || poyb.value=="Checked") {
        this.deletePages({nStart:2, nEnd:2})
    }
    else if (dir.value=="" || aldir.value=="" || fac.value=="" || alfac.value=="Checked" || oyb.value=="" || poyb.value=="Checked") {
        this.deletePages({nStart:2, nEnd:2})
    }
    
    else if (dir.value=="Checked" || aldir.value=="" || fac.value=="" || alfac.value=="" || oyb.value=="Checked" || poyb.value=="") {
        this.deletePages(none) // I realize this is incorrect. Just showing that this option results in no deleted pages.
    }
    else if (dir.value=="" || aldir.value=="Checked" || fac.value=="" || alfac.value=="" || oyb.value=="Checked" || poyb.value=="") {
        this.deletePages(none) // I realize this is incorrect. Just showing that this option results in no deleted pages.
    }
    else if (dir.value=="Checked" || aldir.value=="" || fac.value=="" || alfac.value=="" || oyb.value=="" || poyb.value=="Checked") {
        this.deletePages(none) // I realize this is incorrect. Just showing that this option results in no deleted pages.
    }
    else if (dir.value=="" || aldir.value=="Checked" || fac.value=="" || alfac.value=="" || oyb.value=="" || poyb.value=="Checked") {
        this.deletePages(none) // I realize this is incorrect. Just showing that this option results in no deleted pages.
    }
    
    else if (dir.value=="" || aldir.value=="" || fac.value=="" || alfac.value=="" || oyb.value=="Checked" || poyb.value=="") {
        this.deletePages({nStart:1, nEnd:2})
    }
    else (dir.value=="" || aldir.value=="" || fac.value=="" || alfac.value=="" || oyb.value=="" || poyb.value=="Checked") {
        this.deletePages({nStart:1, nEnd:2})
    }
    

    How to combine these two so that I can create a document temp import my data, check the boxes to check off and delete the appropriate pages and save the file and then go to the next record? I got the first part done. It imports large and has the right, but I don't know what to do next. Thanks for any help!

    Or y at - it another way to do this?


    Michael

    Wow. Ok. I had it works beautifully. There was a lot of trial and error. Because the script as it was would have, would open the original PDF, delete the pages needed, then save the file. While it would be to go to the next record is missing pages in PDF and bomb to open. I hunted and searched for a way to do this. I found "this.insertPages" in the documentation. Finally, what worked was so move the "save under" in the service and put it under every variation of check. So now when checking the boxes, he performs the check, removes the mandatory pages, stops, insertions of back in deleted pages from the original file, leave the service and finally goes to the next record.

    Here is my final script:

    // This code looks at an excel (tab delimited) file, imports the records into a PDF form 10 Pages long.
    // Then checks a series of checkboxes and deletes the pages that aren't associated with first page.
    // After it deletes these pages it reinserts the deleted pages so it can do the checks for the next record in the (tab delimited) file.
    
    // variables for importing excel data
    var err = 0;
    var idx = 0;
    var fileName = "/Users/MacMike/Desktop/Test.txt";  // the tab delimited text
    var outputDir = "/Users/MacMike/Desktop/Dump/";    // make sure this ends with a '/'
    
    //Checking a bank of 6 checkboxes and determine which pages need to be deleted, save the file, and the insearch the deleted pages again.
    function seekandDestroy() {
        if (dir.value=="Checked" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Off") {
            this.deletePages({nStart:6, nEnd:9})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:5, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:6, nEnd:9 });
        }
        else if (dir.value=="Off" && aldir.value=="Checked" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Off") {
            this.deletePages({nStart:6, nEnd:9})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:5, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:6, nEnd:9 });
        }
    
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Checked" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Off") {
            this.deletePages({nStart:3, nEnd:9})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:2, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:3, nEnd:9 });
        }
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Checked" && oyb.value=="Off" && poyb.value=="Off") {
            this.deletePages({nStart:3, nEnd:9})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:2, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:3, nEnd:9 });
        }
    
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Checked" && alfac.value=="Off" && oyb.value=="Checked" && poyb.value=="Off") {
            this.deletePages({nStart:3, nEnd:5})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:2, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:3, nEnd:5 });
        }
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Checked" && oyb.value=="Checked" && poyb.value=="Off") {
            this.deletePages({nStart:3, nEnd:5})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:2, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:3, nEnd:5 });
        }
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Checked" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Checked") {
            this.deletePages({nStart:3, nEnd:5})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:2, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:3, nEnd:5 });
        }
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Checked" && oyb.value=="Off" && poyb.value=="Checked") {
            this.deletePages({nStart:3, nEnd:5})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:2, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:3, nEnd:5 });
        }
    
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Checked" && poyb.value=="Off") {
            this.deletePages({nStart:1, nEnd:5})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:0, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:1, nEnd:5 });
        }
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Checked") {
            this.deletePages({nStart:1, nEnd:5})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:0, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:1, nEnd:5 });
        }
        else if (dir.value=="Checked" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Checked" && poyb.value=="Off") {
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
        }
        else if (dir.value=="Checked" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Checked") {
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
        }
        else if (dir.value=="Off" && aldir.value=="Checked" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Checked" && poyb.value=="Off") {
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
        }
        else if (dir.value=="Off" && aldir.value=="Checked" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Checked") {
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
        }
    }
    
    // Imports records does the above function then go the next record, all the while doing error reporting.
    while (err == 0) {
        err = this.importTextData(fileName, idx);    // imports the next record
    
        if (err == -1)
            app.alert("Error: Cannot Open File");
        else if (err == -2)
            app.alert("Error: Cannot Load Data");
        else if (err == 1)
            app.alert("Warning: Missing Data");
        else if (err == 2)
            app.alert("Warning: User Cancelled Row Select");
        else if (err == 3)
            app.alert("Warning: User Cancelled File Select");
        else if (err == 0) {
            var dir = this.getField("Associate Director"); // checkbox
            var aldir = this.getField("Alumni Associate Director"); // checkbox
            var fac = this.getField("Facilitator"); // checkbox
            var alfac = this.getField("Alumni Facilitator"); // checkbox
            var oyb = this.getField("Optimize Your Brain Site Coordinator"); //checkbox
            var poyb = this.getField("DVD and Workbook Previously Purchased"); // checkbox
            seekandDestroy(dir, aldir, fac, alfac, oyb, poyb); //performs the above function
            idx++; //goes to next record
        }
    }
    

Maybe you are looking for

  • Clear history does not

    Usually I ctrl + shift + delete to clear my history/cookies/etc, or on the rare occasion I'll click in the drop-down box. When I tried to erase my histroy today, the box with the options to clear the history didn't pop up.

  • IBM Thinkpad 380D

  • OfficeJet 7500 a: officejet 7500 a and windows 10

    A3 format is no longer supported I installed the latest drivers again, but the A3 format no longer exists.

  • Generic error Datasocket 42 on window minimize

    I use LabVIEW Datasocket connections on LabVIEW 2009 to write to an Kepware OPC server.  I write 64 tags.  It works as expected with local as well as remote OPC server.  The loop that writes each value is able to run and update of values with a wait

  • Shortcut to Explorer Windows will not open Floder column.

    When I open Windows Explorer it does not open the files column, so I have to click the files icon in the toolbar. Is there a way to provide a shortcut to explore with the open records column?