How a Synonym works in APEX

I have been trying to set up a table for users to Insert, Update, or delete. This table is in a synonym from another schema and I can't get it to show up how I would like so that the users can modify the table.
When I look at the synonym from the Object Browser, I can not see any fields, Is this Correct?
I would like to show the fields for this table in a tabular form for update, but the forms only accepts tables unless you use a SQL query, Is there a way to show a synonym's fields in a form for Update, Insert, or delete?
Whwn I use a sql query for the synonym, no values shw up when I run the form, any reason why?
Thanks
Rob

Hi,
i don't have a clue, i mean, without seeing the application it's hard to say.
Clearly you need to find and replace each and every occurrence of the dummy table name and put the name of the synonym, along with the name of the primary key.
I never tried to use rowid as primary key, so i cannot say if that works or not, i'd stay on the safe side and define a primary key on the table, a simple ID column with a sequence number (you can use it inside a trigger or let apex use the sequence directly).
Bye,
Flavio
http://www.oraclequirks.com

Similar Messages

  • How does the new shuttle control work in Apex 3.1?

    Hi,
    I have tried creating a shuttle type control in Apex 3.1. I have based it on a list of Items from my Items table. I can move Items from the left side to the right, and from there I can move them up & down, but whatever I do only seems to affect the page display and has no effect on my tables.
    Can anyone explain how this control works and what it's meant to do? Could I, for example, use it to copy records from one table to another?
    Many thanks,
    Keith.

    Keith,
    The Shuttle is a type of multi-select. It produces a comma delimited string of your selected values. It is useful in wizards, where you need to select multiple items from a single list (like selecting columns from a table). You can also use it against a 'real' table if you have not normalized. Let's say you have a table that stores meetings and one column lists the people invited. You could use a shuttle to select invitees (using an lov from your people table).
    -- Sharon

  • How does SHUTTLES work

    How does shuttles work? How are values transferred from the left list to the right list. Is there a hidden table for the list on the right? How does APEX knows which values were selected (in the list on the right)?

    Shuttles use JavaScript to move data from one item to another.
    If you add a shuttle to a page, there will actually be two items generated on that page: P1_SHUTTLE_LEFT & P1_SHUTTLE_RIGHT. You can simply refer to the shuttle as P1_SHUTTLE; APEX uses the other two names as it shuttles items back and forth.
    Since all of this shuttling takes place in the browser, there is no need for any temporary database tables.
    Thanks,
    - Scott -

  • Can and How to Use JQuary In APex 3.2

    Hi,
    Can we use JQuary in Apex 3.2 .If please send me any link or demo application with code.
    I am New With JQUARY .i don't have any idea about JQuary .
    How to use it in Apex 3.2.
    I am working on Apex 3.2
    Thanks

    Hi,
    JQuery sample is in htmldbQuery_sample.zip.
    File apex_developer_tool_bar.user.js is Greasemonkey script.
    Go to Greasemonkey site and check document how import user scripts.
    http://userscripts.org/about/installing
    Read about htmltooltip.js from
    http://dbswh.webhop.net/apex/f?p=BLOG:READ:0::::ARTICLE:3000
    Read about other files
    http://dbswh.webhop.net/apex/f?p=BLOG:READCAT:0::::CATEGORY:11100346066619
    Regards,
    Jari
    Edited by: jarola on Dec 7, 2010 9:40 AM

  • How do I work with FK in a data profile?

    Hello People:
    I am new in OWB tools and I have many doubts. Therefore, I would like to know if anyone can guide me a bit with the theme of FK and profiles.
    How do I work with FK in a data profile?
    If I have a table that has a FK to most of the tables, because it is like a parent table. What should I do to have that FK in the profile?
    e.g.
    - Table 1 FK Table 2
    - Table 1 FK Table 3
    - Table 1 FK Table 4
    - Table 1 FK Table 5
    - Table 1 FK Table 6
    - Table 2 FK Table 7
    - Table 2 FK Table 8
    - Table 8 FK Table 9
    You should have a data profile with each table or a data profile for all related tables?
    If I am all in a single profile, that it would have no problem but I would only slow every time that I have to add a new table, but if I got separated, I can not use the FK? What is the solution that will give this problem?
    e.g. PROFILE GENERAL
    - Table 1
    - Table 2
    - Table 3
    - Table 4
    - Table 5
    - Table 6
    - Table 7
    - Table 8
    - Table 9
    OR
    PROFILE 1 -> - Table 1
    PROFILE 2 -> - Table 2
    PROFILE 3 -> - Table 3
    PROFILE 4 -> - Table 4
    PROFILE 5 -> - Table 5
    PROFILE 6 -> - Table 6
    PROFILE 7 -> - Table 7
    PROFILE 8 -> - Table 8
    PROFILE 9 -> - Table 9
    OR
    PROFILE R -> Table 1 / Table 2
    PROFILE S -> Table 1 / Table 3
    PROFILE T -> Table 1 / Table 4
    PROFILE U -> Table 1 / Table 5
    PROFILE V -> Table 1 / Table 6
    PROFILE W -> Table 2 / Table 7
    PROFILE X -> Table 2 / Table 8
    PROFILE Z -> Table 8 / Table 9
    Thank you very much for your help!
    Best regard!

    Any idea, please?

  • How does this work?

    This is not a complaint, but a confused sigh of admiration. I've got an email account at the university where I teach. When I got my iBook, it took me a while, and a few conversations with IT at the school, to get this account working in the Mail application. (Since I have a Verizon DSL at home, I had to include that SMTP as the outgoing server.) Anyway, I synched this mail account (along with my AOL and .Mac accounts) onto the iPhone, and it works perfectly, both incoming and outgoing. I didn't have to change any of the settings. I thought I was computer savvy, but I can't wrap my mind around this. It seems like magic. How does it work?

    The sync process with iTunes transfers the email account settings (for your chosen accounts via your iPhone sync preferences) from the Mail application on your Mac to the iPhone's email application.
    The iPhone is running OS X and the iPhone's email client can be considered a mobile version of the Mail application.

  • My iPhone was stolen and I have contacted the police who are using the meid number to locate.  How does this work and what are my chances of getting the phone back?

    My iPhone was stolen.  I used Find My iPhone app to lock it and display a message.  The phone has not connected to the internet to locate it.  I contacted the police and they have taken my meid number.  How does this work and what are my chances of getting the phone back?  Are there other ways the theif can use it.  I was told once they put in a new sim card and use it, whatever software the police have, it will show up.

    Honestly? In the US (I can't speak to other countries, though I doubt it works much differently in a lot of the world) The police took your report and filed it either in their computers or, on paper. They will now not think of this again. The only time it will cross anyones mind is if, in the course of entering information into evidence about items recovered or seized at a crime scene, the serial number of an iPhone that was found/seized happens to match yours, in which case you will be contacted.
    The police in the US can and will do nothing to 'blok' the phone and it's not worth their time to try and locate it unless you know for a fact that it was stolen by a big time drug lord, master criminal, or some other such prime target and they can get a court order to track the location of the phone in order to locate this individual for your own purposes.  If they do that, they'll probably keep him under surveilance for a year or so before they act.
    Basically, the police don't care about your phone. If they find it, they will give it back to you. They are not, however, going to go looking for it. They have better things to do.
    I'm sorry, but that's the way it is.

  • Was told a USB device would create a PDF automatically from the data contained within when plugged into my USB port. Doesn't seem to work. How does this work and how can I fix the device I received?

    Acrobat is not on the USB device - only Adobe Reader needed on the PC. How does this work? How can I fix this device if at all?

    You need to ask the people who sold it to you. Doesn't sound like it has anything to do with Reader.
    However, you should be wary of devices that automatically try to open files when plugged in. They can also infect your computers with all kinds of viruses or malware.

  • HT2357 So how does this work on Mountain Lion? I cannot seem to ignore the iTunes 11 updates, which now seem to appear every 5 minutes!!

    So how does this work on Mountain Lion? I cannot seem to ignore the iTunes 11 updates, which now seem to appear every 5 minutes!!

    Fantastic!  Didn't work at first so restarted App store and tried again.  This time it asked 'ignore update'.  All gone!

  • TS1425 My co worker has given me his iPod to take home and transfer his music to my laptop, however, I am unable to access his music to download it to my computer.  How does this work?

    My co-worker has given me his iPod to take home and transfer his music to my laptop, however, I am unable to access his music to download it to my computer.  How does this work?

    You need to transfer the iTunes Library from the most recent backup you made before the hard drive was replaced.
    You can't transfer the full iTunes Library from the iPad back to iTunes.
    There are third-party Windows applications that will transfer data from an iOS device, but they don't re-create the iTunes Library exactly as it was before.

  • SkillBuilders Modal Page is not working in Apex 4.2

    Hi All,
    I am trying to set up an example in apex.oracle.com of an application developed in Apex 4.1 and the SkillBuilders Modal Page plug-in is not working.
    To show this situation, I created a simplified version of the application, with only two pages, in apex.oracle.com.
    Workspace: EDIAZJORGE
    Username: TEST
    Password: test123
    Application: 66464 - Modal Page Sample
    When Page 3 loads, a Dynamic Action is executed to open Page 2 (Interactive Report) as a modal page, but it is not working (the modal page does not open).
    Please notice that this is working in Apex 4.1, and the Embed in Frames property in my application is set to Allow.
    I appreciate any help.
    Thanks,
    Erick
    Edited by: ediazjorge on Jan 30, 2013 3:20 PM
    Bump!

    Erick,
    This is due to a change that was made to the Dynamic Actions framework in 4.2. The workaround for now is to change your event to resource load on the DOM window object.
    It's working now. In the next release of the plug-in you'll be able to go back to the Page Load (ready) event.
    Regards,
    Dan
    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • Oracle dbms.set_role does not work in APEX application

    Hi, in our j2ee applications, we use secure application role. Basically, the data source use the app user schema to connect to the database. the app user only has create session privileges. the database logon trigger will copy a set of attribute to the local secure context. (ip address, session user, client id, application name). The applications explicitly invoke the stored procedure sec_mgr.set_role before any DMLs are executed.
    the sec_mgr.set_role will check the local context attribute , authorize the ip, application name, and set an appreciated role to this session based on session user.
    we want to apply the same framework to the APEX application. First, we change the paring schema to the app schema which only has create session privilege. then we put the plsql code in which sec_mgr.set_role is called in the application builder --> shared components ---> edit security attribute ---> Virtual Private Database (VPD).
    however, we got the error ORA-06565: cannot execute SET ROLE from within stored procedure
    the sec_mgr.set_role is defined as invoker's right(AUTHID CURRENT_USER)
    do i missing something in APEX to get it work?
    Thanks

    Please explain it does not work in APEX? Is the application updating tables that have a trigger? APEX does NOT override trigger actions. Is it possible the values your trigger is looking for are NOT available in your APEX application? Can you post the trigger code here for review?
    Thank you,
    Tony Miller
    Webster, TX
    What if you really were stalking a paranoid schizophrenic... Would they know?
    If this question is answered, please mark the thread as closed and assign points where earned..

  • I have a macbook air and I can't cut and paste in itunes.  The right clic does not work. How can I work this out?

    I have a macbook air and I can't cut and paste in itunes.  The right clic does not work. How can I work this out?

    Great tip Stephen!!
    I was so frustated from this issue that I used to use Windows iTunes for mass editing info, adding Lyrics etc and then transfering songs to Mac. This tip has alleviated my pain!!
    Thanks for the tip. This question should be tagged as answered.

  • After upgrading to Photos, how can I work on a Book Project from another apple device?

    After upgrading to Photos, how can I work on a Book Project from another apple device?

    I'm not sure I understand what you are asking, but on the device/Settings, do you have iCloud and Photos sync turned on?

  • My wife and I have separate Ids but all our music is in one library. How will this work with iCloud?

    My wife and I have separate Ids but all our music is in one library. How will this work with iCloud? i'm trying to download past purchases from her id, but itunes is saying that I can't because the computer is associated with my apple id. Can I associate the computer with both ids for the purpose of identifying all of our music with both or just one of our ids? Is there a good way to do this? I'm sure we're not the only people with this problem...
    Using 2 iphone 3gs, ipad, mac mini, appletv, itunes for windows, macbook, and imac.

    iTunes- How to share music between different user accounts on a single computer
    You cannot merge two separate libraries across user accounts. Photos does not have the function of merging different Photos.library files. If you have Aperture then you can merge the two before migrating over to Photos.

Maybe you are looking for

  • Is a viewquest compatable with ipod classic 120 gb

    if so why does my viewquest say it is disconnected when it is firmly sitting in the dock?

  • Use stored login information from Safari/Firefox etc in Flash Player standalone? (Mac)

    I play a flash game called FFR (Flash Flash Revolution). It uses a login system to keep track of scores and ranks from the songs I play. On my late model eMac It's very laggy in-browser, even on low quality. I downloaded the Flash Player 9 stand alon

  • Lost charger for HP 625 delphi d40

    I lost my charger for my HP 625 Delphi D40 - I cant find any information on this laptop and cant find anywhere that sells this charger. Its quite fustrating as I have all my important stuff on tis laptop and cant power it up can you tell e where to b

  • How can I get itunes to change and update mp3 files?

    Hello basily what im asking is. i have a itunes libery with all the right artist names and all the alubem covers i got from internet and sorted into playlist. Is there a way i can get itunes to change the actual mp3 files so that it has the right art

  • FTP error - 421

    Hi all, We are trying to FTP files from business connector at regular interval to external party via proxy and sometimes we face a error - 421 Service not available, closing control connection. Please help to know what could be the cause for this, as