CFSELECT with 1000 options?? Ajax??

Can anyone tell me how to handle this situation? I want to
include information about the bands in a music calendar w/o having
to re-enter the band websites or descriptions for each entry. So
the bands have their own table. The idea for data entry is to 1)
select a location 2) list dates for a month 3) have a cfselect box
with bandname associated with each date and 4) on submit loop
through and insert into database.
Unfortunately, there are like hundreds and hundreds of bands.
So putting 30 cfselect tags with 1000 options each on a page seems
ridiculous. I've thought of doing a lookup based on the band name
instead of the ID. If the name was typed incorrectly, no data, but
it would work most of the time.
What about Ajax? I know zip about Ajax, but isn't that what
is it for? Could it be done w/o spending six months learning Ajax?

Have either an A-Z series of links (followed by fine-tuning
from thee) or a
search.
I recommend you investigate how popular directories (eg:
Yahoo!) do it, and
emulate that sort of thing, unless you can come up with
anything better.
Hint: big companies spend big bucks on UI design, so they
will probably do
it better than the likes of you or I could come up with.
One concept could be - as you touch on - emulating a combo
box idea using
an input, and some sort of multiple select / div sort of
arrangement, and
having an AJAX call back to populate the multi-select thing
with
appropriate filtered data as the user types. Google does it.
There's quite possible already a CF-friendly solution out
there (maybe even
with CFFORM controls? Never use CFFORM meself).
Adam

Similar Messages

  • After Mavericks OS upgrade, can no longer make any HTTP requests with the OPTIONS verb

    My machine can no longer make any HTTP requests with the OPTIONS verb. This happens whether I try it curl, postman, or ajax.
    curl -i -X OPTIONS http://www.google.com returns curl: (52) Empty reply from server
    It should return a long string containing a 405 error code.
    I suspect that this is related to the Mavericks upgrade I did earlier this week. I only have one mac (my dev machine) with Mavericks. Other macs are Mountain Lion and they don't have this problem.
    Can anyone else with Mavericks confirm whether or not they have this problem too?
    If this is Mavericks related, anyone know of a fix or workaround?

    Turns out that it wasn't Mavericks related at all. Cisco AnyConnect has a security module running behind the scenes even when you're not VPNed into anything. It was blocking my OPTIONS verb requests. I was able to make these calls after uninstalling.
    Re-installing with Web Security turned off should prevent it from happening. While I was uninstalling I did notice that there was a web security uninstall script in /opt/cisco/vpn/bin but I already committed to taking the whole app off my machine. Simply running that script could have done it too.
    I must give credit to Ben Nadel. It was his blog post that helped me fix this issue.
    http://www.bennadel.com/blog/2559-Cisco-AnyConnect-VPN-Client-May-Block-CORS-AJA X-OPTIONS-Requests.htm?&_=0.10495476494543254#comments_44093

  • How to Save an image and retreve the same image with edit option!! ???

    I am facing with a problem
    I have a image which is preloaded, user accessing the image should be provided with a option of adding a text on some part of image etc and save it. Later when that imagine is tried and retrived it should display the edited and saved image and allow user to edit again.The text will be written in a square box which can be dragged anywhere on the image. Is java script and ajax best for this.?
    Can anyone help in showing the basic things i need to follow to achieve this.
    Thanks in Advance
    Edited by: aadi on Feb 12, 2008 9:41 PM

    You could try to write a web service that returns a byte array and convert the image to bytes, and convert it back into an image again.

  • Telepresence CTS-1000 optional presentation display cable type

    I am installing the CTS-1000 with the optional 22'' external LCD display. The cabling guides have the picture showing that the there is an HDMI connection on the codec showing the Auxiliary Video Out, but with the NEC Display there is not a HDMI connection just a DVI.
    My question is, that I am thinking that I need to purchase a DVI-Male to a HDMI-Male, is this accurate thinking? I just want to make sure I make the correct purchase.

    Hi,
    You should be able to get things to work with the HDMI to DVI cable. Both the formats are very similar with one small difference. i.e. HDMI can carry audio as well as video, DVI doesn't.
    So you should be able to hook your projector with the CTS using the HDMI to DVI cable. As for the male/female, it depends on what connects you have on the projector. Most likely the projector has a DVI female so the cable you will need is HDMI to DVI male.
    Thanks,

  • CFSELECT With XML Forms

    I'm using cfselect with a "Please select..." option before
    the query is displayed. This all works fine except my option as a
    value="" which get translated in the rendered HTML as option
    value="""" when what I want is a CF [empty
    string].
    Any thoughts how to return a empty string?
    TIA

    The following code returns an empty string as you can see
    from the struct output:
    <!--- Get the employee names from the database. --->
    <!--- Use SQL to create a Name field with first and last
    names. --->
    <cfquery name = "GetAllEmployees" dataSource =
    "cfdocexamples">
    SELECT Emp_ID, EMail, Phone, Department, FirstName,
    LastName, FirstName +' '
    +lastName as Name
    FROM Employees
    GROUP BY Department, Emp_ID, EMail, Phone, FirstName,
    LastName, FirstName
    </cfquery>
    <h2>cfselect Example</h2>
    <!-- The cfif statement is true if the form was submitted.
    Show the selected names. --->
    <cfif IsDefined("form.employeeid")>
    <!--- The form was submitted. --->
    <h4>You Selected the following employees</h3>
    <cfif form.employeeid IS "">
    <!--- Select All option was selected. Show all employees.
    --->
    <cfoutput query="GetAllEmployees">
    #name#<br>
    Email: #email#<br><br>
    </cfoutput>
    <cfdump var="#form#">
    <cfelse>
    <!--- Use a query of queries to get the data for the
    selected users.
    Form.employeeid is a comma-delimited list of selected
    employee IDs. --->
    <cfquery name = "GetSelectedEmployees" dbtype="query">
    SELECT Emp_ID, EMail, Phone, Department, FirstName,
    LastName, FirstName
    +' ' +lastName as Name
    FROM GetAllEmployees
    WHERE Emp_ID in (#form.employeeid#)
    </cfquery>
    <!--- Display the names and e-mail addresses from the
    query. --->
    <cfoutput query="GetSelectedEmployees">
    #firstName# #lastName#<br>
    Email: #email#<br>
    <br>
    </cfoutput>
    </cfif>
    </cfif>
    <!--- The cfform tag posts back to the current page.
    --->
    <h3>Select one or more employees</h3>
    <cfform action = "#CGI.SCRIPT_NAME#" format="xml">
    <!--- Use cfselect to present the query's LastName
    column, grouped by department.
    Allow Multiple selections.--->
    <cfselect
    name = "employeeid"
    size = "1"
    multiple="yes"
    required = "No"
    query = "GetAllEmployees"
    group="Department"
    display ="name"
    value ="emp_id"
    queryPosition="Below" width="100">
    <!--- Add an option to select all employees. --->
    <option value = "">Select All</option>
    </cfselect>
    <cfinput type="submit" name="submit" label="Go"
    value="Go">
    </cfform>
    struct (cfdump) output
    EMPLOYEEID [empty string]
    FIELDNAMES EMPLOYEEID,SUBMIT
    SUBMIT Go

  • AIR with JavaScript and AJAX (noob design issues)

    Okay, so as the subject states, I'm a noob when it comes to designing an AIR app. My question is kind of two fold:
    First, as a matter of design, I've got a main window that has several drop-down type menus "File", "Preferences", "Help" that kind of thing. My plan was to keep reusing the main window for each of my different screens (unless a pop-up/dialog type screen was called for)
    Anyway, the application I'm writing will, in part, handle a database of patrons. So under one of the menus (File in this case) I've got a "Patron" option. Clicking on "Patron" fires a function called newPatron() which in turn calls my function ebo.displayScreen('patron.htm'). This latter function takes the filename passed in and reads that file then dumps it's contents out to the main screen.
    So, my main window consists (in part) of the following html:
    <body onload="ebo.doLoad();">
         <div id="content"></div>
    </body>
    then my displayScreen function looks like this:
    function displayScreen(filename){
         var my = {};
         // get a handle on the file...
         my.file = air.File.applicationDirectory(resolvePath(filename);
         // get a handle on the stream...
         my.stream = new air.FileStream();
         //open the stream for read...
         my.stream.open(my.file, air.FileMode.READ);
         // read the data...
         my.data = my.stream.readUTFBytes(my.stream.bytesAvailable);
         // close the stream...
         my.stream.close();
         // update the screen (I'm using jQuery here)
         $("#content").empty().append(my.data);
    So anyway, this works like a champ. I click on "Patron" from my file menu and the screen changes to display the contents of patron.htm.
    Currently, patron.htm just contains the following:
    <div style="text-align:left;">
         <input type="button" value="add" onclick="ebo.add(1,2);" />
    </div>
    <div id="result"><div>
    ebo.add looks like this:
    function add(a,b){
         var my = {};
         my.result = a + b;
         $("#result").empty().append(my.result + "<br />");
    So, if anyone hasn't guessed by now, the code contained in the ebo namespace gets included on the main screen when the application loads, and my problem is that despite the fact that once the patron.htm file is loaded in the content div by clicking on the menu option, my button on that screen refuses to work. I've even tried just having the button do an alert directly,
    <input type="button" value="add" onclick="alert('AIRRocks!');" />
    but even that fails!
    So, I added some code to the main page to test a button from there...
    <body onload="ebo.doLoad();">
         <input type="button" value="add" onclick="ebo.add(1,10);" />
         <div id="result"></div>
         <div id="content"></div>
    </body>
    So, now when the main screen loads, I get an "add" button and when I click it the number 11 appears in the "result" div. When I click on the Patron menu option, the new html and javascript are loaded into the "content" div, but the add button in that area refuses to work!
    What gives? I'm sure I'm missing something. So I guess the two questions are: is my scheme of loading new content into the main window by reading the contents of a file, flawed in some way? Or am I just missing something about making calls from this dynamically loaded content? It *looks* like it should work fine, but if I can't make javascript calls from the resultant content, then the concept is no good.
    I realize this has been a somewhat long winded post, but hopefully it describes in enough detail the problem I'm having. I should maybe add that I've looked at what's in the DOM using the AIR HTML/JS Application Inspector and it looks like everything should work perfectly.
    I hope someone out there can help me and might have the patience to explain where I've gone wrong. I might also mention that the only book I've read (or am reading) on AIR with JavaScript and AJAX is "Adobe AIR (Adobe Integrated Runtime) with Ajax: Visual QuickPro Guide"... it really hasn't covered aspects of what makes good design (like what's the best way to reuse the main application window to hold interactive content)... but anyway, there you have it.
    Again, I hope someone can help me out.
    Thanks!
    Chris

    Thanks for responding, Andy. I don't think I'm losing my namespace. That
    thought had crossed my mind, which is why (and I thought I put this in my
    original post) I tried putting a somple alert in the onclick event of the
    button in my "patron.htm" file... but that simple alert doesn't even work.
    :o(
    Do you still think it's an issue with the namespace?

  • cfselect with bind to cfc works but is followed by 500 Jrun javax.servlet.ServletException

    All;
    This is driving me crazy. 
    I have a CFC with a function that returns countries via remote as JSON with the // prefix as Cold Fusion is configured.
    I call it with the following url
    www.mydomain.com/getCountriesAndStates.cfc?method=getCountries&returnFormat=json&argumentC ollection={}&_cf_nodebug=true&_cf_nocache=true
    It returns countries according to the Cold Fusion specs (just imagine it returning all countries, didn't want to paste it all the countries here).
    //[[0.0,"Please select a country..."],["US","UNITED STATES"],["CA","CANADA"]] 
    I bind a <cfselect for countrycode to this CFC and it works about 30% of the time.
    Here is the <cfselect
    <cfselect name="CountryCode" id="spanCountryCode" bind="cfc:getCountriesAndStates.getCountries()" bindonload="true"  onChange="DEdetermineTohide(this.id, '1')" onKeyUp="DEdetermineTohide(this.id, '1')">   
            </cfselect>
    It has a second function that returns the States with a CountryCode as the argument. 
    I call it with the follow url
    /getCountriesAndStates.cfc?method=getStateProvince&returnFormat=json&argumentCollection={" countrycode":"US"}&_cf_nodebug=true&_cf_nocache=true
    It returns states according to the old Fusion specs (just imagine it returning all the states, didn't want to paste all the states here.)
    //[[0.0,"Please select a state..."],["AL","ALABAMA"],["AK","ALASKA"]]
    I bind a <cfselect to this CFC with the countrycode as an argument and it populates the states for the countrycoe about 30% of the time.  It fails when the getCountries call fails.
    Here is the State <cfselect
    <cfselect name="StateCode" bind="cfc:getCountriesAndStates.getStateProvince({CountryCode})">
            </cfselect>
    I have a third funtion that returns whether or not the country selected has States and Zip Codes.  I call this function from a seperate javascript script included in the header and fired from the <cfselect name="CountryCode for onChange or onKeyUp.  It basically determines whether or not to show or hide both the State or Zip span but calls the CFC so that I can encapsulate everything in one place.  So the state and zip span with <cfselect and <cfinput appear and disappear based on the information about the country and state and the labels can change too from State to Province and from Zip to Postal Code etc...
    /getCountriesAndStates.cfc?method=getStateZipMetaData&returnFormat=json&argumentCollection ={"countrycode":"US"}&_cf_nodebug=true&_cf_nocache=true
    Ok, so I hope I have described enough about what I am doing.  This works about 30% of the time and fails about 70% of the time.  Flawlessly.  Sometimes it works for hours.  But eventually for some reason AFTER a perfectly good JSON response is returned from Cold Fusion, the Cold Fusion server starts following the JSON response with a 500 Serverlet Exception error.  This happesn on all function calls until I reboot my machine.
    It is driving me mad and making me start to reconsider whether or not I want to use CFForm binding.  It seems like a nice elegant solution that really simplifies and reduces the amount of javascript I have to write, but I can't go to production with forms that produce 500 server errors.
    Anyone have any ideas on what is going on?  If this is a bug?
    Should I just stay away from <cfform binding?
    Please help because it is driving me really crazy.
    My platform information is below.
    About 70% of the time it returns all the countries followed by a 500 Servlet Exception error.
    500
    javax.servlet.ServletException
         at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:154)
         at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
         at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
         at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
         at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
         at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
         at jrun.servlet.FilterChain.service(FilterChain.java:101)
         at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
         at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
         at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
         at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
         at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
         at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
         at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
         at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Platform details
    Server Product
    ColdFusion
    Version
    9,0,0,251028 
    Edition
    Developer 
    Operating System
    Windows XP 
    OS Version
    5.1 
    Adobe Driver Version
    4.0 (Build 0005) 
    JVM Details
    Java Version
    1.6.0_14 
    Java Vendor
    Sun Microsystems Inc. 
    Java Vendor URL
    http://java.sun.com/ 
    Java Home
    C:\ColdFusion9\runtime\jre 
    CF9 Update 1
    Apache 2.2
    Database MS-SQL Express

    Ok, so I think I answered this for myself.  This may be ignorant.  Whatever.  I haven't programmed CF in over 10 years and just started again a month ago, so I think advanced CFC and javascript is a lot.
    I seperated my CFC into a directory with a Alias mapping under Apache and a CF Mapping from CFIDE
    I trimmed down the application.cfc
    It was
    <cfset This.clientstorage="Cookie">
    That was causing the remoting CFC's to return a 500 Jrun Servlet Error
    I am just going to keep my remote CFC's seperate from the rest of my application anyway because they need a different type of security schema.
    So, if anyone struggles with this.  I recommend just put your remotely accessd CFC's in a seperate virtual directory mapped from your webserver and CF and lock them down both with a trimmed down application.cfc and some kind of security.
    They also seem to run much faster now combined with my other Ajax and Javascript.

  • When I attempt to send a text from the new iPad, a dialog box appears with the option to either sign in with Apple ID Password or Create New Account. I try signing in using my Apple ID password but IMessage informs me that email address cannot be verified

    When I attempt to send a text from the new iPad, a dialog box appears with the option to either sign in with Apple ID Password or Create New Account. I try signing in using my Apple ID password but IMessage informs me that email address cannot be verified because it is already in use ??? What am I doing wrong?

    settings -> iTunes & App Store
    click on apple ID listed there
    select Sign Out
    sign in with the proper account
    from then on, when the store ask for your password it should be with the correct ID

  • Error when creating index with parallel option on very large table

    I am getting a
    "7:15:52 AM ORA-00600: internal error code, arguments: [kxfqupp_bad_cvl], [7940], [6], [0], [], [], [], []"
    error when creating an index with parallel option. Which is strange because this has not been a problem until now. We just hit 60 million rows in a 45 column table, and I wonder if we've hit a bug.
    Version 10.2.0.4
    O/S Linux
    As a test I removed the parallel option and several of the indexes were created with no problem, but many still threw the same error... Strange. Do I need a patch update of some kind?

    This is most certainly a bug.
    From metalink it looks like bug 4695511 - fixed in 10.2.0.4.1

  • SSRS report with tabular model – Create a dropdown report parameter with "None" option as the top value.

    Hello Everyone,
    I would like to create SSRS single select dropdown list parameter (it is using MDX query in dataset) with "None" option at the top. Note: this parameter is dependent parameter and getting filtered based on the selection of another parameter.
    How can I add hard-coded "None" text at the top of the parameter values? Can Union function help me to add this hard-coded value? The purpose is, when user selects None from the dropdown ignore the condition of the parameter from MDX query else
    use the selected value in query condition.
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    Hi Ankit,
    In your scenario, you can achieve your requirement in report level other than in query. Add a Filter like:
    Expression: =IIF(Parameters!Name.Value="None",1,Fields!Name.Value)
    Operator:=
    Value: =IIF(Parameters!Name.Value="None",1,Parameters!Name.Value)
    In this case, report will ignore this parameter, and show all the records on the report when selecting “None” value. I have tested it on my local environment, the screenshots below are for you reference.
    Reference:
    Add a Filter to a Dataset (Report Builder and SSRS)
    Regards,
    Charlie Liao
    TechNet Community Support

  • Can the Terminal add a user(with all options) on a single line?

    Howdy All,
    Can the Mac Terminal add a user, with all options desired, on a single line?    If so, can I get an example of this single terminal line to work from?
    Thanks

    Thanks Drew!   You have some great thoughts there. Perhaps I should provide a clearer environment of each high school(4). All classrooms have a lock down Windows environment. (There are no Macs any where in any classrooms.) The mini-tower will be the only Mac on each high school campus. we're in Dell country. The desktops are locked in such a way that only the ghosted/installed software on each hard drive works and no other software can be installed. USB sticks can't run any exe, jar, or other executable file. Even the other drives on the network can't run them. This has been setup to prevent students from bringing games into the environment and running them. Only the single classroom in each high school, where Web Tech is taught, has a ftp tool installed. Students cannot bring and use their own laptops either. So there really isn't any stray ftp activity happening. You cannot "ftp" out of the network! And there is only the one Mac available per campus.  All this makes it certainly easier to maintain for sure. I am the only user in the school district they let run a personal laptop...mine has Ubuntu (tweaked).  My knowledge of Linux has led them to assign this project to me. They are MS based entirely and so is their knowledge base.
    I've got to teach the other 4 teachers how to manage the mini-tower.  Basically it is this:
         Start and stop Apache2,
         Start and stop vsftp,
         Add ftp users(students will only have directory:           /Library/Server/Web/Data/Sites/Default/studentlastname.firstname  )  Students will not log on to the min-   tower directly as any normal user would, but only through ftp. (I.E. no /home directory) ,
         Remove/delete students as needed
         (I'll pre-install cgi-bin scripts on these to keep it simpler on the other teachers and myself.)
    With this in mind, you can see why a basic script or single command line to install these students would be great! I want to keep it simple to avoid mistakes the teachers might make adding users. Once I understand adding a user (in a terminal) better on a Mac, I may write a script to make it happen for them.
    I'd also like to understand removing/deleting a student/user better to insure everything is gone when executed.
    I hope this clear things up. Any help is much appreciated.    THANKS!!!

  • Problem 1 in my person form: hitting ora-1401 (view with check option).

    In an earlier stage I had a table PERSON and a table ENSEMBLE.
    At some stage I decided it was not handy I was storing performing musicians in two different tables.
    So I set up a supertype, CONTRIBUTOR. PERSON is now a view on CONTRIBUTOR.
    The attribute IS_NATURAL_PERSON makes the record listed in person.
    The view definition is
    CREATE OR REPLACE FORCE VIEW "PARTITUREN"."PERSON" ("ID", "FIRST_NAME",
      "MIDDLE_INIT", "LAST_NAME", "GIVEN_NAME", "SORT_KEY", "DISPLAY_VALUE",
      "GENDER", "DATE_OF_BIRTH", "DATE_OF_BIRTH_APPROX", "LOCATION_OF_BIRTH",
      "DECEASED", "DATE_OF_DEATH", "DATE_OF_DEATH_APPROX", "LOCATION_OF_DEATH",
      "NATIONALITY", "ANV_ID", "NUMBERING_SYSTEM", "OPUSNUMBERS", "PORTRAIT",
      "MIME_TYPE", "FILE_NAME", "IS_NATURAL_PERSON", "LWTIMEST", "CREATED_BY",
      "CREATED_TS", "UPDATED_BY", "UPDATED_TS")
    AS
      SELECT
        id,
        first_name,
        middle_init,
        last_name,
        given_name,
        sort_key,
        display_value,
        gender,
        date_of_birth,
        date_of_birth_approx,
        location_of_birth,
        deceased,
        date_of_death,
        date_of_death_approx,
        location_of_death,
        nationality,
        anv_id,
        numbering_system,
        opusnumbers,
        portrait,
        mime_type,
        file_name,
        is_natural_person,
        created_ts lwtimest,
        created_by,
        created_ts,
        updated_by,
        updated_ts
      FROM
        contributor
      WHERE
        is_natural_person='Y'
    WITH CHECK OPTION;When I enter a record in Apex, I have the is_natural_person attribute default to Y.
    However I always hit ora-1401.
    It works in sql*developer and sql*plus.
    I now always have to resort to non-Gui tools to enter someone. This is nasty.
    Oracle 11.2.0.1, Apex 4.0.0.0.46
    Sybrand Bakker
    Senior Oracle DBA

    Hello .
    Some NLS charsets (such as UTF8) require more than one byte to store accented characters like "Ȩ", "ȿ", "�", "�", "ȵ", "ȭ" in the database.
    For example, when a 10 character string is inserted into a varchar2(10) column, the above messages may be signaled if your string contains accentuated characters such as "Ȩ", "ȿ", "�", �", "ȵ", "ȭ". used in languages like German
    One solution
    If the UTF8 NLS charset is being used with French, German ... characters in an Oracle database, then the size of the target column length should be set accordingly.
    Set the NLS_LANGUAGE and NLS_CHARACTERSET database parameters.
    One approach is to change the Database settings as follows:
    ALTER DATABASE CHARACTER SET WE8ISO8859P1;
    SHUTDOWN IMMEDIATE
    Onother
    According to the Oracle documentation, column length semantics determine whether the length of a column is specified in bytes or in characters. You use BYTE to specify that the length is in bytes, and you use CHAR to specify that the length is in characters. CHAR length semantics is also known as codepoint length semantics.
    Because some character sets require more than one byte for each character, a specification of 10 BYTE for a column might actually store less than 10 characters for certain character sets, but a 10 CHAR specification ensures that the column can store 10 characters, regardless of the character set.
    You set the length semantics for an Oracle database using the NLS_LENGTH_SEMANTICS initialization parameter, and all VARCHAR2 and CHAR columns use the setting specified for this initialization parameter as the default. If this initialization parameter is not set, then the default setting is BYTE.
    Edited by: Mortus on Jun 28, 2011 2:57 PM

  • In my MacBook Pro, finder is crashing after logging in. It is showing crash report with Relaunch option, when i click on Relaunch option finder is working properly but i am unable to see top bar(Apple, Date, Wifi). Even in safari address bar not accepting

    In my MacBook Pro(10.7.5), finder is crashing after logging in. It is showing crash report with Relaunch option, when i click on Relaunch option finder is working properly but i am unable to see Top bar(Apple logo, Date and Wifi etc... bar). Even in safari address bar, TextEdit not accepting any text means when type something not showing up and also i am unable operate any thing from keyboard. Plz help me…..

    One thing that you can try is installing a 'fresh' version of OS X Lion. Boot into your Recovery partition (holding down the command and R keys whilst booting) and elect to install OS X from the Recovery screen. You need not erase your hard drive and you should not lose any of your data.
    Oh, and just as a precaution, I would use Disk Utility, once you're in Recovery mode, to verify your hard drive before trying to install the OS again.
    Clinton

  • Print or download ALV report with sort options

    Dear friends,
    How i can download into excel or print ALV report with sort options, like customer name column with similar values should not repeat in the print out or download file.
    Regards,
    Praveen Lobo

    Hi Praveen,
    Use this code, its working:-
    *FOR SORTING DATA
    DATA : it_sort TYPE slis_t_sortinfo_alv,
           wa_sort TYPE slis_sortinfo_alv.
    *          SORT W.R.T. CUSTOMER NAME
      wa_sort-spos = 1.
      wa_sort-fieldname = 'NAME1'. "field customer name
      wa_sort-tabname = 'IT_KNA1'. "internal table with records
      wa_sort-up = 'X'.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
    "this will sort the ALV o/p for customer with same name
    "now the name will not be repeated
    "records with same name will be grouped
    *          DISPLAY RECORDS IN ALV GRID
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program                = sy-repid "report id
        it_fieldcat                       = it_field "field catalog
        it_sort                           = it_sort "sort info
      TABLES
        t_outtab                          = it_kna1 "internal table
      EXCEPTIONS
        program_error                     = 1
        OTHERS                            = 2.
      IF sy-subrc <> 0.
      ENDIF.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir
    Edited by: Tarun Gambhir on Dec 31, 2008 1:13 PM

  • How do I enable flash and java on firefox23 as I have the latest versions installed yet the plugin page shows "disabled" with no option to enable

    I have updated to Firefox 23 and it disabled my Java and Flash plugins. I then updated these to Flash 11.8.800.94 and Java to Version 7 Update 25. Now these are showing up on the plug in page but are showing "disabled" with no option to enable. How do I enable them to view content on the web.

    Thanks Philipp but i have already done that and the content started working...
    However, when i closed and restarted the browser it returned back to the same settings...
    I dont think that should happen, but anyway thank you for the solution. At least I can use it by resetting the values if need be
    Appreciate your help

Maybe you are looking for

  • Disable/Grey out a row in ABAP Objects

    HI, I have a reqmt where in which in the report - when check box display BOM is checked only BOM components needs to be displayed in the output but should not allow user to select the row and make changes by pressing anybutton. The display rows shoul

  • Is there a way to control bones in swf?

    Hello, In Flash cs5, can i publish a bone structure, and control it in the swf? Thanks.

  • Why debugging updates data in ME23n but executing directly doesnt?

    Hi. While updating vendor material number through a customize report , ME23n doesnt get updated with vendor material number but text line does but when executed in debugging mode it does. BAP_PO_CREATE , we placed a bapi commit then a wait upto 2 sec

  • Web page super small

    I am wondering why internet pages don't fill the whole screen. I have stretched my internet from the bottom right corner so that it takes up the whole 17" screen, but all the web content stays super tight in the center. It just seems so small and is

  • 2nd gen digitizer and glass used on 3rd gen?

    so my question is can a 2nd gen digitizer and glass be used to fix a 3rd gen? Are the 2nd and 3rd the same screen?