To fix the length of a textfield for user to enter date

hi,
i need to display a textfield for user to enter the date in the format MM/DD/YY.With the slash in between present and fixed and the possibility of entering only 2 digit figures for the month,day n' year.I am using JTextField .how can i acheive that pls help.

You must design you own document where you will manage the text that will be entered/displayed in your textfield
here's a sample of the code I use to do this:
import javax.swing.JTextField;
import java.io.*;
import javax.swing.*;
import javax.swing.text.*;
import java.awt.*;
import java.awt.event.*;
public class MaskedTextField extends JTextField
private String initStr;
public MaskedTextField (String mask, String initStr)
super();
setDocument(new MaskedDocument(initStr, mask, this));
setText(initStr);
this.initStr = initStr;
this.addMouseListener(new java.awt.event.MouseAdapter()
public void mouseClicked(MouseEvent m)
this_mouseClicked(m);
private void this_mouseClicked(MouseEvent m)
if (getText().equals(initStr)) setCaretPosition(0);
class MaskedDocument extends PlainDocument
String mask;
String initStr;
JTextField tf;
public MaskedDocument(String initStr, String mask,
MaskedTextField container)
this.mask = mask;
this.initStr = initStr;
tf = container;
void replace(int offset, char ch, AttributeSet a)
throws BadLocationException
super.remove(offset,1);
if (capitalised) super.insertString(offset,
String.valueOf(ch).toUpperCase(),a);
else super.insertString(offset, "" + ch, a);
public void remove(int offs, int len) throws BadLocationException
if (len==0)
return;
// Remove current contents
super.remove(offs, len);
// Replace the removed part by init string
super.insertString(offs,initStr.substring(offs,offs+len),
getAttributeContext().getEmptySet());
tf.setCaretPosition(offs);
public void insertString(int offset, String str, AttributeSet a)
throws BadLocationException
if ((offset==0) && str.equals(initStr))
// Initialisation of text field
super.insertString(offset,str,a);
return;
if (str.length()==0)
super.insertString(offset,str,a);
return;
for (int i=0;i<str.length();i++)
while ((offset+i) < mask.length())
if (mask.charAt(offset+i)=='-')
// Skip fixed parts
offset++;
else
// Check if character is allowed according to mask
if (str.charAt(i) != this.initStr.charAt(i))
switch (mask.charAt(offset+i))
case 'D': // Only digitis allowed
if (!Character.isDigit(str.charAt(i)))
return;
break;
case 'C': // Only alphabetic characters allowed
if (!Character.isLetter(str.charAt(i)))
return;
break;
case 'A': // Only letters or digits characters allowed
if (!Character.isLetterOrDigit(str.charAt(i)))
return;
break;
replace(offset+i, str.charAt(i),a);
break;
else
i++;
offset--;
// Skip over "fixed" characters
offset += str.length();
while ((offset<mask.length()) && (mask.charAt(offset)=='-'))
offset++;
if (offset<mask.length())
tf.setCaretPosition(offset);
if (offset == mask.length()) tf.setCaretPosition(offset);
Enjoy
Bernie

Similar Messages

  • Is it possible for users to enter data on PDF forms?

    I would like to use Crystal Reports to generate a PDF form with data from database; I am experienced with that.
    Here's the question -- Many of the fields will be populated from my database, but I would like to leave some fields blank for the user to edit manually. (I do not expect these edits to update the database.) Is there a field or object I can insert to allow for these manual edits?
    I have seen this feature at my own benefits website. I can click on the PDF and enter some values in blank fields. It gives me a warning that the changes will only be shown when I print, not when I save.
    I have been unable to create this feature using Visual Studio 2005. Do I have to upgrade to 2008? Or do I have to upgrade my Crystal Report package in Visual Studio? Or is this feature not possible in Visual Studio?
    Any thoughts are most welcome.
    Edited by: John  Miedema on Sep 3, 2008 9:07 PM

    There are 3rd-party tools (see comprehensive list at http://www.kenhamady.com/bookmarks.html) that provide extra pdf functionality on top of the pdf export from Crystal. 
    In the case of my Visual CUT software, you can use hidden formulas inside your Crystal report to generate form fields (pre-populated as well as empty) as part of the pdf export process.
    hth,
    ido

  • How to fix the length of select list box?

    Halo, i am doing the research. I need to find out what is the method to fix the length of select list box. This is b'cos i can set the length of select list due to different length of record(s)/data(s).
    Another question to select list box. What is the maximum length of the select list box?? Can i enter the character with 255 lenght??
    Thank you very much..... a prompt reply will be appreciate!!

    Thanks for ur reply! actually that answer that you gave is right, but i also need to know what is the maximum lenght of character in the select list box?? any idea to that??
    Meanwhile, i also need to know how can i make the character display in select list box dynamically?? that means i can change the font style or font size??
    Anyway, thanks for ur answer.
    bscs.

  • [svn:bz-trunk] 18928: fixing the sample service-config. xml for max-object-nest-level setting

    Revision: 18928
    Revision: 18928
    Author:   [email protected]
    Date:     2010-12-01 14:16:56 -0800 (Wed, 01 Dec 2010)
    Log Message:
    fixing the sample service-config.xml for max-object-nest-level setting
    Modified Paths:
        blazeds/trunk/resources/config/services-config.xml

    you have your driver jar in Tomcat\common\lib?
    if so, check your classpath, it could be that.

  • Whats the fieldname and table name for purchase order delivery date

    hi all,
        whats the fieldname and table name for purchase order delivery date
      thanks and regrads

    EKET-EINDT is the delivery date according to the schedule lines.
    for example the line item has 100 qty.
    it is sent in three schedules (40, 40, 20).
    Then EKET will have 3 records for one PO Line item.
    The final delievry data is the EKET-EINDT for the 3rd schedule line item.
    Regards,
    Ravi

  • Dropdown list (predefined list) along with provision for user to enter text

    Hi,
    Is there any provision in J2ME to have
    " a drop-down list , which contains predefined variables. if the user does not want to use those predefined variables, then a provision for user to enter text."
    thanks in advance

    Append Method
    I would create a box / div in Animate then when you publish it and put it on your page just append a form with an email input ( <input type="email></input>" ) and submit button.
    <form action="url">
      <input type="email" name="usremail">
      <input type="submit">
    </form>
    This page provides a lot of information on how to use Edge Animate and how to do more advanced things.
    http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html

  • How do I fix the format of plot lines for an arbitrary number of sets of data plotted on the same x-y graph?

    I have written a VI to control an LCR meter and perform sweep functions. I have two x-y graphs on my front panel (one for each of 2 measured parameters). The VI is designed with a button to take a measurement, plot the data, and then wait for another event (like write data, clear plot, or measure again). The user can take simultaneous measurements and these are plotted on top of the data already there in the same x-y graphs (using an array of clusters with shift registers). There is no limit on how many sets of data can be on the x-y graph. 
    Now, my issue is in formatting the plot lines (color, thickness, marker type). I can fix the first plot line by adjusting the parameters of the x-y graph. However, I also want to control the format of all consecutive plot lines. How can I do this for an arbitrary number of lines? The main thing I want to do is to have all of them show the square marker type (the default is no marker type, just a line). 
    Thanks!

    Hi maximum23,
    You can use properties of plot to format the plot lines. You just have to select Active plot using property and then select color and line width etc..
    You can define color and width etc parameter by asking user or you can just make them default.
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.

  • How to fix the length of the output file

    hi,
    I have 1000 records in my source table which need to be inserted into file. But the length of the rows in my file should be only 500 i.e there should be two files getting created for this 1000 records i.e my each output file should contain only 500 rows not more than that.
    Depending on the number of records present in the source, the file getting created will be varying as my file should contain only 500 rows each. for ex: if 5000 rows are present then 10 files need to be created.
    How this can be achieved in ODI.
    Thanks in advance

    I believe this can achieved using jython easily .
    Here is a sample output code
    Command on Source - Select database Technology and required logical schema
    Command on Target - Jython
    import java.sql as sql
    import java.io as io
    import string,re
    import java.lang as lang
    import java.text as text
    myCon = odiRef.getJDBCConnection("SRC")
    myStmt = myCon.createStatement()
    my_query="SELECT * FROM  SCHEMA.TABLE_NAME "
    file_count=1
    i=1
    myRs = myStmt.executeQuery(my_query)
    writer=io.BufferedWriter(io.OutputStreamWriter(io.FileOutputStream('c:\\FILE_'+str(file_count)+'.csv')))
    md=myRs.getMetaData()
    collect=[]
    while (i<= md.getColumnCount()):
        collect.append(md.getColumnName(i))
        i+=1
    header=','.join(map(string.strip,collect))
    #writer.write(header+'\n')
    myRs = myStmt.executeQuery(my_query)
    md=myRs.getMetaData()
    myRs.setFetchSize(5000)
    i=0
    while (myRs.next()):
        j=1
        col=[]
        while (j<= md.getColumnCount()):
            col_type=md.getColumnTypeName(j)
            col_name = myRs.getString(md.getColumnName(j))
            if col_name is None:
                col_name= ''
            col.append(col_name)
            j+= 1
        data=','.join(map(string.strip,col))
        writer.write(data+'\n')
        #print data+ '\n'
        i +=1
        if (i == 500):
            writer.flush()
            writer.close()
            file_count +=1
            writer=io.BufferedWriter(io.OutputStreamWriter(io.FileOutputStream('c:\\FILE_'+str(file_count)+'.csv')))
            i=0
    writer.flush()
    writer.close()
    myCon.close()Please run this code and let me know if you need any other help or modification to get your desired results.

  • How can I fix a dynamic zoom tool issue for users of Reader v8?

    I am publishing a PDF to be posted on the internet for downloading by end-users. The PDF is designed to open in full screen view, that is, without tool or menu bars visible. This means it would be helpful for me to embed additional functionality onto each page of the PDF for users who do not know keyboard shortcuts.
    In doing so, I have found that when adding the dynamic zoom tool function via Acrobat's Advance Editing > Forms > Button Tool, the dynamic zoom tool only works in some versions of Acrobat Reader and not others.
    I suspect this is because the dynamic zoom tool is accessed from different locations in different versions of Reader. Therefore, the instruction that I embed in to the button tool that relies on a menu-tree command ('find the tool in this location via the menu') cannot therefore be executed.
    Fortunately, it appears that there is a javascript name available for the dynamic zoom tool that I can use instead of a menu-tree command. But unfortunately, it appears that the script name is different for different versions of Adobe Reader...
    Not to be outdone, we have managed to write a small piece of javascript that, when assigned to the PDF using the button tool, identifies which version of Reader the recipient is using and activates the correct script name.
    So far so good.
    However, it now appears that version 8 of Adobe Reader has a higher level of security built in, so that javascript is security restricted and isn't allowed to run.
    This of course means that the button I've included in the PDF to bring up the dynamic zoom tool doesn't work at all for end-users using Adobe Reader v8.
    Getting the users to adjust their security permissions in the preferences is problematic and less than ideal. I really want the PDF to work 'out of the box' so to speak, without the users having to perform somersaults to get every element of the PDF to function fully as designed.
    And seeing as the end-users are part of a public organisation and will not necessarily have the authority to update their software from v8 to v9 themselves, I am a little stuck.
    So what's my query? I've got more than one:
    • Is there a more detailed script I can assign using the button tool to get the dynamic zoom tool to work as outlined above in v8?
    • Can I raise the security level of the dynamic zoom tool from within the PDF (that is, so that the dynamic zoom tool activates automatically and without end-user intervention, e.g. without downloading bits of code to place in file directories)? 
    • If I were to assign a digital ID/certificate to the PDF, would this allow the javascript to run unhindered?

    If you are going to SET an IP, a Static IP, on the computer it has to be out of the DHCP pool range but in the overall IP range the router is using to hand out. So if the router DHCP range is 192.168.1.100 to .150 you have to assign a static IP to the computer either above the 150 or below the 100.
    Right I've never had a problem with ha PC. But then I have never had a problem with my Mac either.
    I suspect you have some type of hardware problem or a hardware and driver problem.

  • Where can I find Firefox 7.0 to install? Is there a link maintained where all the firefox releases are available for users

    Hello Team,
    Is there a link maintained where all the firefox release and its patch are available for users to download & install

    You can get Firefox 7 here
    * http://releases.mozilla.org/pub/mozilla.org/firefox/releases/7.0.1/
    buit its reccomend to use Firefox 8

  • SQLException thrown by the physical connection: Login failed for user

    Hi Experts,
    I am creating a custom data source on Visual Administrator (2004s 7.01 SP3) for SQL 2008 with a named instance. Using Logon, System databases are getting connected. But Visual Administrator throws the below exception trace while attempting to connect to any custom created databases.
    Please help me to resolve this.
    Thanks in Advance,
    Nikhil

    java.rmi.RemoteException: com.sap.engine.services.dbpool.exceptions.BaseRemoteException: Error during runtime changes of application "sap.com/JDBCConnector_QIDB.xml". [id = ConfigError]
         at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.updateDataSourceApplication(DataSourceManagerImpl.java:705)
         at sun.reflect.GeneratedMethodAccessor647.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
         at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
         at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
         at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)
         at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
         at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)
         at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
         at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:131)
         at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:212)
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:766)
         at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: java.rmi.RemoteException: Error occurred while making runtime changes with application sap.com/JDBCConnector_QIDB.xml; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide exception: server ID 3640850:com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Cannot start DataSource "QIDB".
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSource(ContainerImpl.java:1549)
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSources(ContainerImpl.java:1825)
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.prepareStart(ContainerImpl.java:489)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:223)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:171)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:342)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:126)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:245)
         at com.sap.engine.services.deploy.server.application.RuntimeTransaction.finalActions(RuntimeTransaction.java:286)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:339)
         at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.makeRuntimeChanges(DeployCommunicatorImpl.java:344)
         at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.updateDataSourceApplication(DataSourceManagerImpl.java:685)
         at sun.reflect.GeneratedMethodAccessor647.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'xxxx'.
         at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:193)
         at com.sap.engine.services.connector.jca.ConnectionHashSet.init(ConnectionHashSet.java:168)
         at com.sap.engine.services.connector.jca.ConnectionHashSet.<init>(ConnectionHashSet.java:134)
         at com.sap.engine.services.connector.jca.AdapterCache.open(AdapterCache.java:294)
         at com.sap.engine.services.connector.ResourceObjectFactory.startConnectionFactory(ResourceObjectFactory.java:316)
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSource(ContainerImpl.java:1540)
         ... 40 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'xxxx'.
         at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
         at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(Unknown Source)
         at com.microsoft.sqlserver.jdbc.TDSParser.parse(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$000(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(Unknown Source)
         at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
         at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:163)
         ... 45 more
         at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.makeRuntimeChanges(DeployCommunicatorImpl.java:346)
         at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.updateDataSourceApplication(DataSourceManagerImpl.java:685)
         ... 28 more
    Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide exception: server ID 3640850:com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Cannot start DataSource "QIDB".
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSource(ContainerImpl.java:1549)
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSources(ContainerImpl.java:1825)
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.prepareStart(ContainerImpl.java:489)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:223)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:171)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:342)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:126)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:245)
         at com.sap.engine.services.deploy.server.application.RuntimeTransaction.finalActions(RuntimeTransaction.java:286)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:339)
         at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.makeRuntimeChanges(DeployCommunicatorImpl.java:344)
         at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.updateDataSourceApplication(DataSourceManagerImpl.java:685)
    com.sap.engine.services.connector.ResourceObjectFactory.startConnectionFactory(ResourceObjectFactory.java:316)
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSource(ContainerImpl.java:1540)
         ... 40 more

  • Creating views for users by entering a field

    Hi I want to create a veiw for a new user.
    I want the user to view details for a member after he has entered a Membership No
    create view member_details
    (&memberno, name, address)as
    select memberno, name, address
    from member
    where memberno = &memberno;
    when i use this command it asks me for a memberno, I enter one so when the user logs in and
    select * from reilly.member_details;
    all he gets is the info for the memberno I have entered
    how do I fix this so the user is the one entering the memberno

    If your admin staff need to access details for any member, can't they just query a view of all members and specify a memberno then?
    View (presumably more complex than this in reality) would be
    create view member_details
    (memberno, name, address) as
    select memberno, name, address
    from members;Admin user query would be:
    select * from member_details
    where memberno = &memberno;Is SQL*Plus really the interface you provide your admin users with?

  • Basic question .... How can I set up a page for visitors to enter data?

    Is it possible in iWeb 08 to set up a page that visitors enter data in specific fields and allow me to retrieve that information? Like filling out a form, then emailing the form to my .mac mail.
    Thanks.

    Yes Douglas you can set up a form that collects information. Use an html snippet and get the form code from such places as
    Wufoo.com
    Formlogix.com
    Createforms.com
    bravenet.com
    and others you may find by googling it.
    Mireille

  • When is Apple going to fix the new OS once and for all?

    Since upgrading my iPhone to the new OS, I can no longer:  Open internet links contained in emails/messages; set custom ring tones for my contacts (or more accurately, I can set them but the phone will not retain them); get pop-up reminders (even though they are properly set in my calendar); or use the Bluetooth feature to pair with the hands-free link in my car.  Every one of these features worked flawlessly under the old OS.  If Apple is not going to fix these issues, they should at least allow users to revert back to the old operating system.  Am I the only one experiencing these types of issues and frustrations?

    I am having none of these issues, nor is anyone I know.
    Sorry
    Have you tried a restore?

  • How I fixed the "unsupported image format" error for RAW files

    After deleting the .plist file stopped working, I decided to go ahead & reinstall Aperture and...voila--problem fixed. RAW files are again displaying without any trouble (just like they used to!)
    G5 2.3DP   Mac OS X (10.4)  

    Just an update. Restarted computer and attempted rebuilds of iPhoto library a couple more times and finally files and photos mostly recovered, except for those I had tried to open. Aperture seems to have a problem, or a host of them, dealing with RAW files, and there is no update yet for the Sony RX1R for Aperture or iPhoto. Lightroom 5, on the other hand, seems to work great with these files directly, so that will be where all photos go for now. Will iPhoto and Aperture just become old archives? It is so infuriating that Apple does not allow for simple importing and exporting compatibility with such an excellent program as Lightroom 5 just to protect their somewhat poorly supported Aperture. I've been a staunch Apple supporter and user since the 80's, but having more doubts about the direction this company is taking.

Maybe you are looking for

  • Withholding tax Amount not being displayed in the Invoice while posting a Parked Document

    Hi, I have created a parked document for the Vendor who has the Witholding tax code w9 - 15% . I created Parked Document using FBV1 and then tried posting the same using FBV0.Somehow I am not getting the Withholding tax Amount in the FI Document crea

  • Change Item Category in Sales Order for KMAT materials

    Hi, How can I change item category in sales order/quote for KMAT materials? Currently in the sales order/quote, the item category field is grayed out for KMAT/configurable materials and I can change the item category. Please help me. Sincerely. Ketan

  • Muse: Link zu post in eingebettetem Wordpress-Blog?

    Hallo, Ich habe in meiner neuen Website auf der Seite "News" meinen Wordpress-Blog eingebettet. Hier der Code: <iframe width="1010" height="732" src="https://maniahub.wordpress.com/" frameborder="0" allowfullscreen></iframe> Jetzt habe ich auf der St

  • [SOLVED] systemd-udevd renames network interfaces

    During install I enabled dhcpcd service like this: systemctl enable [email protected] Seems perfectly valid, eh? But after reboot network I've got the following messages: [ TIME ] Timed out waiting for device sys-subsystem-net-devices-eth0.device. [D

  • Anybody have this problem with Genius?

    After a week long fiasco with Itunes, I was able to get my Itunes working again....sweet...not so fast my friend.  I had everything back in place, so my last step was to update my Genius mix, that should be easy, click on update....BOOM...CRASH...ME