To make one column that do not have the same data value with pk

All right, here's the problem >>
I have a form on a report with columns and attributes taken from the tables in the database. 5 tables are allocated in the database, but one table is used for this "form on a report."
I named the report as a Company form, where users can add/edit company's name and details into it. However, without the use of candidate keys, how do you control the columns such that no two values are the same, although there is a primary key which i named it as company_id.
Regards,
HTMLDB user

I suggest to launch an SQL query in a validation process. The where clause would look like this PRIMARY KEY COLUMN LIKE :ITEM%
If the query retrieve at least one row then your validation process return an error and stop the saving process
If you want you can also do it asynchronous with a javascript on blur event

Similar Messages

  • I shall open delete my present account with iTunes and open a new one - but I do not have the password. How can I then delete the present account??

    I shall open delete my present account with iTunes and open a new one - but I do not have the password. How can I then delete the present account??

    Since you can't delete Apple IDs and having multiple Apple IDs can cause confusion, what you may want to do is rename your existing Apple ID to the new email (desired Apple ID).  That would in effect do what you want, get rid of the old and give you the new.
    See "Apple ID: Changing your Apple ID"
    ivan

  • What can I do, I do not have the same email that is on my iCloud and cannot remember my password, I lost all my contacts and cannot get them back, what can I do?

    I do not have the same email address that I did when I started icloud, I do not remember my password and I lost all my contacts with this newest upgrade, it wants e to sign into icloud, but I cant, what can I do?

    Welcome to the Apple Community.
    If you are saying you can't turn off find my phone because it is still using an old ID, you need to change your ID back to the old address at My Apple ID turn off find my phone then change your ID back at my Apple ID.

  • I just bought an new ipad mini with wifi and cellular. Is there any way to send text messages to people and contacts that do not have iphones such as friends with blackberrys or a samsung galaxy smartphone.

    I just bought an new ipad mini with wifi and cellular. Is there any way to send text messages to people and contacts that do not have iphones such as friends with blackberrys or a samsung galaxy smartphone from this ipad. Everytime I try to send a message to a person that does not have an Apple product ( Iphone or Ipad ) it comes up saying contact is not registered for iMessage and wont send it. I can only send them a message from my iPhone 4 instead. Do I have to install a new App from the App store to send these non iMessage cell users a message?

    FYI
    Complete guide to using iOS 6
    http://howto.cnet.com/ios-6-complete-guide/
    Guide to Built-In Apps on iOS
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/guide-to- built-in-apps-ios
    You can download a complete iOS 5 iPad User Guide and iOS 6 iPad User Guide here: http://support.apple.com/manuals/ipad/
    Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
    Apple - iPad - Guided Tours
    http://www.apple.com/ipad/videos/
    Apple iPad Guided Tours - Watch the videos see all the amazing iPad apps in action. Learn how to use FaceTime, Mail, Safari, Videos, Maps, iBooks, App Store, and more.
    http://www.youtube.com/watch?v=YT2bD0-OqBM
    http://www.youtube.com/watch?v=ROY4tLyNlsg&feature=relmfu
    http://www.youtube.com/watch?v=QSPXXhmwYf4&feature=relmfu
    How to - Articles & User Guides & Tutorials
    http://www.iphone-mac.com/index.php/Index/howto/id/4/type/select
    iPad How-Tos  http://ipod.about.com/lr/ipad_how-tos/903396/1/
    You can download this guide to your iPad.
    iPad User Guide for iOS 5
    http://itunes.apple.com/us/book/ipad-user-guide-for-ios-5/id470308101?mt=11
     Cheers, Tom

  • HT4623 how can i update my iphone 4 that does not have the update option in the settings?

    How can i update my iphone 4 that does not have the update option in the settings?

    From the article you linked, scroll down to the section "Update your device using iTunes"

  • HT1379 I have  lost everything on my mac, a gray screen with a folder and question mark is blinking. i hav another mac that is running slowly, how can I boot and reinstall os x Lion, i do not have the start up disc with me.

    I have  lost everything on my mac, a gray screen with a folder and question mark is blinking. i hav another mac that is running slowly, how can I boot and reinstall os x Lion, i do not have the start up disc with me.

    Welcome to the Apple Support Communities
    Lion uses Recovery to reinstall OS X. Press Command and R keys when your Mac starts, open Disk Utility, erase the drive and reinstall Lion. The other Mac has probably got its hard disk damaged, so take the Mac to an Apple Store

  • HT4623 I have an Iphone 3 that does not have the software updates how can I update it?

    I have an IPhone 3 that does not have the software updates in my settings how can I update it cause I can not download any apps or games?

    The 3G can not be upgraded beyond 4.2.1, but if the phone isn't there yet, see below.
    The option to update without the computer (Over the air) was made available with iOS 5. If your iDevice is using a version of iOS lower than 5, you will need to use iTunes on your syncing computer to perform the upgrade. Use the Apple link below as a guide for the upgrade.
    http://support.apple.com/kb/HT4972
    Also read the instructions from the section entitled "Update your device using iTunes" at the link below.
    http://support.apple.com/kb/HT4623
    Information regarding transferring purchases from your iDevice to iTunes on your syncing computer can be found at the link below.
    http://support.apple.com/kb/ht1848

  • The Credit Memo & Original Invoice do not have the same net due date.

    The issue is that for returns of goods from the customer, the credit memo that gets created does not have the same net due date as the original invoice.  To accomplish this, in the credit memo, the indicator "V" must be entered in the credit memo field BSEG-REBZG "Invoice Ref".  This will make the credit memo due based on the payment terms. In the OSS message 50388, SAP identifies a user exit in SDVFX008 which will fill field BSEG-REBZG with the value "V".  Doing this should automatically make the credit memo for returns due the same date as the original invoice.SAP says to do the following:
    The function module called by SDVFX008 is EXIT_SAPLV60B_008
    Make the ABAP coding in include program ZXVVFU08.
    Populate field ACCIT-REBZG with "V"
    Despite doing this , we couldnt get the same net due date as the credit memo & Original invoice.
    Can anyone help? POINTS WILL BE GIVEN.
    Thanks
    Anita

    Hi Anitha,
    Does the value 'V' gets paopulated?.
    I mean to ask whether the program goes into the user exit logic?.
    Please let me know.
    Thank you.
    Regards,
    Karun M

  • Report based on fact tables that don't have the same dimensionality

    Hi all
    I want to combine in the same report different measures from different fact tables that doesn't have the same dimensionality,for example:
    measure 1 linked to dimensions : time geography and product
    measure 2 linked to dimensions : time and geography
    Currenctly when I create a report like:
    time----gepgraphy---product------measure 1-----measure 2 I don't have any data for measure2 because it's not linked to the product dimension.
    The exact report is year---store name---product area name----- store sales-----number of visitors : the number of vistors doesn't have any relation with the product dimension.
    Is there a way to create this kind of report??
    Regards

    Don't take this the wrong way guys, but I feel compelled to say this before the answers start coming in:
    This issue had been discussed already many times. Stijn, John, Kishore etc. have all answered this question for the one or the other user. This forum has a search functionality for a reason. To first look for information and then ask your question. Why wait - potentially - a couple of hours for an answer that's one search away?
    Seriously people. It's not like forums magically appeared in 2k7...they've been around for quite a while now and netiquette and common sense with regards to posting should become normal.
    Cheers,
    C.

  • Multiple FireFox browser windows opened simultaneously do not have the same settings for many of the functions.

    Secondary browser windows open at the same time do not have the same functions active. i.e. Back/Forward, Reload, Stop buttons and the url address does not show in the bar. I set the HOME page in the Options and it does not open with that Home Page. This never happened with any past FireFox versions.

    Yes, it works OK. I disabled all add-ons & clicked Make Changes & Restatr I can open additional browser windows that retain the settings of the first window opened. I Disabled All Add-ons and Make Changes & Restart. How do I retain this?

  • My itunes account was set up under an email account that has been deleted. I started a new itunes account but have the same device as with the old account. How do i keep my music thats on my ipod touch from being deleted when i sync it to my new account?

    My itunes account was set up under an email account that has been deleted. I started a new i tunes account but have the same device as with the old account. How do i keep my music thats on my ipod touch from being deleted whin i sync it to itunes after purchasing new music?

    I have the same problem (deleted email account). I think I mistakenly set up an account when I was buying an Apple product online, not realizing that it would be the same ID as my iTunes.
    What is the way to actually contact Apple?
    I have been clicking around in circles for hours! Will I have to pay them to resolve this? I don't have any products still have applecare . . .

  • I recently bought a new macbook and installed Acrobate Pro. My settings/preferences did not come over and I do not have the same style options for my signature.  It now only allows me three options and the style I have been using for the last year is not

    I recently bought a new macbook and installed Acrobate Pro. My settings/preferences did not come over and I do not have the same style options for my signature.  It now only allows me three options and the style I have been using for the last year is not there.  How do I add additional options and get my preferred signature style back?

    Hi Amanda ,
    Which version of Acrobat are you using?
    Which signature style are you talking about?
    You can go ahead and try uninstalling and reinstalling it and see if that works for you .
    Use the cleaner tool to uninstall it .Here is the link.
    Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs
    You can refer to the following link to re install it .
    https://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
    Regards
    Sukrit Dhingra

  • In CS6 my created and then saved jpegs do not have the same icon as jpegs I receive from others. Whe

    In CS6 my created and then saved jpegs do not have the same icon as jpegs I receive from others. When attached to email they don't actually attach but appear embedded in the email and vertically squished. Any ideas?

    It could be as simple as having two different file extentions jpg vs jpeg. As for the emails, that may depend on how you are attaching them to the email.
    In most email programs you can open a new document then choose file attach or file import. Former would be attachments or links and the latter would be embedded.
    On windows systems you can also send images to the email app, in the explorer right clicking and sending would open a small app that will resize the image to reduce the file size. This app could in theory squish the image.

  • Query for retreiving table names that have the same data

    Hi,
    Does anybody know how to retreive all the table names that have the same data in their respective tables but i dont know the table names or its fields. Is there any possible query to perform this action???
    Thanks in Advance,
    Balaji.

    What about...
    WITH manager_list AS
    SELECT name,
            LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
            KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
    FROM   (SELECT m.name,
                    e.id,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
             FROM   manager m,
                    join_table jt,
                    employee e
      WHERE m.id           = jt.manager_id
      AND   jt.employee_id = e.id
      AND   m.name = :P_MANAGER)
      GROUP BY name
      CONNECT BY prev = PRIOR curr AND name = PRIOR name
      START WITH curr = 1
    ), all_list AS
    SELECT name,
            LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
            KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
    FROM   (SELECT m.name,
                    e.id,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
             FROM   manager m,
                    join_table jt,
                    employee e
      WHERE m.id           = jt.manager_id
      AND   jt.employee_id = e.id)
      GROUP BY name
      CONNECT BY prev = PRIOR curr AND name = PRIOR name
      START WITH curr = 1
    SELECT a.*
    FROM   manager_list m,
           all_list a
    WHERE  m.employees = a.employeesWould be easier in 11g, but I don't have an installation here so this is based on 10g.
    Cheers
    Ben

  • Firefox causes crash when using Youtube explorer does not have the same effect

    firefox causes crash when using Youtube explorer does not have the same effect

    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Check and tell if its working.

Maybe you are looking for

  • Income Report by material

    Hi experts, I wonder if anyone can tell me how or where I can generate accounts receivable reports which show income by material? Your help will be very much appreciated. Thanks in advance Ciara

  • Standard report required

    Hi, is there any standard report to show the quantity delivered to a customer...or maybe the delivered quantity which is confirmed (in other words which has PGI done) Regards, Vijay

  • Images are not coming  in jsp pages in linux os

    Hi, i done java/j2ee project in windows its working fine, when i deployed that project in linux. JSP pages images are not displaying.. IDE--- eclipse. server--- tomcat.

  • Fireworks Nav menus to Dreamweaver (CS3) not working

    Hi! Having used Dreamweaver and Fireworks V8 for a while (2 years) i upgraded to CS3 versions, and then went to update a menu from http://www.hernebayhigh.kent.sch.uk/welcome2.html (edit popup menu) within Fireworks which went fine and exported the H

  • B520 DIsplay Driver Problem

    Hello :-) I had to update my b520 for windows 7 ultimate since it was using home premium ... I erased the entire hard drive and create seperate paritions so i lost everything their but since i had the DRIVER CD i wasn't scared ... So after i installe