Newbie forms question

Hi,
I'm just experimenting with forms (in the development suite) and I have now created a data block with table data, got it running within a browser and was feeling quite pleased with myself.
I have now tried to do a similar thing with a stored procedure and I get the error message FRM-10764 no argument of type table or refcursor.
Now I've done some plsql so I know about ref cursors, I do not however know what a table object is, or more to the point how/why a pl/sql procedure would/could return a table object.
Can anyone explain this concept of how a procudure returns a table object and why is it that forms will not let me just display a single string or numeric response from a procedure?
thanks in advance,
Paul.

Ed,
I am newbie myself on Oracle but I think I can help you on this one. Do the following:
1) Create the buttonl;
2) Assign a WHEN_BUTTON_PRESSED trigger to that button;
3) Use the CALL_FORM built-in procedure to call the second form; (look for examples on the help / forms builder help topics, it's a pretty good source of code sample and examples)
Hope it works out.
Gleisson

Similar Messages

  • Master-Detail Form Questions

    Master-Detail Form Questions
    I have two questions in regards to master-detail forms:
    First, the form I am working on has 25 detail rows displayed to the user. If the user has more than 25 detail records for the master, I want them to be able to add more. For instance, after they enter the 25th record, I would like a pop up window to ask them if they would like to add more detail records for this master. If they select yes, then the records they have entered would be saved and then the form would repopulate with the current master record and another empty 25 detail records.
    Second, I would like the Detail Action to be set to Insert if the user moves to a new detail row and selects an item from a combo box.
    Thanks for any and all help.
    Jeremy.

    Hi Sharmila.
    Is there a way to repopulate only the Master information without populating the detail after the 'Save' button is pressed? I have written code that uses the session variables and repopulates the form with all the data that has just been saved, but I need only the master without the detail.
    Thanks.

  • General place for newbie datamodeler questions?

    With the production release of SQL Developer Data Modeler I'd assume that this forum will draw a bunch of new users. Is there a better place to ask some pretty simple, newbie like questions that won't bother the more seasoned members?
    For instance, I am working in a Rails environment, which has some stringent naming conventions, one of which is that all of the primary key columns are numeric and called "id", with the foreign key linked columns called <table_name>_id.  When engineering a logical model to a relational model, the added foreign key columns are all "id#".  Is there a way I can define a naming rule to keep me from having to redo the relation column names?
    Also, we have a standard set of columns (mostly Rails related) which appear in every table. Can I define a generation rule which automatically includes these tables?
    Thanks

    Thank you. I will try changing that setting.
    IS there a setting which tells the relational model to automatically create pk and fk indexes? I haven't seen one, and manually setting them up is a tedious task. --sw                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Object class deployment - Basic form question

    OK, I subclass calendar object from Oracle provided standard
    object class. What do I need to deploy to use this form now
    apart from calendar.pll and my fmx. What about the object class
    from which I sub-class. Do I need to compile and deploy that
    also? How will form resolve this on run time the parent object
    class as I really did not copy, just sub class and we do not
    deploy original class? Basic form question. Thanks.

    You can set the "help" property on the field (which gives you the little "information" icon link beside the field).
    You could also try adding another field of another class above or below:
    <Display class='InlineAlert'/>
    <Display class='ErrorMessage'/>
    <Display class='HtmlPage'/>
    ..etc
    -Rob

  • Newbie script question... consecutive numbers with update.

    complete newbie type question... this is also my first post.  ( I am using CS3)
    does anyone have a script which can make it so I can add numbers into the text consecutively.
    for example, if this is my text "the big fat dog sat on the very wide mat, but was then displaced by a unfriendly cat."
    and I wanted to place a number 1, number 2, 3, etc at points in the text so it read, "the big fat dog1 sat on the very wide mat2, but was then displaced by a unfriendly cat3." but later wanted to add another number and have later numbers update themselves, so the text then said, "the big fat dog1 sat on the very wide mat2, but was then displaced3 by a unfriendly cat.4".
    by inserting the three, the previous three became four.
    Has anyone got something which might be useful in this regard.
    Many thanks
    Steve

    i wanted to avoid footnotes as they leave a bar at the bottom of each page.
    i wanted a script to do something similar to footnotes but not much further.
    does anyone have just a simple script that can do what I asked?
    Steve

  • Newbie XSan question - authenticating a computer from XSan Admin

    Hello - I have a very newbie XSan question!
    I have 2 computers that connect to an XSan. 1 I am having no problems with. The other I am unable to connect with.
    When I look in XSan Admin the 2nd computer (the one that is not working) is not authenticated.
    So I click on it and choose Authenticate. I enter what I know is an Admin username and password for the computer I am attempting to connect. The dot next to the computers IP turns green with 3 dots in it and then it turns gray again. It just does not connect.
    What is the problem?
    Is it licensing?
    Thanks
    Taj

    You need a different license ID for each machine, plus the admin machine. Do you have that?

  • Forms question  about exceptions

    Hello,
    I am a newbie and hence my question may find very basic, please help me.
    I have a Pl/sql code where I am executing a queryand if the query doesn't retrieve any values I need to show a message.
    My code is something like this:
    select id from table into tmpid where id=:val_id
    some code here
    CALL_form(url);
    If the query fails I need to show a message, how can I do this. Forgive me for my knowledge in forms, as I am a newbie.
    Thanks in advance.
    Newbie

    Declare
      Found1  varchar2(1);
    Begin
      ...whatever code you need here...
      begin
        select 'Y' into Found1
          from table where id=:val_id;
        exception when no_data_found then null;
      end;
      If Found1 is null then
        Message('No can do!!!');
        Raise form_trigger_failure;
      End if;
      ...some code here...
      Call_form(url);
    End;

  • This Newbie Has Questions

    Hi there. I am a newbie to Apple. I purchased the iBook last month and of course, when the MacBook (which had the features I wanted) came out, I rushed out and got one and I'm very pleased with my purchase - but I have a few "newbie" questions:
    1) Printing on a PC based Linksys seems to be a nightmare. I can't get anything printed on the shared HP 2600N and HP1012 printers. I literally have to disconnect them from the PC and plug the USB directly to my MacBook to print. It seems like there should be a better, easier and MacFriendly way of doing this - anyone have an easy solution?
    2) I'm going to purchase Windows XP so I can run my windows programs on this computer. Does anyone have any pre-installation advice?
    3) I have a blackberry device that worked fine with my iBook, but does not work with my MacBook - any suggestions or is there a software compatibility patch?
    4) I transferred everything from my old Mac to my new Mac with no problem. How can I migrate my contacts from Entourage to the Address Book?
    5) I notice that sometimes the MacBook "stalls" or doesn't work fast in some functions...is it just me - I expect the machine to jump quickly...but sometimes I get that annoying pinwheel when opening programs.
    Thanks for your help!

    1) Printing on a PC based Linksys seems to be a
    nightmare. I can't get anything printed on the
    shared HP 2600N and HP1012 printers. I literally
    have to disconnect them from the PC and plug the USB
    directly to my MacBook to print. It seems like
    there should be a better, easier and MacFriendly way
    of doing this - anyone have an easy solution?
    The problem is probably a driver issue.
    Printing to a printer on a XP PC from a Mac running 10.4.x
    http://www.ifelix.co.uk/tech/3015.html
    You may need to use a third-party driver such as the HPIJS drivers or the Gimp-Print drivers, but this is not the case with all printers.
    2) I'm going to purchase Windows XP so I can run my
    windows programs on this computer. Does anyone have
    any pre-installation advice?
    Ensure you get a full version (not an upgrade version) and it comes with XP SP2 already.
    Do not install Boot Camp on a critical machine and make regular backups of your data, this is beta software and there are bugs and issues.
    5) I notice that sometimes the MacBook "stalls" or
    doesn't work fast in some functions...is it just me -
    I expect the machine to jump quickly...but sometimes
    I get that annoying pinwheel when opening programs.
    Are these Universal or PPC only applications?
    iFelix

  • How do I add a Handwritten Signature to my form? And other Form Questions

    Hi there,
    I'm making a form for parents who's kids are going to drive a motorcycle for the first time.
    Now I want to use my laptop with touchscreen for people to fill it in.
    the normal boxes (name, adres etc) with keyboard.
    But the important part is the SIGNATURE which has to be handwritten.
    It's for insurance and legal autorisation from the parents that the kid is allowed to drive and they know the risks and rules.
    How do I add a box in which parents can sign.
    Or is there another solution to make it legal?
    Another question now I might have someones attention:
    After a parent is done filling the form and presses OK or DONE
    Is there a way a parent can choose to use a new blank form or the same form again without date of birth/name/sex
    so he/she can fill the forms faster for the rest of the kids?
    OR
    Is it possible to let a parents say I have 4 kids (with a choice menu)
    and the parent wil get 4 name/age/sex openings and the rest of the form will stay the same?
    And
    Is it possible to export the whole bunch into a excel for easy usage
    Thanks in advance
    and all tips are welcome!
    Love
    Kim

    Just to share some info for this:
    I used to do this sort of thing quite a bit.  What I used was a scanner to scan my hand written signature to an image file.  I would then paste the image file, which supported transparency, over the signature line.  More recently, I used Photoshop to draw a signature saving in a transparent image file.
    Just to warn you though:  you are asking for legal advice, and you are not going to get that here.  I would consult with an attorney to find out exactly what is legal.

  • Mail Form Question

    Hi Folks,
    I'm VERY new to Dreamweaver, have just created a Mail Form in
    PHP and have absolutely no idea what to do with it now. It's one of
    those typical forms with To:/Email:/Message: I know this is a
    painfully basic question but I can't seem to find the answer in
    books, training videos, my hosting provider, etc. I know I need a
    URL to "point" the file to on the server but my internet host had
    no idea what I was talking about.
    If anyone could help it would be greatly appreciated!!
    Thanks, Cynthia

    you can use php on this hosting?
    I'd suggest using the phpformmail script.
    here's my stock cut 'n paste on what to set to what, and why
    1)go to
    http://boaddrink.com
    -->phpformmail
    download it.
    extract the ZIP file.
    More detailed instructions are in the docs folder
    2) open formmail.php in dreamweaver
    Make the following changes (in code view, turn line numbers
    on)
    2a)
    line 4,
    define('CHECK_REFERER', true);
    change to:
    define('CHECK_REFERER', false);
    reason: too many people use a firewall or Norton security to
    restrict this.
    2b)
    Line 43
    $referers = array('www.example.com', 'example.com');
    change to the domain name of your web site.
    reason: this probably isn't needed since we just turned the
    referrer
    checking off. but change it anyway.
    2c)  *this is to hard-code the recipient address into
    the php
    file, where it is totally invisible *
    Line 46
    $recipient_array = array();
    change to:
    $recipient_array = array('me' =>
    '[email protected]');
    **of course, replace [email protected]  with
    the email address
    you want to receive the form data. Also note the single quote
    marks.
    reason: this sets the email address the form results will be
    sent to.
    You can also make a list of possible recipient alias values-
    see the readme
    in the docs folder.
    2d) give the script a default "From" address to use.
    Go to line 41
    Change:
    define('FROM', null);
    to:
    define('FROM', 'Example Name <[email protected]>');
    substituting your name and email address.
    3) now do a File-->Save As and save this file to within
    this Local Site
    folder. save it as anythingyouwant.php
    4) in dw's File Panel, find anythingyouwant.php and upload it
    to the remote
    site.
    5) Now open your form html file in dreamweaver,
    5a)click the mouse into the form area, and select the
    <form> tag on the
    lower left margin of the design window.
    In the Property Inspector, it should now show the properties
    of the <form>
    tag. In the Property Inspector, to the right of the ACTION
    line, click the
    folder icon and browse to and select the anythingyouwant.php
    file
    you've saved to within this site.
    5b) now click within the form area and go to dw
    menu-->Insert-->Form
    Objects-->Hidden Field
    This inserts a hidden form field.
    In the property inspector, change the NAME/ID of this field
    to: recipient
    And the VALUE of this field to: me
    the code should look like:
    <input name="recipient" type="hidden" id="recipient"
    value="me">
    This tells the script to use the "me" recipient_alias value
    as the email
    address to send the form to.
    5c: Do you have a form field to collect the user's email
    address?
    If yes, if this field is named exactly "email" then the
    script will use the
    user's email as the reply to in the outgoing email
    6) Save and upload the form page.
    Try the form from the website.
    Optional:
    1-make a new page for a thank you for submitting message.
    In the form, insert another hidden field.
    Name: redirect
    Value:  the full absolute
    http:// address to the new thank you page.
    If you don't set a redirect value- the form script will build
    a "thank you,
    here is what you submitted" page. If you want to use that
    dynamic page-
    upload the .css file that it uses.
    2- If you have a field in the form to collect the visitor's
    email address,
    IF you name this field  in the form exactly  
     email   then the visitor's
    email address will be the Reply To address in the outgoing
    email.
    There are 30 or so other optional form fields to control the
    form- see the
    readme in the docs folder. One of those optional control
    fields is
    verification.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • More forms questions, cannot get form to align

    I tried the methods suggested here and at various sites, but could be missing something.
    I cannot get the form to drop into my template. I created one at wufoo and one a freeback, published my site to a folder, then edited the page in textedit by search for my "formcode" word with the html.
    The problem is the form posts at the top of the file and not on the actual page.
    Any ideas why?

    Thanks folks, I went ahead and bought iweb enhancer and it worked where my efforts failed. Very good program and very reasonable price as well.
    Chad, the developer, is amazingly fast with replies to questions and with good advice.
    I can still post the code if you are curious. I really thought I followed your instructions and still could not get it to work.
    thanks again for your replies.

  • Newbie wireless question (slightly off-topic)

    I didn't want to post this here as it's not entirely an Airport-specific question. I posted this to the iBook forums, but nobody there has answered so my apologies if this is not welcome here. (Any moderators can remove it if that's the case.)
    I've been using computers extensively for over a decade, but I'm a total newbie to wifi. I just set up a wireless network in my house and would appreciate some advice/feedback.
    My main concerns are whether or not my network is reasonably secure. I know there is no such thing as perfect security, but I don't know if what I've done is good enough or not.
    I don't have an Airport base station, but I do have a D-Link Airplus G and an Airport card in my iBook. I have WEP set up on the router and I have enabled MAC filtering, listing only my desktop and my iBook, excluding all others from the network.
    I'm fairly certain that nobody in my neighborhood is going to get into my machines this way or be able to sniff my network data stream, but am I right in assuming that nobody can "piggyback" on my Internet connection too? Presumably, if everyone but my own machines are MAC-filtered and kept out, then the Internet connection is also protected. Is that how it works?

    WEP and MAC filtering are better than nothing, but you can do better. These are my suggestions:
    1. Use WPA with a pre-shared key (PSK) and TKIP encryption on your Netgear router, along with an alphanumeric passphrase of at least eight characters not found in any dictionary. The equivalent setting on your Mac is "WPA Personal". Unlike WEP security (which an expert can crack in under half an hour), WPA security is currently unhackable by any practical means as long as you use a non-dictionary passphrase. One last point - WPA security requires all your wireless Macs to be running MacOS 10.3 or newer.
    2. MAC filtering is (these days) essentially useless as a wireless security method. Using "packet sniffing" of traffic on your wireless network to find out what MAC addresses are used by computers on your network, and a PC that allows its MAC address to be cloned so that it is identical to the MAC address of one your own wireless computers (which is possible with most PC wireless network adapters) even an amateur hacker can defeat MAC address filtering in minutes.
    By the way - I don't think your posted message here is off topic. In my opinion, the Airport discussion forums are the best place to post any questions related to usage of wireless networks. Questions of this nature are virtually never specific to any Mac model.

  • Designer 7x Forms Question

    I'm not sure if this question has been asked or not, so here goes.
    I have a list box with 50 different items in it. Depending on the item selected by my user, I want an associated interactive PDF form to be retrieved. I've set up a master page in Designer and have identified a subform (although I'm not sure if that's necessary) and have saved this file as a template.
    I could take the "easy" route of just having bookmarks of all 50 PDF forms but I want to make it work "slick."
    I've been searching through every bit of documentation available trying to see if this is even possible.
    If there's an answer, please keep it as simple as possible. While not completely new to Designer, I'm not a programmer and if this is something that's going to require java scripting then I'm lost.
    Thanks!
    Barb

    Hi Barbara,
    Unfortunately what you want to do will require that you write some java script.
    I have put together a sample with a list box that contains three files. To get the sample to work select the list box, click on the object tab and then on the binding sub-tab. Change the Value of all three Items to point to a different PDF files on your system.
    If you then open the sample in acrobat and select a item from the list the associated PDF will be opened.
    The files are opened by the following line of javascript which was added to the change event of the list box.
    app.openDoc(xfa.form.form1.ListBox1.boundItem(xfa.event.newText));
    The xfa.event.newText returns the text of the selected item.
    The xfa.form.form1.ListBox1.boundItem(xfa.event.newText) returns the value associated with the selected item which is the absolute path of the PDF file to be open.
    The app.openDoc(...) opens the file specified.
    Hope this helps
    Denver
    Adobe Enterprise Developer Support

  • Fillable forms question - FrameMaker to PDF - Without losing copy protection options

    Hello,
    I'm looking for a solution that will allow us to integrate fields in a Chapter Review-style question area where users can comment their answers (instead of using StickyNotes). It must disallow printing/copying etc to meet content protection requirements. I've dug through all of my options and can't seem to find any viable method without allowing the "Edit Content" option which allows users to copy the content.
    We're currently using FrameMaker 9 but will be jumping to TCS5 soon.
    As an example, we would want something like the following question, which exists in a FrameMaker document, to be commented on:
    2. Which DID/DNIS mapping is recommended for mapping a single extension?
    Thank you in advance for any assistance with this.

    > It must disallow printing/copying etc to meet content protection requirements.
    ebook format copy protection is largely an illusion. Leaving aside the availability of euphemistically named "password recovery" software, the widespread availability of low-cost (often bundled free) OCR software means: If you can see it, you can recover the text, unless it's heavily CAPTCHA'd.
    Even if the user is blocked from reading the computer's frame buffer (i.e., prevented from using the PrintScreen key on Windows), most cell phones now have cameras with more than sufficient resolution for full text recovery. Some users even know how to turn off the flash .
    If the supposedly eyes-only document is available on the web, I would not be the least bit surprised to learn that one or more search engines has already OCR'd and indexed every word in it (you can be sure that the NSA's has).
    Managers asking for copy protection need to realize that they are making the authoring task much harder for little benefit, and often creating pointless annoyance for end users. Copy protection might briefly deter casual copiers, but is no obstacle at all to anyone the least bit tech savvy.
    If copy prevention really matters, each copy of the document needs to be computer-generated for the specific licensed end user, with user-customized, easily traced content.
    All that aside, and assuming management can't be dissuaded on the copy protection issue, does TimeSavers support insertion of form fields while preserving security settings?

  • Acrobat Forms Question

    Hi there,
    Quick question on forms, I created some forms in Acrobat, but when the user fills them out, they can't save and email them, it doesn't let them, how do I remove this protection?
    Thanks!

    Acrobat 7.0.9 also lets your users reply to forms with User Rights Enabled (albeit a bit more work in the process in Acrobat 7.0.9 than in 8 ). But it works.

Maybe you are looking for

  • Creating a Webi report from R/3 Data

    Hi Gurus, We are running SAP ECC6 with EHP5. Is it possible to create a Webi report directly from the R/3 (without BW system). I read some where that it can be achieved with Data Federator. Any one has an idea ? Appreciate your help. Regards, Munir

  • Looking for an author to write a book on Flash CS5

    I'm searching for a qualified individual(s) who might be interested in writing an intermediate-advanced level book for the retail market. Please contact me directly for more information at [email protected]  Thanks so much!

  • Adobe Acrobat wont open

    I have seen a thing saying that if installed with the Suite package I can deactivate it and reactivate it, but I am sure I had it before I bought the suite, and it was working just fine until recently. I'm not sure why it wont open up at all, and I d

  • Is it bad for my mac to be use on carpet

    ^^^

  • Zen Stone Plus Speaker. Browse music without starting the first song in the next fold

    Hi everyone, I'm not sure what I want is possible. I've had this player for about a?week now and I believe I could browse to the folders while listening to a song. For some reason when I do that now the player?start playing the first song of every fo