How to chek if the username has been taken

hi all,
i have a swing panel to indicate user to create his account by entering his user name, password and other data.
how can i implement the program to check if the user name has been taken
, then go back to tell user that his user name can not be taken.
otherwise, go on the store whole data entered by the user.
thanks

Sorry I forgot to mention speed is just not an issue
on a single record lookup.
rykk
so it means if you want to check a single record exists or not in db > for 100 times, either you will create a new database connection 100
times or you will use the connection from pool, I think both the
cases are slower than doing a lookup in hashtable. Of course it is slower. The point is it does not matter if it is slower as users will be logging on 1 at a time over a period of time. The time to establish a connection (assuming you are not using connection pooling), query for a single record and close the connection is exceptionally quick. This is assuming you have a server that is even close to adquate. The only time to worry is if your server is loaded beyond capacity and any query is degrading other user functions. In normal systems the user will be interacting with the database in all the various functions they perform - it is much more important to worry about efficency in these functions.
rykk

Similar Messages

  • I have two iPhones. I just backed up all my photos on my old phone using iCloud but when I log into iCloud on my new iPhone nothing appears? The GB for the photos has been taken from my iCloud allowance so how do I retreive them on the new phone

    I have two iPhones. I just backed up all my photos on my old phone using iCloud but when I log into iCloud on my new iPhone nothing appears? The GB for the photos has been taken from my iCloud allowance so how do I retreive them on the new phone

    if you have a laptop just transfer them that way
    open the iPhone folder then DCIM then copy all photos off your old phone then open iPhone folder for the new phone the DCIM and paste all photos in their

  • Hi, I loaded an iTunes card and bought an audiobook a few weeks back! I was unable to download it because my wifi was down, my wifi has just been fixed but now my audiobook purchase is not available but the cash has been taken? Any ideas how to solve this

    Hi, I loaded an iTunes card and bought an audiobook a few weeks back! I was unable to download it because my wifi was down, my wifi has just been fixed but now my audiobook purchase is not available but the cash has been taken? Any ideas how to solve this

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

  • How can I view photos on the iPad in order of the name of the photo instead of the date the photo has been taken

    On the PC I edited the "file"names of photos in a photo-album, so that the photos are in a logical order after the file names. When I synchronise this photos with the iPad, they are shown on the iPad in the chronological order when the photo has been taken.
    How can I pursue the iPad to show the photos in the order of the "file"names of the photos instead of the order after the date of the photo?

    hello Allan
    Thanks for the answer. Wouldn't it be a nice feature on the iPad if you can choose on the iPad itself in which order the photos should be sorted -> for instance after capture date, after filename or after sorting in iPhoto
    Maybe this will be a feature for the next iOS release
    Urs

  • HT5129 How can I stop the "MobilMe has been discontinued" message?

    I don't have any published albums; how can I stop the "MobilMe has been discontinued" message coming up all the time?

    Bill,
    Go to iPhoto>Preferences...>Accounts...and remove the MobileMe account. Then go to System Preferences...>MobileMe, and sign out.

  • Who do I contact after (emailing app developer) about purchased add ons that haves not arrived to my iPhone but the money has been taken!!??

    who do I contact after (emailing app developer) about purchased add ons that haves not arrived to my iPhone but the money has been taken!!??

    Hello Janey,
    It sounds like there is an issue with the audiobook you purchased from iTunes.  I recommend following the steps in the following article to report this to the iTunes Store:
    To report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase, follow these steps:
    Find the email receipt for your purchase.
    Click Report a Problem under the app that is having the issue.
    When prompted, enter the Apple ID and password you used to purchase the item, then click Report a Problem.
    Click Report a Problem next to the item you are having an issue with.
    From the Choose Problem dropdown menu, choose the appropriate issue.
    Follow the onscreen instructions and—if prompted—type a description of the problem into the text field.
    Click Submit to have your issue reviewed.
    You can find the full article here:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/ht1933
    Thank you for posting in the Apple Support Communities.
    Best,
    Sheila M.

  • Apple customer service said there is a payment outstanding but checked bank and the money has been taken any answers plz

    Do you no why apple are saying there is a outstanding payments but the money has been taken from my account

    Hi Cristintia,
    Just expirenced something similar. After being loyal Apple customers for 10 years I was unable to receive support because Apple doesn't support all products sold in their stores nor do they consider iPhone part of their WiFi support network.
    We recently bought an iBaby to use with our iphones as monitors. We have purchased 3 new iphones in the past 2 months. We also have 2 iBooks, 1 imac desk top, and an Airport Express. While trying to install the iBaby the Airport Expressed stopped working. My internet provider told me I needed to contact Apple. After about 40 minutes on the phone, James a senior advisor told me Apple doesn't support any of the current products we have purchased and that I would have to pay $50 for support. After telling me the solution was simple.
    Apple support should value their loyal customers. This seems like a scam to me since we have paid support on all our past products and the iPhones we just purchased. This experience has jaded me from wanting to continue being an Apple customer.
    Irene

  • My iphone4s's screen was broken.The ups has been taken away to repaire,i want to know is not all free?

    Hello,
    My iphone4s's screen was broken.The ups has been taken away to repaire, maybe change a new one for me. I want to know is that all free? Thank you, have a nice day.

    I'm in France, after my iphone screen broken, I asked the official website to repair. Then ups contact me and pick up my phone. Just tell me within 48 hours of mobile phone back to me.

  • Had hard drive renewed due to product recall (iMac) backed up complete system on time machine . Had the drive done got mac back tried to reinstall from time machine .The new drive tells me that the space has been taken up but can't find where the file hav

    Had hard drive renewed due to product recall (iMac) backed up complete system on time machine . Had the drive done got mac back tried to reinstall from time machine .The new drive tells me that the space has been taken up but can't find where the file have gone. Need to free up the space that the ghost file take up so I can drag drop from ex drive onto harddrive

    Here's the scoop, new friend.....
    When you boot into Time Machine you'll get the same OS X Utilities screen as you would if you booted into the Recovery HD. So, from there go into Disk Utilities to erase/format your internal drive. After that's done, back out to the OS X Utilities screen and select the restore option. Just follow the prompts to select the TM back up date you want to restore from and where to restore it to. Pretty straight forward.

  • How to get that the invoice has been printed or not?

    Hi Experts,
    I have a issue in Printing Invoice. I have to make 2 copies of an invoice. One is Original and another is Duplicate. I have made that with copy windows. But the requirement is that when the original copy of a selected invoice has been printed then from the second time only the duplicate copy will be printed. How to do that in ABAP? How to get the information that the invoice has been printed or not?
    Regards,
    SURYA

    Hi Surya,
    Try the below approach, i think this is better than the previous approach and takes care of the print from "text menu" as well
    select from z table.
    if sy-subrc eq 0.
      call "SMARTFORM_COPY"
    else.
    While calling the smartform, make sure you import the "JOB_OUTPUT_INFO" parameter,
    and after you call the smartform,
    call "SMARTFORM_ORIG"
    exporting...
    Importing...
    job_output_info = w_job_output_info
    exceptions...
    If sy-subrc eq 0.
      if w_job_output_info EQ 'X'.
        update the Z table.
      else.
        do not update the z table
      endif.
    endif. 
    endif.
    Regards,
    Chen

  • How to verify that the request has been moved to Quality System

    Hi friends,
    I a new abaper and i need ur help in solving this issue.
    I have developed an object and released( as per the suggestions given already in this forum). Its working well and i can see the request in released status in se09.
    No what i really want is , How can i verify that the request has been moved to Quality System by the basis people, assuming that i have only access to dev system.

    Yes, once u release the request, if it is successfullly released will make the request avaialble under released requests
    As an ABAP'er this is enof
    <b>wht abt me Sravanan :-(</b>
    Regards
    - Gopi
    Message was edited by: Gopi Narendra

  • How do I stop the "virus has been detected" emails?

    I am running OS X Server 10.8.2. The Mail Server frequently sends me "A virus has been detected" emails. I want to stop these emails entirely, because the emails are being screened out by my spam filter anyway.
    I turned off mail virus filtering in the Server app, but that hasn't changed this; I still get the alert emails.
    How do I stop my OS X Server from sending me these virus alert emails?

    In the Server app go to the Delivery tab in the Alerts section. Under settings you can turn off the Virus detected alerts.

  • Find iphone, how to unlock obnce the phone has been found ?

    Hi,
    I reported an iphone as lost via find iphone app. I now found it but the phone is locked, how do I unlock it ?
    Thanks !!

    Hi MaiTai2,
    If you are asking, now that you've found your iPhone and unlocked it with the passcode, how you would go about turning off the passcode requirement, you may find the following article helpful:
    Apple Support: iOS: Using passcodes
    http://support.apple.com/kb/ht4113
    Regards,
    - Brenden

  • How to check if the stock has been blocked aganist a project or order....

    Hi,
    In our business scenario we procure materials against a particular workorder as non-stock (Free text requirement from SRM). Out of these only some will be used and so again we bring this remaining materials to stock and again issue against a new workorder if required. While issuing against a new workorder this materials will be blocked against particular work order.
    Since no MRP is run we cannot check the material requiremnts by MD04. In MMBE even though we can see this, we cannot see if it is blocked agaisnt what order adn all (i.e. in detail). Is there any other transaction to view the stock requiremetn list in detail??
    Please let me know ASAP.
    regards

    hi
    You have told it is a non stock item (free text coming from SRM) then it is diffucult to track the
    Stock in SAP against the Project order.
    Regards
    G.Ganesh Kumar

  • I am facing issue in Receiving incoming calls, Name not getting displayed though the same has been saved in my phone book!! I have done sync from Windows contacts.. please help if some1 knows how to rectify the issue...

    I am facing issue in Receiving incoming calls, Name not getting displayed though the same has been saved in my phone book!! I have done sync from Windows contacts.. please help if some1 knows how to rectify the issue...

    Has your carrier been having issues with Call Display? Do the telephone numbers come up when people call, or does it just show 'Unknown Number' or 'Blocked' ?

Maybe you are looking for

  • Tutorial: Virtual Numpad on laptops that don't have one built-in

    Hi all! After getting so much good help from the people on Arch forums, I thought it was time to give back. You remember how on older laptops, you would hit numLock and a portion of your keyboard would become a numpad? (specifically, the 789uiojklm k

  • Can not set source file for Fireworks png in Dreamweaver

    I recently purchased Adobe Design Premium CS5 to replace my CS3, but I have a big problem.  When I export a png in Fireworks to Dreamweaver it does not set the source file correctly.  It places the Fireworks object on the page, but when I select the

  • Need help with a very simple example.  Trying to reference a value

    Im very new to Sql Load and have created this very simple example of what I need to do. I just want to reference the ID column from one table to be inserted into another table as DEV_ID. Below are my: 1) Control File, 2) Datafile, 3) Table Descriptio

  • How to Set Display

    Hello I am trying to Run the adautostg.pl script perl adautostg.pl Invalid DISPLAY :0.0 setting. Please set the DISPLAY setting properly. The log file is located at /tmp/09010724/adautostaging.log Press <ENTER> to leave this session whn i check the l

  • Dynamic table with dynamic binding

    Hello, I'm really not sure if I can realize that kind of feature using a table : I've created a dynamic table that have a dynimac number of columns except two. I've setted the value of the table to a certain list to fill out the two static field I ne