How can I insert OLE (data) programatically ?
I need insert many (more than 10.000) OLE (pdf) file into BLOB field. I have tried using a program with DBMS_LOB.LOADFROMFILE procedure.
So pdf file are in the Data Base, but those field (data) are not Ole data.
If I compare the data in the DB field after insert with form (manually), it is bigger than the I get using my program. Forms insert add some data at the begin and the end, and also change some data in the middle (i have check hex data in both cases).
hi carlos,
proceed like this.
1.
SELECT empfb xblnr bldat dmbtr sknto qbshh zlsch laufd
laufi zbukr vblnr lifnr sknto belnr kunnr blart
FROM regup INTO CORRESPONDING FIELDS OF TABLE t_regup
WHERE laufd EQ p_laufd
AND laufi EQ p_laufi
AND bukrs EQ p_absbu
AND xvorl <> 'X'.
Sort t_regup (by field)
Delete adjacent duplicates from t_regup comparing (field)
*Now ir t_regup has content .
2.
If not t_regup is initial.
SELECT LAUFD LAUFI ZBUKR HBKID WAERS ZALDT
HKTID LIFNR VBLNR CHECT ZLAND RZAWE
UZAWE voidr
FROM payr INTO CORRESPONDING FIELDS OF table t_payr
For all entries in t_regup
WHERE laufd EQ t_regup-laufd
AND laufi EQ t_regup-laufi
AND zbukr wa_regup-zbukr.
Endif.
3. now u got the entries in t_payr.
4.
Now since u want the colleted items of t_payr
Declare the fields that u want move into t-Regup say (HBKID WAERS ZALDT
HKTID LIFNR) as these are not three in t_regup.
Loop at t_payr.
Loop at t_regup.
Read table t_payr with key t_payr-f1 = t_regup-f1
t_payr-f2 = t_regup-f2
t_payr-f3 = t_regup-f3
If sy-subrc = 0.
T_regup-hbkid = t_payr-hbkid
T_regup-waers = t_payr-waers
T_regup-lifnr = t_payr-lifnr.
Modify t_regup index sy-tabix.
Endif.
Endloop
Endloop.
This will insert the entries of t_payr into t_regup.
Hope this logic helps u out.
regards,
vijay.
Similar Messages
-
How can i insert character data in a table using the report trigger
well here is my query
do_sql ('insert into report_trigger_details values(po report,before parameter)');
i need to to insert data from within the report using the before parameter form trigger.Error is as follows:
error: rep-1425,cant parse the statement,missing comma
This error got removed by removing the space in ''po report" and before parameter"
Now the error that i get is :ora-00984:column not allowed here
Also i need to keep the spaces between the values while inserting data
Please help!!!
Thanks
Edited by: 924271 on Mar 29, 2012 7:02 AM
Edited by: 924271 on Mar 29, 2012 7:07 AM
Edited by: 924271 on Mar 29, 2012 7:08 AMI know this isnt a great way of using query but its part of the assignment ,so any help will be greatly appreciated.
Here it is again......
function BeforePForm return boolean is
segment2 varchar2(10);
begin
srw.message(001,'I just got executed first');
srw.do_sql('select segment1 into :segment2 from xxmssl_po_headers_all');
srw.do_sql('insert into report_trigger_details values(seq2.nextval,:segment2,''po report'',''before parameter form'',''po number is'')');
srw.do_sql('commit');
return (TRUE);
end;
the that i was getting earlier was resolved by using two single quotes....Now the error is....
Error: error putting value in column....
column 'segment2' may not be referenced by parameter triggers..
The insert ran fine until I changed the above function as follows:
function BeforePForm return boolean is
segment2 varchar2(10);
type_code varchar2(10);
org_no number(4);
begin
srw.message(001,'I just got executed first');
srw.do_sql('select segment1,type_lookup_code,org_id into :segment2,:type_code,:org_no from xxmssl_po_headers_all');
srw.do_sql('insert into report_trigger_details values(seq2.nextval,:segment2,''po report'',''before parameter form'',''po number is'':segment2 '',type_code is'':type_code '',org_no is'':org_no )');
srw.do_sql('commit');
return (TRUE);
end;
When i ran it ,it started giving the above mentioned error.I reverted the changes back and recompiled my report but still getting the same error....
Thanks in advance
Edited by: 924271 on Mar 29, 2012 11:59 PM
Edited by: 924271 on Mar 30, 2012 12:11 AM -
How can I insert data into the standard CRM tables ?
Hi Experts,
Scenario----
I need to download few attributes (fields) from SAP MDM to SAP CRM via SAP XI. I'm using the 'COMT_PRODUCT_MAINTAIN_API' API for it.
The attributes(fields) that are present in the strucutres of API are downloaded into CRM system (by executing the Inbound proxy that is created based on the Message Interface created on XI) by calling the functions present in the API.
And for those fields that are not present in CRM, but need to be downloaded into CRM, I'm creating the Set Type attributes in CRM, which get appended to the API.
My query is:
There are fields in CRM into which I need to insert the values. But they are not listed in the API. So, how can I insert(/download) the values into these standard fields?
Regret the long description. Intended to be clear.
TIA. Points will be awarded.
Regards,
Kris
Edited by: Kris on Jul 21, 2008 8:00 AMhe INSERT program throws exception???
can any one help me how to insert data into tabel.I have never used the jdbc driver to access, but what do you think that the flag READONLY=true means? An insert is not a read.
Kaj -
How can I Insert data into my msaccess Database table
Hello all,
I am new to Java programming and I have problem that how can i insert name into my database table.
The code which i have written is following:
String filename = "d:/test.mdb";
String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
database+= filename.trim() + ";DriverID=22;READONLY=true}";
Connection con = DriverManager.getConnection(database,"","");
String s = String.valueOf(text.getText());
int k =10;
Statement st = con.createStatement();
st.execute("create table Test123(name text)");
st.execute("INSERT INTO Test123 values" +s);
on the INSERT program throws exception???
can any one help me how to insert data into tabel.
Thankshe INSERT program throws exception???
can any one help me how to insert data into tabel.I have never used the jdbc driver to access, but what do you think that the flag READONLY=true means? An insert is not a read.
Kaj -
In ADF how can i insert data in multiple table if they have foreign key
I have started working on ADF and can anybody inform me in ADF how can i insert data in multiple table if they have foreign key,please?
Thnak you very much.Hello,
Still no luck.I am surely doing silly mistakes.Anyway,Here are my workings-
1> student_mst (id(pk),studentname) and student_guard_mst(id(fk),guardianname)
2> created EO from both of the tables,made id in both EO as DBSequence and an association was also generated.
3> i made that association composite by clicking the checkbox
4> i created 2 VO from 2 EO.
5> put those VO in Application Module.
6> dragged and dropped 2 VO on my jspx page and dropped them as ADF Form.
Now what to do please? -
How can I insert consecutive monthly dates, How can I insert consecutive monthly dates
How can I insert Monthly values into a worksheet. For example I want to show consecutive months for items(loans) that come out monthly. Trying to do it only gives me daily dates i.e 1st May ,2nd May, 3rd May etc whereas I want to show May, June, July, etc. This can be done in windows Exel
To do that, I never define a date format.
I insert january (in fact janvier)
select the cell
then apply Fill Down.
Using a date format, I would get
janvier-11
février-11
Yvan KOENIG (VALLAURIS, France) vendredi 27 mai 2011 19:04:41
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
How can I load my data faster? Is there a SQL solution instead of PL/SQL?
11.2.0.2
Solaris 10 sparc
I need to backfill invoices from a customer. The raw data has 3.1 million records. I have used pl/sql to load these invoices into our system (dev), however, our issue is the amount of time it's taking to run the load - effectively running at approx 4 hours. (Raw data has been loaded into a staging table)
My research keeps coming back to one concept: sql is faster than pl/sql. Where I'm stuck is the need to programmatically load the data. The invoice table has a sequence on it (primary key = invoice_id)...the invoice_header and invoice_address tables use the invoice_id as a foreign key. So my script takes advantage of knowing the primary key and uses that on the subsequent inserts to the subordinate invoice_header and invoice_address tables, respectively.
My script is below. What I'm asking is if there are other ideas on the quickest way to load this data...what am I not considering? I have to load the data in dev, qa, then production so the sequences and such change between the environments. I've dummied down the code to protect the customer; syntax and correctness of the code posted here (on the forum) is moot...it's only posted to give the framework for what I currently have.
Any advice would be greatly appreciated; how can I load the data faster knowing that I need to know sequence values for inserts into other tables?
DECLARE
v_inv_id invoice.invoice_id%TYPE;
v_inv_addr_id invoice_address.invoice_address_id%TYPE;
errString invoice_errors.sqlerrmsg%TYPE;
v_guid VARCHAR2 (128);
v_str VARCHAR2 (256);
v_err_loc NUMBER;
v_count NUMBER := 0;
l_start_time NUMBER;
TYPE rec IS RECORD
BILLING_TYPE VARCHAR2 (256),
CURRENCY VARCHAR2 (256),
BILLING_DOCUMENT VARCHAR2 (256),
DROP_SHIP_IND VARCHAR2 (256),
TO_PO_NUMBER VARCHAR2 (256),
TO_PURCHASE_ORDER VARCHAR2 (256),
DUE_DATE DATE,
BILL_DATE DATE,
TAX_AMT VARCHAR2 (256),
PAYER_CUSTOMER VARCHAR2 (256),
TO_ACCT_NO VARCHAR2 (256),
BILL_TO_ACCT_NO VARCHAR2 (256),
NET_AMOUNT VARCHAR2 (256),
NET_AMOUNT_CURRENCY VARCHAR2 (256),
ORDER_DT DATE,
TO_CUSTOMER VARCHAR2 (256),
TO_NAME VARCHAR2 (256),
FRANCHISES VARCHAR2 (4000),
UPDT_DT DATE
TYPE tab IS TABLE OF rec
INDEX BY BINARY_INTEGER;
pltab tab;
CURSOR c
IS
SELECT billing_type,
currency,
billing_document,
drop_ship_ind,
to_po_number,
to_purchase_order,
due_date,
bill_date,
tax_amt,
payer_customer,
to_acct_no,
bill_to_acct_no,
net_amount,
net_amount_currency,
order_dt,
to_customer,
to_name,
franchises,
updt_dt
FROM BACKFILL_INVOICES;
BEGIN
l_start_time := DBMS_UTILITY.get_time;
OPEN c;
LOOP
FETCH c
BULK COLLECT INTO pltab
LIMIT 1000;
v_err_loc := 1;
FOR i IN 1 .. pltab.COUNT
LOOP
BEGIN
v_inv_id := SEQ_INVOICE_ID.NEXTVAL;
v_guid := 'import' || TO_CHAR (CURRENT_TIMESTAMP, 'hhmissff');
v_str := str_parser (pltab (i).FRANCHISES); --function to string parse - this could be done in advance, yes.
v_err_loc := 2;
v_count := v_count + 1;
INSERT INTO invoice nologging
VALUES (v_inv_id,
pltab (i).BILL_DATE,
v_guid,
'111111',
'NONE',
TO_TIMESTAMP (pltab (i).BILL_DATE),
TO_TIMESTAMP (pltab (i).UPDT_DT),
'READ',
'PAPER',
pltab (i).payer_customer,
v_str,
'111111');
v_err_loc := 3;
INSERT INTO invoice_header nologging
VALUES (v_inv_id,
TRIM (LEADING 0 FROM pltab (i).billing_document), --invoice_num
NULL,
pltab (i).BILL_DATE, --invoice_date
pltab (i).TO_PO_NUMBER,
NULL,
pltab (i).net_amount,
NULL,
pltab (i).tax_amt,
NULL,
NULL,
pltab (i).due_date,
NULL,
NULL,
NULL,
NULL,
NULL,
TO_TIMESTAMP (SYSDATE),
TO_TIMESTAMP (SYSDATE),
PLTAB (I).NET_AMOUNT_CURRENCY,
(SELECT i.bc_value
FROM invsvc_owner.billing_codes i
WHERE i.bc_name = PLTAB (I).BILLING_TYPE),
PLTAB (I).BILL_DATE);
v_err_loc := 4;
INSERT INTO invoice_address nologging
VALUES (invsvc_owner.SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
v_inv_id,
'BLAH INITIAL',
pltab (i).BILL_DATE,
NULL,
pltab (i).to_acct_no,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
NULL);
v_err_loc := 5;
INSERT INTO invoice_address nologging
VALUES ( SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
v_inv_id,
'BLAH',
pltab (i).BILL_DATE,
NULL,
pltab (i).TO_ACCT_NO,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
NULL);
v_err_loc := 6;
INSERT INTO invoice_address nologging
VALUES ( SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
v_inv_id,
'BLAH2',
pltab (i).BILL_DATE,
NULL,
pltab (i).TO_CUSTOMER,
pltab (i).to_name,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
NULL);
v_err_loc := 7;
INSERT INTO invoice_address nologging
VALUES ( SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
v_inv_id,
'BLAH3',
pltab (i).BILL_DATE,
NULL,
'SOME PROPRIETARY DATA',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
NULL);
v_err_loc := 8;
INSERT
INTO invoice_event nologging (id,
eid,
root_eid,
invoice_number,
event_type,
event_email_address,
event_ts)
VALUES ( SEQ_INVOICE_EVENT_ID.NEXTVAL,
'111111',
'222222',
TRIM (LEADING 0 FROM pltab (i).billing_document),
'READ',
'some_user@some_company.com',
SYSTIMESTAMP);
v_err_loc := 9;
INSERT INTO backfill_invoice_mapping
VALUES (v_inv_id,
v_guid,
pltab (i).billing_document,
pltab (i).payer_customer,
pltab (i).net_amount);
IF v_count = 10000
THEN
COMMIT;
END IF;
EXCEPTION
WHEN OTHERS
THEN
errString := SQLERRM;
INSERT INTO backfill_invoice_errors
VALUES (
pltab (i).billing_document,
pltab (i).payer_customer,
errString || ' ' || v_err_loc
COMMIT;
END;
END LOOP;
v_err_loc := 10;
INSERT INTO backfill_invoice_timing
VALUES (
ROUND ( (DBMS_UTILITY.get_time - l_start_time) / 100,
2)
|| ' seconds.',
(SELECT COUNT (1)
FROM backfill_invoice_mapping),
(SELECT COUNT (1)
FROM backfill_invoice_errors),
SYSDATE
COMMIT;
EXIT WHEN c%NOTFOUND;
END LOOP;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
errString := SQLERRM;
INSERT INTO backfill_invoice_errors
VALUES (NULL, NULL, errString || ' ' || v_err_loc);
COMMIT;
END;Hello
You could use insert all in your case and make use of sequence.NEXTVAL and sequence.CURRVAL like so (excuse any typos - I can't test without table definitions). I've done the first 2 tables, so it's just a matter of adding the rest in...
INSERT ALL
INTO invoice nologging
VALUES ( SEQ_INVOICE_ID.NEXTVAL,
BILL_DATE,
my_guid,
'111111',
'NONE',
CAST(BILL_DATE AS TIMESTAMP),
CAST(UPDT_DT AS TIMESTAMP),
'READ',
'PAPER',
payer_customer,
parsed_francises,
'111111'
INTO invoice_header
VALUES ( SEQ_INVOICE_ID.CURRVAL,
TRIM (LEADING 0 FROM billing_document), --invoice_num
NULL,
BILL_DATE, --invoice_date
TO_PO_NUMBER,
NULL,
net_amount,
NULL,
tax_amt,
NULL,
NULL,
due_date,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
SYSTIMESTAMP,
NET_AMOUNT_CURRENCY,
bc_value,
BILL_DATE)
SELECT
src.billing_type,
src.currency,
src.billing_document,
src.drop_ship_ind,
src.to_po_number,
src.to_purchase_order,
src.due_date,
src.bill_date,
src.tax_amt,
src.payer_customer,
src.to_acct_no,
src.bill_to_acct_no,
src.net_amount,
src.net_amount_currency,
src.order_dt,
src.to_customer,
src.to_name,
src.franchises,
src.updt_dt,
str_parser (src.FRANCHISES) parsed_franchises,
'import' || TO_CHAR (CURRENT_TIMESTAMP, 'hhmissff') my_guid,
i.bc_value
FROM BACKFILL_INVOICES src,
invsvc_owner.billing_codes i
WHERE i.bc_name = src.BILLING_TYPE;Some things to note
1. Don't commit in a loop - you only add to the run time and load on the box ultimately reducing scalability and removing transactional integrity. Commit once at the end of the job.
2. Make sure you specify the list of columns you are inserting into as well as the values or columns you are selecting. This is good practice as it protects your code from compilation issues in the event of new columns being added to tables. Also it makes it very clear what you are inserting where.
3. If you use WHEN OTHERS THEN... to log something, make sure you either rollback or raise the exception. What you have done in your code is say - I don't care what the problem is, just commit whatever has been done. This is not good practice.
HTH
David
Edited by: Bravid on Oct 13, 2011 4:35 PM -
I have a Mac Pro OS 10.7.5 and have a DVD+R disc with files on it, but it ejects the disk after about 10 seconds--what to do? How can I get the data off this disc? I can see it has been already burned, so files are on there?
Try cleaning the lens and see if that will restore functionality to the DVD drive. Use a DVD lens cleaning disk, if you have a can of compressed air, shoot some into the slot or wrap a fine microfiber cloth (eyeglasses cleaning cloth) around a business card and insert it gently inside the slot.
If no success, make an appointment at an Apple store genius bar and get a free diagnosis from them.
Ciao. -
How can I insert an existing ApDiv into a tab in the Spry Tabbed Panel?
I have 5 of them all containing nested Apdiv within nested ApDivs (a long storie ) that I would like to insert into 5 tabs in the Spry Tabbed Panel.
Please help."Hi Gramp,I realize I have made hard work for myself but I really don't know any better. I also realize now that taking on this project may have been a mistake :-)I taught myself how to use the design side of Dream Weaver. These five ApDivs were created in the content area of the spry tool and it worked fine. (yes a lot of work though)For the first time I looked at the code side. I wanted to try to bring a peace of code from another page for something unrelated and when it didn't work I took it out and without noticing, deleting a line from the Spry tool.Of course like a classic newbe I was working without a backup copy so here I am. Loosing hours of tedious work and on the verve of tears :-)I do have some questions though. My APDiv
What does "apDiv1" stands for and what does "My APDiv" stands for?Is the only thing I have to do is changing this line for my five ApDivs and paste it in the appropriate places in the code? Thanks again,Gilaad
Date: Sat, 16 Jun 2012 20:39:07 -0600
From: [email protected]
To: [email protected]
Subject: How can I insert an existing ApDiv into a tab in the Spry Tabbed Panel?
Re: How can I insert an existing ApDiv into a tab in the Spry Tabbed Panel?
created by Altruistic Gramps in Spry Framework for Ajax - View the full discussion
You have really made hard work for yourself by using APDiv's. I suppose it can be done, but I would not. To answer your question, I have create an example as per#apDiv1
My APDiv
Content 2
Tab 1
Gramps
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4498679#4498679
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4498679#4498679. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Spry Framework for Ajax by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
How can I insert multiple page contents in the page layout properly?
I wanted to create 4 columns on the page layout. These 4 columns are of page contents.
After creating new web page based on that page layout, I attempted to enter 4 different inputs on all 4 columns.
Then, the result (from all columns) becomes the same.
Image - edit the web page based on 4 columns page layout:
Image - after edit & save:
How can I insert multiple page contents in the page layout properly?First, I copied the HTML snippet for the Page Content on Sharepoint's Design Manger. The code of Page Content HTML snippet is shown below:
<div data-name="Page Field: Page Content">
<!--CS: Start Page Field: Page Content Snippet-->
<!--SPM:<%@Register Tagprefix="PageFieldRichHtmlField"
Namespace="Microsoft.SharePoint.Publishing.WebControls"
Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
<!--MS:<PageFieldRichHtmlField:RichHtmlField
FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server">-->
<!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
<div id="ctl02_label" style="display:none">Page Content</div>
<div id="ctl02__ControlWrapper_RichHtmlField" class="ms-rtestate-field"
style="display:inline" aria-labelledby="ctl02_label"><div align="left"
class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer"
nowrap="nowrap"><span class="ms-formfieldlabel"
nowrap="nowrap">Page Content</span></div>
<div class="ms-formfieldvaluecontainer"><div class="ms-rtestate-field">
Page Content field value. Lorem ipsum dolor sit incididuntet dolore.</div>
</div></div></div><!--PE: End of READ-ONLY PREVIEW-->
<!--ME:</PageFieldRichHtmlField:RichHtmlField>-->
<!--CE: End Page Field: Page Content Snippet-->
</div>
After I published the page layout, I found the code for Page Content from its ASPX page. The code is shown below:
<div data-name="Page Field: Page Content">
<PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/></div>
So, I attempted to create 4 columns by using 4 HTML snippets of Page Content on the same page layout. The page layout is generated from HTML file to ASPX file.
Then I edited some parts in ASPX page layout:
<asp:Content runat="server" ContentPlaceHolderID="PlaceHolderMain">
<table>
<tr>
<td style="width:70px;"> </td>
<td style="width:250px; text-align:right;">
<div data-name="Page Field: Page Content">
<PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
</div>
</td>
<td style="width:40px;"> </td>
<td style="width:200px;">
<div data-name="Page Field: Page Content">
<PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
</div>
</td>
<td style="width:25px;"> </td>
<td style="width:200px;">
<div data-name="Page Field: Page Content">
<PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
</div>
</td>
<td style="width:25px;"> </td>
<td style="width:200px;">
<div data-name="Page Field: Page Content">
<PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
</div>
</td>
<td style="width:175px;"> </td>
</tr>
</table>
</asp:Content>
The 4 columns for Page Contents appeared on the web page when I created new page using that page layout. But the problem is that all 4 columns displayed the same result from 4th column. -
How can i insert a song in a keynote presentation?
How can i insert a song in a keynote presentation?
Thanks for tour help.Hmmm... I made the opening in motion, and have set it as a opening bumer. So what I typically do is drag it in to the project time line from the right side of the screen (where my bumbers are) and then add the audio (from itunes) on top of it. So that audio is being duplicated on every single event. This was the only way I knew to do it so I could easily change the date without having to always set the right keyframes. (If there is an easier way, please let me know.)
For the ending bumber I just use a small video clip I made and insert it in each timeline. So I'm assuming that is also being duplicated every single time. -
How can I insert a code to switch between channels?
I’ve got a HP4263A LCR meter which is being used with an ER-18 device to get multiple channel data acquisition, when I go to getting started to trigger the device, but this VI do not have an icon to change the channel how can I insert a code to switch between channels?
I am just trying to use the drivers developed by NI for this device, but I don't know how to work on them to obtain data from three points, or three channels which I am using from an ER-16 device. So all what I have is the driver VI for the HP4263A.the only VI I can use is getting started, because whe I try to run any other one, this message appears:
Error -1073807346 occurred at VISA Write in HP4263A Self-Test.vi.
Possible reasons:
VISA: (Hex 0xBFFF000E) The given session or object reference is invalid.
your help would be very helpful
thanks -
How can I inserting file's line into a oracle table in physycal order
How can I insert the file's line into a oracle table in the same physycal order that they exists in the file ?
I am using "SQL to FILE" km to performing file load into Oracle table, but the order which the records are insered into the oracle table doesn't match with the order of file's lines
How can I guarantee the same file's physycal order in the oracle table( target ) and file( source ) ?
Is it possible throught ODI ?
Thanks,
LucianaHi,
although I understand why use "File to Oracle( SQLLDR )" KM, I haven't the guarantee that in the agent's machine the Oracle Client installed and because when I openned the others projects I saw that anyone in my company use this KM( "File to Oracle( SQLLDR )" )
Tha's why I ask for anyone lead me whith the modification of the previous post in the "uLKM File to SQL", specifing the km step e where put the RECNUM pseudo column
This is fundamental for my ODI project
When I try to alter the "Create Work Table" and "Load Data" step of my "uLKM File to SQL" km, the execution returned me the error below:
=====================> Create Work Table Step
create table <@= vWorkTable @>
C1_LINHA_ARQ VARCHAR2(500) NULL, RECNUM NUMBER(10)
=====================> Load Data Step
select LINHA_ARQ C1_LINHA_ARQ
from TABLE
/*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=ARQ_INSS2SNP$CRLOAD_FILE=/arquivos_odi/ccrs/in/#CCRS_CAD_INSS.vpNOME_ARQUIVOSNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=09SNP$CRFILE_SEP_LINE=0D0ASNP$CRFILE_FIRST_ROW=0SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=LINHA_ARQSNP$CRTYPE_NAME=STRINGSNP$CRORDER=1SNP$CRLINE_OFFSET=1SNP$CRLENGTH=500SNP$CRPRECISION=500SNP$CR$$SNPS_END_KEY*/
insert into ODI_RUN_CONV.C$_0TMP_ODI_INSS_DADOS_ARQ
C1_LINHA_ARQ, RECNUM
values
:C1_LINHA_ARQ, RECNUM
=====================
984 : 42000 : java.sql.BatchUpdateException: ORA-00984: column not allowed here
984 : 42000 : java.sql.SQLSyntaxErrorException: ORA-00984: column not allowed here
java.sql.BatchUpdateException: ORA-00984: column not allowed here
at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:629)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9409)
at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:211)
at com.sunopsis.sql.SnpsQuery.executeBatch(Unknown Source)
...Thanks again gyus,
Luciana
Edited by: 933810 on 31/05/2012 06:04
Edited by: 933810 on 31/05/2012 06:07
Edited by: 933810 on 31/05/2012 06:14 -
How can I insert a C++ programm in labview 5.1;
I am using Labview 5.1 to read data from sensors (analog input), but I would like to read data from a serial RS232 port. How I can do this;If I write a C++ program, how can I insert this in labview;
Ah, I think I understand.
Your ECU is sending a stream of six bytes...
FF,data1,data2,data3,data4,data5
And I guess it just does this continuously.
So, you probably want to continuously read the data and update a data structure that shows all of your engineering data (such as what state the throttle and other things are in).
There are a variety of ways you could handle the reading of data. E.g., you could just read all available data and search for 0xff, or you could read one byte at a time until you find 0xff. You could also just set your termination character to 0xff.
Anyway, once you get your data into LabVIEW as a string, you can use the String to Byte Array function to create an array of int8's. (You could then search i
n there for a -1 value for your synchronization byte.)
Once you have an array of int8's, you can index it and use Number to Boolean Array to convert each int8 into an array of Booleans. This will get you the individual bits that come from the ECU.
Hopefully this makes sense and gets you far enough along.
Brian -
How can i save the data's which i have entered into the table (webdynpro)
Hi,
I have created one view in that username , password fields and one button are there .
While clicking on the button how can i save that data's into the table which i have created??
Where i want to write the code??
please help me...
Thanks
Shyjahi,
in component controller create a method save, on that read the node that containing the user name and password into itab using the code wizard.now write code to insert itab to the dbtable of ur choice. save the method and activate .
now go to ur view, create a button.. on action of that call the method in the comp_controller.
Regards
Sarath
Message was edited by:
sarath satheesan
Maybe you are looking for
-
Hello All; I am working on some text file update VI's, and I am having quite a bit of trouble with tokens... In order to get all my offsets and such correct, I need to input a text file (using Read From Text File), but I want to display all tokens wi
-
?? no info . disk clean run, full uninstall. reinstall. No joy.
-
I cannot open iBooks on my iMac.
When I try to open iBooks on my iMac I get the following message. I have never been able to open iBooks from day one. Since I haven't had a need to use it on my iMac I just let it go, but now I would like to start using it. What might be wrong? T
-
How to explain the business requirement of a file to rfc scenario
Hello Experts, How do i explain the business requirement of 1. FILE TO IDOC. 2. FILE TO RFC. 3. FILE TO JDBC scenarios? Cud anybody explain me how to explain the requirement of these scenarios in an interview?Cu
-
When I attempt to open iPhoto, I receive this message: "You can't open your current photo library using this version of iPhoto. You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPh