Trying to filter an entire database using a combo box or text box

Hi,
I am looking to create a combo box with rows vice columns, then I would like to create a macro or some for form of filter that gives me the option to search within each or all of the selections.
I have created a search function (using a textbox and the button features) that allows me to search for anything in my database using applyfilter. The problem that I ran into with this was that when I hit the might work, but only the first line worked.
So I tried to use a combination box to create a filter of the fields that I want to view for the particular search I need, but I want to select row headers vice columns of information. For example if I have five fields of: Last Name, First Name, SSN, Document
number and Unique ID.
I want a combination box to show the following field header when I click the drop down option.
(Last Name
First Name
SSN
Documentation Number
Unique ID)
Then I would to apply a macro filter feature for files within theses individual fields. I am just getting started in VBA and using Macros, so any help would be awesome!!
If I am too far off target please direct me back, I tend to over think things.
Thanks in Advance

Dirk Goldgar, I tried to you use the suggested method you gave me. Part of the problem I was having was that I wanted to view the field list, which I now know is very possible thanks to you, but only wanted it to show as one single list of fields.
So took the information you gave me and went on to create a list box instead. I later found out why this was not working either.
In what way was it not working?  You can do the same thing with a list box as I described for a combo box.
I have relationships of tables attached.
I don't understand what you mean by that last statement, or how it's relevant to the discussion.  Do you mean you have multiple different tables that you might want to filter?  So you would need to either (a) first need to select a table from a
list of tables in your database, and only then select a field in that table, or else (b) have a table listing all the data elements you might want to search, with the table and field name of each, and base a list box on that -- then the code to search would
know what table to select from, as well as what field to filter on.
So this info that you provided was very helpful. I will continue to go through the link you provided.
So I can quickly sum up what I need:
1. A dropdown box that allows me to search any Field List
2. A textbox that allows me to type in the searchable information for that particular field.
3. Or some way to build a filter function for the whole list, with a textbox to search the key words.
This is all still a bit unclear to me, because I don't know whether you want to search a particular table, or any of many possible tables in the database.
Dirk Goldgar, MS Access MVP
Access tips: www.datagnostics.com/tips.html

Similar Messages

  • Using Automator to create a text box of certain size

    I'm very new to using automator... in fact I haven't used it at all, but I am wondering if I can use it to create a text box of the same size each type to type in within preview (a PDF document).  Basically I want to click or push something and have a text box be generated that is the same size each time.
    Thanks!

    1. In the Finder actions you will need:
    - Get Specified Finder Items, and point it towards the folder that will contain the movie.
    - Get Folder Contents - to get what's inside the folder.
    - Filter Finder Items - set to filter by 'Name Extension' 'Is equal to' 'mov' and make sure all your video files have the right extension...
    - Open Finder Items - in QT Player - note that this might cause problems if there are multiple files in the folder...
    Then from the QT Player actions:
    - Play Movies.
    2. Save As... Application, then after saving, drag the app into the login items for the user account.
    3. That's going to need some AppleScript, but this thread should get you started:
    http://discussions.apple.com/thread.jspa?threadID=455825&tstart=0
    Ian

  • Using javascript to make a text box invisible by clicking a radiobutton

    hi
    my radiobuttons are for a persons title eg Mr Miss Mrs Ms and value 5 is for other.
    when i click other i want a text box to appear that a user can write in, and if the user changes their mind after writing in the box i want the text box to disappear
    you may of noticed i am new to java. this is the code i have used for my text box
    topmostSubform.Page1.titleother::calculate - (JavaScript, client)
    if (titlebox.rawValue == 5)
    this.presence = "visible";
    else
    this.presence = "invisible";
    this.rawValue;
    i have tried variations of this script but it still doesnt work the way it should. i tried searching forums and help files but couild not find an answer to this simple problem... can anyone help

    thnaks for your post thomas i appreciate your help on this :)
    yes it did put 'other' in my text box.
    i managed to overcome the proble using a workaround, it isnt ideal but it works. i put a clickevent in the radiobuttons and changed the text box from calculated to optional

  • Using Symbols in a Call-out Box or Text Box

    Our engineers need to type in special symbols like degree, plus minus, empty set, etc. into a Call-out Box, Text Box, etc. when they are marking up a technical drawing.  Is there an easy way to do this?  Thanks for your help.

    That's what I tried initially.  However, when I try that in the Call-Out, it doesn't work - it gives me an error tone and does not type anything.  I've used both the numberpad keys and the number keys along the top, if that makes a difference.  Let me know if you can get it to work in the Call-Out - I could be doine something wrong!

  • Using Photoshop8, data in a text box misaligned

    When I enter text in a text box it appears with the baseline of the type above and on the top edge of the text box. If I start with an uppercase letter it overprints the second letter in the series. The character window seems to be in order with all the spacing and leading properly identified. Have tried a reinstall to no avail. Using Windows 7 and PhotoShop8. This just stared happening it had wroked properly for a long time.

    Station_Two,
    That is a good question, and I assumed Ps CS, but not many users referred to it as Ps 8, and usually used either "CS," or listed the dot version of the program.
    @ RobCam,
    If you do mean Photoshop Elements 8, just let me know, and I will be glad to Move your post to that dedicated forum. You can click on my Profile, and then to the upper-right, choose Send Private Message. If you do mean PsE 8, when Moved, all of your links and e-mails will follow perfectly, though the post will go to another forum.
    Good luck,
    Hunt

  • How do I change the colour of a page in Pages without using a floating shape or text box?

    I want to change the colour of a page in Pages without having to stretch out a floating coloured shape or using a text box to write the text in. I have been stretching shapes and using text boxes for years but surely there is an simpler and more elegant way to do this? Plus, I want to be able to type several pages of continuous text and not have to split the text up into multiple text boxes. Any help most welcome.

    bigj wrote:
    I want to change the colour of a page in Pages without having to stretch out a floating coloured shape or using a text box to write the text in. I have been stretching shapes and using text boxes for years but surely there is an simpler and more elegant way to do this?
    There are a whole lot more really essential features missing in Pages than this.
    bigj wrote:
    Plus, I want to be able to type several pages of continuous text and not have to split the text up into multiple text boxes. Any help most welcome.
    What is stopping you?
    Peter

  • ORA-12514 when trying to connect to the database using SERVICE

    Hi,
    Version 10204
    In a single instance database i would like to create new SERVICEs in order to use them later with Resource Manager.
    The instance name is DWH.
    I run the following commands:
    I added to the tnsnames.ora file the following input:
    XYZ =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XYZ)
    As SYSDBA i execute:
    > exec DBMS_SERVICE.CREATE_SERVICE('xyz','xyz');
    PL/SQL procedure successfully completed.
    > exec DBMS_SERVICE.START_SERVICE('xyz');
    PL/SQL procedure successfully completed.
    But when i tried to connect to the instance:
    sqlplus ac/ac@xyzSQL*Plus: Release 10.2.0.4.0 - Production on Sat Nov 1 14:44:43 2008
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    When i am trying to connect , not via the service , its successed:
    sqlplus ac/ac@dwh
    SQL*Plus: Release 10.2.0.4.0 - Production on Sat Nov 1 14:45:07 2008
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Could you please help to understand why its failed to connect via SERVICE ?
    Thanks

    You told us.
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    I ask some questions, you set alias for listener port (no default) + local_listener parameter, don't you?
    If you did....
    Please check by .....
    lsnrctl status
    lsnrctl service
    Let me show my example:
    About 1522 (no default port)
    SQL> show parameter local_listener
    NAME TYPE VALUE
    local_listener string ALIASLISTENER
    - check tnsnames.ora file in the same location listener.ora file.
    $ cat tnsnames.ora
    ALIASLISTENER=
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost )(PORT = 1522))
    - About create new service
    SQL> show parameter service_names
    NAME TYPE VALUE
    service_names string db
    SQL> exec DBMS_SERVICE.CREATE_SERVICE('xyz','xyz');
    PL/SQL procedure successfully completed.
    SQL> exec DBMS_SERVICE.START_SERVICE('xyz');
    PL/SQL procedure successfully completed.
    SQL> show parameter service_names
    NAME TYPE VALUE
    service_names string xyz
    $ lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 02-NOV-2008 03:29:21
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1522)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date 02-NOV-2008 03:28:45
    Uptime 0 days 0 hr. 0 min. 36 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File ORACLE_HOME/network/admin/listener.ora
    Listener Log File ORACLE_HOME/log/diag/tnslsnr/hostname/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1522)))
    Services Summary...
    Service "db" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Service "db2XDB" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Service "db_XPT" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Service "xyz" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    $ lsnrctl service
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 02-NOV-2008 03:29:40
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1522)))
    Services Summary...
    Service "db" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "db2XDB" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:972 state:ready
    DISPATCHER <machine: hostname, pid: 30200>
    (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=45572))
    Service "db_XPT" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "xyz" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully

  • Error when trying to upgrade SQL Azure database using DAC Package in MGMT Studio - "Unexpected XML Content"

    Hi there,
    I am trying to upgrade a database running in SQL Azure from my local dev box which is running SQL Server 2008 R2 Sp1 (Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64))
    I extract the dac with no problems from my local database. However, when I try to upgrade the Azure db I get the below error.
    This error occurs just after I browse to select the dac package and click open in the browse window. I.e. It happens before I actually try and apply this dac to the Azure database. Something is going wrong, presumably, when the package is parsed by management
    studio.
    I am running Visual Studio 2010 Premium Sp1 if that matters, plus all the various updates required for Azure development..
    Thanks for your help!

    Hey there, and apologies for the lack of response.  Are you still having this issue and still needing help?
    Thanks Guy

  • Using null values to change text boxes

    Very simple question I believe.
    I have a form with rows of data.  All I want to do is say that if a given field in a row "description1" is not Null, then populate another field with a specified value.
    jA

    if (descriptionFieldName.rawValue != null){
      otherFieldName.rawValue = "value you want to give it";
    If there are multiple rows of this information you will have to add the row subform to the expression as well as an occurance number so it wil know which one you want . I will use i to indicate the occurance:
    if (Row(i).descriptionFieldName.rawValue != null){
       Row(i).otherFieldName.rawValue = "value you want tto give it";
    Paul

  • How do I stop Firefox from Zooming to Fill the entire Width of the screen with the Text Box?

    In Portrait mode the zoom facture / percentage performed may not be as significant or frustrating. However in landscape mode zooming the text box to fill the width of the screen is ridiculous. It makes the box huge & sometimes impossible to see / read what is needed in subsequent form text boxes.
    In Landscape mode this sets in motion a necessity to zoom out following the competion of typing in every single text box. (Just try to fill out a form & see if you don't feel like cursing. In Landscape mode especially, I zoom to see what I want to see. I don't want firefox to undo my zooming action!
    Is it possible to dissable this auto zooming in the settings? Or is it possible to suggest this change be added to future updates?

    See if disabling this improves the experience:
    # In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
    # Click '''I'll be careful, I promise!''', to continue to the about:config page.
    # Look for find.helperautozoom I think it is called

  • XML export of entire database

    Hi
    I'm trying to export an entire database into a single XML document. At the moment, I can only do it one table at a time, using the following pl/sql procedure:
    create or replace procedure "download"
    is
    queryCtx DBMS_XMLquery.ctxType;
    result1 CLOB;
    begin
    queryCtx := DBMS_XMLQuery.newContext('select * from table1');
    result1 := DBMS_XMLQuery.getXML(queryCtx);
    --download the file
    owa_util.mime_header('text/xml', FALSE);
    htp.p('Content-Disposition: attachment;
    filename="Document.xml"');
    owa_util.http_header_close;
    htp.print(result1);
    end
    Is there any way to select all information from all tables and put it in the one document?
    Thanks in advance,
    Dave

    David,
    Are you trying to export user (SYS and SYSTEM) as well into an XML file? or are you trying to get all of one schema into a XML file?
    One possibility:
    You could create an interim table which contains the tablenames.
    create table interim as select table_name from dba_tables where owner = 'OWNERNAME';
    Then in your program read this interimtable into a cursor and loop through it using the variable in place of your hardcoded 'select * from table1' in the DBMS_XMLQuery.newContext
    You would then need to append result1 to result1 plus new query context for the clob.

  • Problem in connecting to database using oracle jdbc thin driver

    hi
    i am trying to connect to a database using oracle thin driver.
    i am getting following error:
    java.sql.sqlexception:Io exception: the network adapter could not establish the connection
    Io exception: the network adapter could not establish the connection
    the connection string has the property of using a dedicated server
    for this reason i have put USE_DEDICATED_SERVER=ON in sqlnet.ora file...
    we did not face this problem while connecting to other databases which do not have the property of dedicated server in their connection string in tnsnames.ora file.
    please suggest a solution for this.
    thanks and regards,
    asif

    If you are using the thin driver, sqlnet.ora does not come into play. None of Oracle networking does. That is one of the great things about using the thin driver, no need to have the client installed.
    That error is due to incorrect connection info you are supplying or the machine you are connection from can't ping the machine it is trying to connect to.

  • Cannot connect to Database using JavaWebServer

    Hello,
    I am trying to connect to the database using the javawebserver2.0
    but when executed i get the following exception
    can any please tell when what cud be the possible problem
    Exception is:
    500 Internal Server Error
    The servlet named TxValidateUser at the requested URL
    http://nt17:6060/servlet/TxValidateUser;$sessionid$JWA24MAAAAAAFQDEYB3AAAA
    reported this exception: access denied (java.net.SocketPermission 192.100.192.122:1521 connect,resolve). Please report this to the administrator of the web server.
    java.security.AccessControlException: access denied (java.net.SocketPermission 192.100.192.122:1521 connect,resolve) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:267) at java.security.AccessController.checkPermission(AccessController.java:394) at java.lang.SecurityManager.checkPermission(SecurityManager.java:540) at java.lang.SecurityManager.checkConnect(SecurityManager.java:1039) at java.net.Socket.(Socket.java:257) at java.net.Socket.(Socket.java:95) at oracle.net.nt.TcpNTAdapter.connect(Unknown Source) at oracle.net.nt.ConnOption.connect(Unknown Source) at oracle.net.nt.ConnStrategy.execute(Unknown Source) at oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source) at oracle.net.ns.NSProtocol.establishConnection(Unknown Source) at oracle.net.ns.NSProtocol.connect(Unknown Source) at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:1213) at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:209) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:249) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:172) at TxValidateUser.service(TxValidateUser.java:201) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.http.servlet.InvokerServlet.service(InvokerServlet.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423) at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79) at com.sun.server.http.stages.Runner.process(Runner.java:79) at com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294) at com.sun.server.Service.process(Service.java:204) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:166) at com.sun.server.HandlerThread.run(HandlerThread.java:162)
    Thanks
    ROhan

    Please reply sumone its urgent
    regards
    rohan

  • Problem creating standby database using RMAN

    I am preparing standby database on Windows environment. For the same..
    1. I have taken full database,archivelog and standby control file backup on primary database.
    2.Backup pieces have been moved to standby server.
    3.TNS configured on both the servers.
    4.connected to target as well as auxiliary database and trying to create the standby database using the below command...
    duplicate target database for standby;
    But I am getting the below error........
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
    ORA-19870: error reading backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
    ORA-19504: failed to create file "E:\ORACLE\PRODUCT\10.2.0\ORADATA\AIRPRIM\CONTROL01.CTL"
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/01/2009 10:35:48
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    Please provide me the solution for the same...
    Thanks in Advance.....
    Sukanta

    channel ORA_AUX_DISK_1: reading from backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
    ORA-19870: error reading backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
    ORA-19504: failed to create file "E:\ORACLE\PRODUCT\10.2.0\ORADATA\AIRPRIM\CONTROL01.CTL"
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    failover to previous backup
    Can you please confirm if the directory E:\ORACLE\PRODUCT\10.2.0\ORADATA\AIRPRIM is existing on standby box and rman can write to that location (free space & permissions)
    If the issue is still present provide us the control_files parameter from standby..
    - Ravi.M

  • How save & retrive data from database using flex, coldfusion, sql server

    hi , i am very new in flex, i am trying to insert data in
    database using flex2, coldfusion, sql server. any one can help me
    please. or give me any example.

    Hi try to goto the following sites, you will get some
    direction to think
    http://weblogs.macromedia.com/pent/archives/2006/11/example_of_flex.cfm
    http://pdxphp.org/node/258
    Good Luck

Maybe you are looking for

  • Delivery QTY is more than Stock qty in Stock transfer order

    Dear Sir i created one STO with Qty 100,i got the stock of 10 in my hand when i create delivery with ref to STO through VL10B, delivery created for whole STO qty is there is any specific setting to control this my requirement is like delivery qty sho

  • [Solved]catalyst-rt module for realtime kernel

    Hello, I've compiled and intstalled the rtkernel with the directions posted here: http://bbs.archlinux.org/viewtopic.php?id=52201 My laptop uses an ati card and needs catalyst drivers. The fglrx module works fine with the vanilla kernel and pacman do

  • A strange problem while Solaris9 CC compile union

    I met a strange question while using solaris9 CC to compile my code. These codes looks like as following: typedef struct { int len; union { DWORD u; #if BYTE_ORDER == BIG_ENDIAN struct { BYTE ext1 : 1; BYTE codingStd : 2; BYTE infoTransCap : 5; BYTE

  • Oledb Java connectivity

    Hi I have read a similar topic in another topic but couldnt find a solution to the problem. We are database reporting tool and use JAVA technology, and generate reports from multiple database. We have a customer who has written his own data layer ove

  • IDOC type and segment's BasisRelease number

    Dear expert, May i know is there a way to change the IDOC type and segment's BasisRelease number when i try releasing IDOC. Any special TCode? Please comment. Thanks in advance.