Problem when importing a SQL file into Forms

Hello friends at www.oracle.com ,
I have a Forms program which has to open a SQL external file, read each SQL instruction into a variable, execute it and read the next one, as in the example (for illustration purposes) below.
create table ...
insert into log_table ...
delete from table ...
So, whenever Forms finds the slash, it will execute the instruction via FORMS_DDL built-in.
The problem is that we have a SQL instruction that can't be executed via Forms. The reasons:
- It is a SQL that creates a package body
- The SQL that creates the package code is very big (more than 32 kb), and this leads to the problem below
- The 32 kb SQL code is sent to a Forms variable, and a FORMS_DDL should execute it, but FORMS_DDL has a limitation: the maximum that FORMS_DDL can read is 32 kb
- I can't find a way for me to break the package code into two or more codes because I cannot alter a package to add procedures or functions
Could you please tell me what should I do? If the text above is not clear, please ask me more details.
Best regards,

Hello Francois,
Why don't you run your SQL file with Sql*Plus ?sincere thanks for your answer.
Your idea would be the ideal solution, but the package needs to be created via Forms only, for maintenance purposes. A Forms program needs to handle everything that comes from this SQL external file.
Another way could be creating the package inside Forms, but the idea is to send all SQL instructions to an external file, for the same reason as above (that is, maintenance).
Best regards,

Similar Messages

  • A problem with importing layered PSD file into Flash

    Hi.
    There's a problem with importing layered PSD file into Flash.
    If I import a layered PSD file, some part the color of the lower layer is shown at the edge of objects or shadows. Instead, if I crop each layers first and import them, there's no problem.
    If the higher layer has brush or transparent effects, it becomes worse.
    Any help with this problem?
    Thanks.

    How was the original art created? Was the original RGB or CMYK? What is the resolution of the Photoshop file? Flash only works well with RGB and 72 pixel per inch resolution. If your original art is not set this way, then Flash will attempt to convert it as it imports it. Flash uses the sRGB color space. You'll get the best color translation if your Photoshop file is using this color preference.

  • Video is not scaling properly when importing a flv file into dreamweaver

    Hi I have recently imported a flv video into dreamweaver and i have specified the width and height (including skin size)  but i keep getting white margins at the bottom or the top of the video.  It has nothing to do with the css because ive checked and when i change the size of the video in the html file it worked for some browers - google chrome, firefox but still had the white border on internet explorer.  I dont understand why different browers are rendering a video width and height different and whats causing the white borders to be there in the first place.  Can anyone help me with this? 
    I have spent two weeks trying to sort this out after failing to add a clickable thumbnail to play the video as the video image on the site is black which doesnt look very good.  Is there any way that i can choose the thumbnail that flash player decides to feature for the video?  I know you can do this with youtube videos.            
    website in question - www.juanajimenezflamenco.co.uk/videos.html

    I just don't see any white border on the right hand videos... if the problem continues, post a screen shot of what you are seeing. Also, 250 x 199 is not a 4:3 aspect ratio... 250/4 = 62.5, 62.5x3= 187.5.... so you are off by 11 pixels or so. Correct height for a 250 wide video shot at 4:3 aspect ratio, is 188px.
    Now on the left hand YouTube videos, the controls are under the video, not over the top of the video as the right hand videos are... so the height of the <object>.... not the video itself... the <object> needs to be tall enough to hold the video and the controls (video height + controls height).
    And since you are working in standard 4:3 aspect ratio video, you need to be careful to select the correct pixel shape, square or rectangle when starting any video project. Your video editing program, Premiere Elements should allow you to select between square pixels (used in computer monitors) or rectangle pixels (used in TVs). Selecting the wrong shaped pixel at the very start of the video capture process can mean distorted video once you render the project.
    Because TV pixels are rectangle, slightly taller than they are wide... it doesn't take as many rectangle TV pixels to equal the same height as square computor monitor pixels. For example, when you start a video project to output to DVD (TV viewing) you would choose rectangle pixels, so a 720 x 480 video dimensions would give you the correct 4:3 aspect ratio.... for TV.... but 720 x 480 is NOT a 4:3 aspect ratio mathmatically ... 720/4=180, 180x3=540 !! So for computer monitor viewing you would select square pixels at the very start of your video capture process and capture the video at 720x540, giving you the correct video aspect ratio for viewing on monitors.
    So besides setting the correct aspect ratio for the video in the <object> be sure that you started with the correct pixel shape.
    This might also give you some help... or just Google "square vs rectangle pixels" for more info:
    http://library.creativecow.net/articles/velte_mike/p6/video-tutorial
    Best wishes,
    Adninjastrator

  • When importing a Quicktime file into iMovie the audio is inconsistently synchronised with the video. Any ideas?

    I record using Quicktime and the built in webcam on my MacBook Pro. When importing the file to iMovie the audio is inconsistent in its syncronisation with the video. Any ideas?

    This is probably caused by the internal webcam on Apple devices being optimized for FaceTime rather than for movie making. In FaceTime, the goal is to transmit the information using a little bandwidth as possible, so the video will be recorded at a variable frame rate. The frame rate will get low if you are still, and will speed up if there is a lot of motion.
    To fix, I would suggest that you use a free app like MPEG Streamclip. Drag the clip into MPEG Streamclip and export it out at a constant framerate.
    If it is an HD movie, I suggest exporting it from MPEG Streamclip using FILE/EXPORT TO QUICKTIME. Choose Apple Intermediate Codec as your video compression. For sound, choose uncompressed 48khz. That should work, but I can't test it right now. If MPEG Streamclip does not work for you, let me know and I can recommend another free tool.

  • Problem when chenging a word file into PDF

    when I convert a word file into a PDF one, the whole font of the file changes. I use in the original document arial 12, when I convert the file the size and font of the whole file changes, what can I do to avoid that to happen??? IT'S URGENT I use microsoft word 2010

    Hi astridlenina,
    How well a file converts depends largely on the quality of the original file.
    Would you send your PDF document to [email protected] as an email attachment? 
    I will check it from my end.Please add the link to this forum post for reference.
    Regards,
    Florence

  • No sound when importing AVCHD MTS files into premiere cs5.5

    Hello
    I have footage that was shot with the sony nx sf-100 and it is ACVHD mts files.
    when I import the files to the bin, it is being imported without sound (no sound track at all when dragged into the timeline).
    The footage has sound - that has been confirmed.
    I am working in an AVCHD sequence and I'm importing the files using the media browser.
    There are many refrences to this problem online - but all give the solution of recompresing the videos in a new format, although every documentaion cliams that premiere is supposed to take AVCHD natively including sound.
    Does anyone have a solution for this?
    Thanks,
    Oded

    My apologies. I beleive I mixed up my versions for support. 5.5.x should support PCM audio. Thank you, Jeff.
    I have confirmed that I am indeed getting audio with files from a Sony NEX FS-100 camera, with CS5.5.2 on my systems. Oded, would it be possible to send me a sample file that exhibits this issue for you?
    Things to try are deleting your Media cache (Preferences > Media > Media Cache Database, click Clean button). Make certain that your copy of Premiere Pro is activated: check under Help menu you should see "Deactivate..." noted.
    Thank you.

  • No audio when importing .M2TS video file into PP

    Hello hopefully someone can give some insite to why I'm having this problem. I'm using the Hauppauge HD PVR to capture HD footage from my DVR
    and I'm getting mixed results when I import into PP. The video is fine and sometimes the audio works and other times it doesn't, I let PP comform the file before I try editing it. The captures are @1920 x 1080 in 5.1 audio, if I capture with just 2 channel audio I have no problem and everything is fine but capturing 2 channel audio kinda defeats the purpose of doing highdef to Bluray. When I view the same file that doesn't have audio in PP with a player everything plays and sounds fine, so I know the capturing process is fine. Any suggestions would appreciated!

    Welcome to the forum.
    First, what version of PrPro are you using?
    In earlier versions, pre-CS4.1, you need to copy the AC3 .dll from Encore to PrPro, to use AC3 Audio. In CS4.1 - CS 4.2, that is no longer necessary.
    Now a note on Exporting DD 5.1 SS. You will need the Minnetonka SurCode DD 5.1 SS plug-in. You get 3 trials of it, then must purchase it to Export as DD 5.1 SS. If you go this route, purchase from within PrPro, as you will get an Adobe-user discount of ~ US$50. If you buy from the Minnetonka Audio site, you'll pay full price.
    Also note that Hauppage might not create 100% DVD/BD compliant DD 5.1 SS. That could be an issue too.
    Good luck,
    Hunt

  • Some problems to import AFX CS6 file into PREMIERE CS5

    Hi and thank you for your help
    My problem after an update from AFX CS5 to AFX CS6:
    I work with Premiere CS5. I arranged some clips X, Y, and Z. Now I would like to transform clip Y into an AFX compositon. I have PREMIERE CS5, AFX CS5 and AFX CS6. If I click "transform into AFX composition" AFX CS6 will open. Now I could do my work in AFX CS6 but when I'm finished and go back to PREMIERE. PREMIERE CS5 wont work with this new AFX CS6 file. It appears an empty dialog box with COMPOSITION but there is no COMPOSITION I can select.
    My question:
    I work with PREMIERE CS5 how can I change the AFX version from CS6 back to CS5 ?
    Thank you very much folks!!

    Just to clarify... you are asking how to change the dynamic link out of Premiere so it opens AFX CS5 instead of AFX CS6, correct?
    Sorry to say I do not have an answer to that. But if you are working with just one clip ("Y" in your example) then you could begin a new AFX CS5 project (through the normal AFX open process), import that one clip, do your thing, save it, and then import the AFX CS5 project into Premiere CS5. Not as elegant as what you hoped for, so hopefully someone can answer your original question.

  • Skip a column when importing a text file into Excel 2010

    Hi,
    I have a formatted Excel 2010 spreadsheet that I want to import data from a .txt file located on my local drive. The third column of the spreadsheet is a concantenate formula that converts the second column from a Hex formatted value to a Dec formatted value.
    I want the first two columns of the text file to import into the first two columns of the spreadsheet and skip the third column then import the remaining columns from the text file to the spreadsheet. Is there an easy way to do this or do I need a VBA code
    and if so can you provide that to me?
    Thank you,
    Jennifer

    Hi Tony,
    I am sorry if I didn't express my issue more clearly. Where I need to skip a column is in the Excel spreadsheet. I want to import all the columns from the text file. I want the first two columns from the text to import to the first two columns in the Excel
    sheet A and B, skip the third column C in the spreadsheet, where I have a formula to convert the second column B values from a Hex format (imported data) to a Dec format, then continue to import columns 3, 4, and 5 from the text to spreadsheet columns D, E,
    and F. I would think the function would be in the Excel spreadsheet maybe some type of protection setting or something similar, if it can even be done. 
    Thank you for taking the time to help me out with this.
    Jennifer

  • Problem when import a dump file to a database.

    Hi.
    I created the tablespace as following:
    CREATE TABLESPACE BDS_L_DATA datafile '/local/target/oracle/data/orcl/l_data.dbf'
    size 100M
    autoextend on maxsize unlimited ;
    I'm new to Oracle and trying to import a dump to a database and got this error.
    Please help me to fix this problem:
    IMP-00003: ORACLE error 1659 encountered
    ORA-01659: unable to allocate MINEXTENTS beyond 48 in tablespace BDS_L_DATA
    IMP-00017: following statement failed with ORACLE error 1659:
    "CREATE TABLE "AUDIT_LOG" ("ACL_SYS_ID" NUMBER NOT NULL ENABLE, "ACL_CREATE_"
    "TS" DATE NOT NULL ENABLE, "ACL_CREATE_UI" VARCHAR2(15) NOT NULL ENABLE, "AC"
    "L_ACTION_CD" CHAR(1) NOT NULL ENABLE, "ACL_TABLE_NM" VARCHAR2(30) NOT NULL "
    "ENABLE, "ACL_COLUMN_NM" VARCHAR2(30), "ACL_PRIMARY_KEY_TX" VARCHAR2(250), ""
    "ACL_PRIMARY_KEY2_TX" VARCHAR2(250), "ACL_PRIMARY_KEY3_TX" VARCHAR2(250), "A"
    "CL_PRIMARY_KEY4_TX" VARCHAR2(250), "ACL_PRIMARY_KEY5_TX" VARCHAR2(250), "AC"
    "L_PRIMARY_KEY6_TX" VARCHAR2(250), "ACL_PRIMARY_KEY7_TX" VARCHAR2(250), "ACL"
    "_PRIMARY_KEY8_TX" VARCHAR2(250), "ACL_PRIMARY_KEY9_TX" VARCHAR2(250), "ACL_"
    "PRIMARY_KEY10_TX" VARCHAR2(250), "ACL_BEFORE_DATA_SNPSHT_TX" VARCHAR2(2000)"
    ", "ACL_AFTER_DATA_SNPSHT_TX" VARCHAR2(2000), "ACL_REQUEST_TS" DATE, "ACL_RE"
    "QUESTOR_UI" VARCHAR2(15)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 ST"
    "ORAGE(INITIAL 52428800 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "BDS_L_DAT"
    "A" LOGGING NOCOMPRESS"
    Thanks

    Thanks for the quick response. However, It wasn't what i asked.
    I like to addfile to the tablespace as you said.
    What's the command?
    I did like this:
    ALTER TABLESPACE BDS_L_DATA ADD datafile '/local/target/oracle/data/orcl/l_data1.dbf' size 4M AUTOEXTEND ON;
    Still got error about tablespace:
    IMP-00017: following statement failed with ORACLE error 1659:
    "CREATE TABLE "DTC_INSTR_ACTVY" ("SEC_CUSIP_NO" VARCHAR2(9) NOT NULL ENABLE,"
    " "DAC_ACCT_ID" VARCHAR2(12) NOT NULL ENABLE, "ACC_DEALER_ID" VARCHAR2(6) NO"
    "T NULL ENABLE, "DIA_RECORD_DT" DATE NOT NULL ENABLE, "STY_SEC_TY_CD" VARCHA"
    "R2(6) NOT NULL ENABLE, "DIA_ORIG_AVAIL_PAR_VL" NUMBER(17, 2) NOT NULL ENABL"
    "E, "DIA_COLLAT_PAR_VL" NUMBER(17, 2) NOT NULL ENABLE, "DIA_PAY_PAR_VL" NUMB"
    "ER(17, 2) NOT NULL ENABLE, "DIA_CREATE_TS" DATE NOT NULL ENABLE, "DIA_CREAT"
    "E_UI" VARCHAR2(15) NOT NULL ENABLE, "DIA_UPDATE_TS" DATE, "DIA_UPDATE_UI" V"
    "ARCHAR2(15), "DIA_SCHED_PAY_DT" DATE, "DIA_CALC_SHARE_QY" NUMBER(21, 6), "D"
    "IA_INT_AM" NUMBER(17, 2), "DIA_INT_RT" NUMBER(14, 10), "DIA_PRINCIPAL_AM" N"
    "UMBER(17, 2), "DIA_PRINCIPAL_RT" NUMBER(14, 10), "DIA_ACTION_CD" VARCHAR2(1"
    "), "DIA_ACTVY_TY" VARCHAR2(3), "ACC_SOURCE_SYS_CD" VARCHAR2(3)) PCTFREE 10"
    " PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 52428800 FREELISTS 1 FR"
    "EELIST GROUPS 1) TABLESPACE "BDS_L_DATA" LOGGING NOCOMPRESS"
    IMP-00003: ORACLE error 1659 encountered
    ORA-01659: unable to allocate MINEXTENTS beyond 20 in tablespace BDS_L_DATA
    And i got another error from the import job as well:
    ORA-06564: object XTBL_DAT_DIR does not exist.
    Anybody knows what the object XTBL_DAT_DIR is?

  • Audio component not apearing when importing AVCHD .MTS files

    When importing AVCHD .MTS files into Premiere Pro the Audio component is not available (also in After Effects and Media Encoder)
    What am I doing wrong :/

    You could most likely convert them using a program like 5DTORGB, and then pull them back into Premiere. Although there is a chance this won't work, however in most cases I find it usually does work. Just be prepared to lose your metadata.
    If your on a PC I'd recommend downloading their beta version it will allow you to transcode your AVCHD to ProRes HQ.
    http://rarevision.com/5dtorgb/
    All you have to is provide them a correct email address and they'll send you a download link. When you transcode though keep in mind that it's going to make your file sizes much much larger, however this because ProRes is much less compressed than AVCHD video is. You do need to keep in mind though that ProRes HQ is visually lossless. If you chose to use another free converter program you'll most likely get stuck chosing a lossy format. Another nice thing though, is that it works on MAC too. Your shooter needs to know not to do this again though, because as you already know at this point. It can cause big issues...

  • Can,t import mp3 music files into Lightroom 5 slideshow says it a invalid format,can you give me some guidance please

    Until I updated lightroom to 5.6 I had no problem with importing mp3 music files into slideshow but since then it informs me it is not a valid format.
    This is very frustrating as have made many slideshow of Weddings,Christenings  etc & have been really pleased with the result & so have my customers.
    Can any of you guys assist me with this problem
    Dave

    I have the same problem, i have also contact by the telefone but they have no solution
    Jean - Pierre

  • Problems when importing multiple files into key frames

    I'm creating an interactive flash application that uses hundreds of individual renders from a 3d modelling app.  The image file size is 800 x 600.  Each sequence that i import to the stage is around 120 images and each gets put into a separate key frame.  The problem is, often when I import batches of files into flash the program crashes and stops responding. The problem gets worse after each succesful import ie. after importing the first lot of files, its unlikely that the second lot of files will import.
    Interestingly, I dont have this problem on my pc.  So I can  do all the importing on my pc, but when I try and compile the swf file my pc does not create a file and sometimes crashes.  So I am having to import on my pc and compile the swf on my mac.
    Anyone else having similar problems? is there a better way of going about this?

    flash is limited to 16,000 frames.
    use several swfs and load them into a main swf.

  • Importing third party XML files into form-based publishing

    Hi,
    I want to import third party XML files into form-based publishing. My problem is that when I open the files, they are presented as normal XML files.
    The 'type' property is not set to "form-based publishing". That's the reason no form is linked to the XML file.
    Is there a way to change the value of this 'type' property? Then I can set it to "form-based publishing".
    Message was edited by: E. van der Palen

    Hi,
       You should take into account two things:
    1. XML Repository filter
    System Administration-System Configuration-KM-CM-Repository Filters-choose XML Forms Repository Filter
    edit it and add your repository.
    After that you have to restart it.
    2. Resource Type.
    You should modify cm_resourcetype property to set form-based publishing.
    You could edit this xml file using form builder and then set this parameter.
    Patricio.

  • Bizarre problem trying to import .MTS (AVCHD) files into PSE7 Organizer

    Hi
    b Summary of problem:
    *I recently upgraded to PSE 7 / PRE 7
    *I am trying to import .MTS (AVCHD) files into the PSE7 Organizer
    *I get a "...did not contain any supported file types..." error on attempted import
    b HOWEVER...
    *I can edit same footage in PRE7
    *This footage is automatically added to the Organizer
    *I can play this footage in the PSE7 organizer but generating thumbnails takes ages
    *Camera: Sony HDR SR12 producing .MTS files (full 1920x1080i HD)
    *PC: Intel Core i7 940 CPU, 6GB RAM, RADEON HD 4870 512MB
    *OS: Vista 64 bit
    b Detail:
    I have recently upgraded my PRE/PSE bundle to ver 7 primarily because the new version of PRE boasts support for AVCHD.
    Having installed the new software I quickly tried editing footage in PRE7 with video taken on my Sony HDR SR12 camera (footage taken in full 1920x1080i HD) and it works! Hoorah! I can now finally edit AVCHD footage in it's native format using PRE. Thank you Adobe!
    But my joy was very shortlived because when I tried to import some other footage from the same batch into my PSE7 Video Catalog it wouldn't work. I got a pop up box containing the following error:
    i "Nothing was imported. The file(s) or folder(s) selected to import did not contain any supported file types, or the files are already in the catalog."
    Under this message is a list of the files that I tried to import. Next to each one there is a reason (it's the same reason for each clip):
    i "Reason: The file is damaged or is a format that cannot be included in the Organizer."
    To import files I use the following method: File / Get Photos and Videos / From Files and Folders
    HOWEVER, the files that I imported directly into PRE7 in order to edit them have (surprise, surprise!) automatically been added PSE7 Organizer's Catalog. It takes a quite a while to generate a thumbnail for each clip but it does eventually do it and when it does I can play that footage in PSE7.
    Just in case you're confused by this stage... If I try and manually add files to the PSE7 Organizer it doesn't work BUT if I edit that footage in PRE7 and then load the PSE7 Organizer I see the footage has been automatically added. This makes no sense whatsoever!
    Am I doing something really stupid here? Why oh why will the PSE7 Organizer not import .MTS (AVCHD) files?!
    NB: While searching for a solution to this problem I have, thanks to this Forum, found out about the K-Lite Codec Pack. I downloaded and installed the Basic pack v4.4.5 and now I can, at least, play my .MTS video files in Windows Media Player... I wish I had found out about that a couple of months ago because it would have saved me from buying Cyberlink PowerDVD 8!
    Please someone help before I lose the plot.
    Thanks
    Patrick
    b PC: Intel Core i7 940 CPU, 6GB RAM, RADEON HD 4870 512MB, Vista 64 bit
    b Camera: Sony HDR SR12 producing .MTS files (footage in full 1920x1080i HD)

    Hi
    I'd just like to add an update to this post.
    b Summary:
    *K-Lite Codec Pack clashes with Sony's Picture Motion Browser (PMB) software
    *Analysis of video in Sony's PMB is well worth doing!
    *You can Drag and Drop clips from Sony's PMB into PRE7
    b Detail:
    As you've probably gathered I have now settled on using Sony's Picture Motion Browser (PMB) to Catalog all my video. Sorry Adobe to talk about someone elses product but the Adobe Organizer just can't cope with AVCHD footage no matter how you manage to import it! It's far too sluggish and my PC has an Intel Core i7 940 CPU with 6GB RAM and a 10,000 RPM HDD!
    Anyway, in my first post you'll have read me raving about the K-Lite Codec Pack but sadly I've had to uninstall it because it kept on causing PMB to crash. PMB runs much smoother and quicker WITHOUT that codec pack. Something about it clashed with PMB. The once agile PMB became sluggish and unresponsive.
    Having now removed the codec pack PMB is back to being agile and generaly lovely.
    To view AVCHD footage outside of PMB I have reverted to using Cyberlink's PowerDVD 8 - there's always a pregnant pause between double-clicking on the clip and it playing but that's the only drawback.
    If you are going to use Sony's PMB for cataloging your video collection (and I recommend you do so BUT only if you have AVCHD footage - otherwise stick to Adobe's Organiser) then I can fully recommend "Analyzing" all of your footage. This takes time and a bit of patience because it kept stopping for no apparent reason but would readily start up again (without having to do anything else) BUT once it's done it'll reward you with the following:
    *Filter on any combination of Scenery, People, Smiles - e.g. with a click of a button you can isolate footage that contains smiles, etc
    *Face Search - if you select some or all of the footage in the right-hand pane it will then put a small thumbnail for all of the different faces in that selected footage in the bottom "Face Search" pane. If you then click on one of those thumbnails it will jump to the clip(s) that contain that face and grey out all the other clips
    *Expand Videos - This tool is brilliant! In normal viewing mode you get a thumbnail of the video whether you're in Folder view, Calender view or Detail List view. If, however, you select "Expand Videos" from the tool bar it will show you a series of frames contained within that clip. You can choose from "Highlights" or various regular intervals (5 secs, 10 sec, 30 sec, 1 min, etc). The Highlights option does a pretty good job of picking out the significant changes within the clip
    Lastly, I have discovered that you can drag a clip from Sony's PMB into PRE7. It won't let you put it directly onto the Timeline but it will let you drop it into the Project file list (found under the Edit tab).
    I do hope that this info has helped others like me who are trying to get to grips with editing and cataloging AVCHD footage.
    Patrick

Maybe you are looking for