MS Access Tables WIth Spaces

Hi Everyone,
I am trying to write an application which requires connection to an old MS Access database. Unfortunately some of the tables have spaces in the names. I can query all tables except those with spaces in the table names. I searched for how to quote tables with spaces in the FROM clause on the net and have tried the following:
// Angled quotes
String sql = "Select * From `Function Groups`";
// double quotation marks
String sql = "Select * From \"Function Groups\"";
// single quotation marks
String sql = "Select * from 'Function Groups'"
// square brackets
String sql = "Select * from [Function Groups]"
I have set setEscapeProcessing to be both TRUE and FALSE in various trials as follows:
stat.setEscapeProcessing(true);
All of the above throws an exception from the Access Driver stating I have an error in the From Clause (Yes, there is a table called Function[space]Groups in the database). I am using the free MS Access driver which comes with Vista to connect to the read-only database via JDBC.
I cannot just exchange spaces for underscores for other reasons.
Does anyone know the special character used by the Access Driver to parse tables with spaces? Square brackets works with field names but not tables names :(
All help appreciated,
Tom

Doh! missed out a keyword not a quoting problem at all - for interest angled quotes (`) work around the spaces in the table names.

Similar Messages

  • Unable to access files with spaces in the path

    Hi all, I am accessing files which reside on the server using a java applet.
    The typical path of a file could be:
    http://192.168.0.2/agat/data/AF190701 0003.agt
    (not the space in the filename).
    When I try to open this file using a URL object:
    URL file = new URL(filename);
    BufferedReader in = new BufferedReader(new InputStreamReader(file.openStream()));
    I get exception 400 ( I think) whihc I assume is file cant be found.
    However when I rename the file (to get rid of that space) and also change the filename variable to suit. The file is opened as expected.
    What should I do to make the applet able to open paths with spaces? Or is this just not possible.
    I did try including quotes with the special characte precessor:
    filename = "/"http://192.168.0.2/agat/data/AF190701 0003.agt/""
    But this didnt work either, please could someone tell what I need.
    Thanks.

    Thanks guys, although before I got your replies I did the following - it seems to work, but shall try your suggestions.
    while (file.lastIndexOf(" ") >0)
    String temp;
    int num = file.lastIndexOf(" ");
    temp = file.substring(0, num) + "%20" + file.substring(num+1, file.length());
    file = temp;
    }

  • How to create a ms-access table with java?

    hi all
    i've my application and i want to add the capability to creat an access file (.mdb) and then, via SQL , create a table, with many columns of many types, and with a primary key too.
    i know that it's also an SQL problem, but i'm searching for it everywhere
    thanx for your reply
    sandro

    Hi,
    It would have been much better if you had specified your development environment- the database driver class depends on which environment you are working with. Forexample, if you are working with vj++6 you can make use of the com.ms.jdbc.odbc.JdbcOdbcDriver class. If you are using IBM's Visual Age for Java3.5 you can find the sun.jdbc.odbc.JdbcOdbcDriver. Oneway or another you should have the .class for jdbc-odbc(usu they have the form: xxx:jdbc:odbc:JdbcOdbcDriver). Check all the packages that are available in your development environment that have the form xxx.jdbc.odbc.JdbcOdbcDriver.(And not clear what you know and what you don't - so I start from the very elementary steps)
    Anyways, What you have to know is that it is not possible to create databases (e.g. .mdb) directly from a Java application(as far as I know). What is possible is to create new tables inside an already created database and process queries based on those tables.In short what I am saying is : you need to have a DSN before writing applications that create tables.
    Follow the following steps to create DSN(for win2000):
    1)Go to the control panel and click the 'administrative tools'
    2)In the 'administrative tools' click to open ODBC(data sources)
    3)Click the 'add' button and choose 'Microsoft Access driver'
    4)In the DSN text field enter the dsn (e.g., Test)
    5)If you want to create a table in an already existing database choose select and select one. However, if you want to create a new database click 'create' and enter a name for your database(e.g. ExampleDB.mdb). If you do this successfully it will issue a successfull operation message.
    6)Click advanced and enter the login name(e.g. Albert) and password(e.g. mxvdk) for the database
    7)Click 'ok's to finish the operation.
    After the above three operations what you will have is an empty database(with no tables) named "ExampleDB.mdb" in the directory you specified.
    Now, you can write a java application that creates a table inside the database "ExampleDB.mdb".
    Check this out:
    import java.sql.*;
    public class Class1{
    public Class1(){
    String userName = "Albert";
    String password = "mxvdk";
    String dsn = "Test";
    String databaseURL = "jdbc:odbc:"+dsn;
    //This is just an sql table creating statement- have nothing to do with java
    String sqlCreateStmt = "CREATE TABLE StudentTable" +
    "(StudentID varchar(32) PRIMARY KEY," +
    "name varchar(30)," +
    "age int)";
         try{
         Class.forName("com.ms.jdbc.odbc.JdbcOdbcDriver");
         }catch(ClassNotFoundException eCNF){
              System.err.println("ClassNotFoundException:");
              System.err.println(eCNF.getMessage());
         try{
         con = DriverManager.getConnection(databaseURL,userName,password);
         stmt = con.createStatement();
         stmt.executeUpdate(sqlCreateStmt);
         }catch(SQLException e){
    System.err.println("SQLException:");
    e.printStackTrace();
         //insert one sample data
    insertSampleData();
    private void insertSampleData(){
         String sampleStudentID = "scr-342-tch";
         String sampleStudentName = "Tom James";
         int sampleStudentAge = 24;
    //This is just an sql table updating statement- have nothing to do with java
         String sqlUpdateStmt = "INSERT INTO StudentTable VALUES ('"+
                             sampleStudentID+"','"+
                             sampleStudentName+"',"+
                             sampleStudentAge+")";
         try{
              stmt.executeUpdate(sqlUpdateStmt);
              }catch(SQLException e){
              System.err.println("SQLException:");
              e.printStackTrace();
    public static void main(String[] args){
    new Class1();
    private Connection con;
    private Statement stmt;
    //This program runs perfectly in my VJ++6.0 (console application mode) and also in my IBM's
    //visual Age for Java3.5 (with sun.jdbc.odbc.JdbcOdbcDriver as my database driver)
    //If you are developing in another development environment, what you need to change is the
    //"com.ms.jdbc.odbc.JdbcOdbcDriver" in Class.forName("com...") stmt.
    //If you run this program more than once, it will issue 'tableAlreadyExists' message
    If you still experience the problem, pls be specific and repost!

  • MS Access DB with Spaces in Column Name

    Good Afternoon-
    I'm having some serious headaches with a table that I need to extract information from. The powers that be wrote it with the following column names "Contract Number" , "Customer Number", "Description".
    Note the spaces in the columns.
    Sample code from here: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=2691&lngWId=2
    I'm using sample code for connecting to the database and I can access everything using the select statements, except if the column contains a space. I get the following errors:
    s.execute("select [Customer Number], Name from Customer");
    Error: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
    s.execute("select \"Customer Number\", Name from Customer");
    Error: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
    s.execute("select Customer*Number, Name from Customer");
    Error: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2.
    s.execute("select 'Customer Number' , Name from Customer");
    Data from column_name: Customer Number , Unknown
    This works, but would require parsing-
    s.execute("select * from Customer");
    Data from column_name: 5 , Unknown
    Suggestions would be truly appreciated.
    Jason

    "select [Customer Number] , Name from Customer " ;
    returned the correct responses.Double quoted identifiers, which is part of ANSI SQL should have solved it....
    "select \"Customer Number\" , Name from Customer " ;
    As mentioned above it has certainly been my experience that DBAs (those with that title) all insist that quoted identifiers should never be used. Thus refactoring the database identifiers is actually the correct solution.

  • Filling an access table with data put in a form

    Hello everybody and in particular to Jeffrey Bardzell, if
    he's there...
    I'm reading the guide "Dreamweaver MX 2004 with ASP,
    COLDFUSION and PHP written by J.Bardzell" aiming at learning how to
    create asp dynamic pages. Thanks to J.Bardzell for his very good
    book. BUT I'M HAVING PROBLEMS!
    I'm using Dreamweaver 8.
    I'm trying to create an application for users' registration.
    In simple words this is what I want to happen:
    1)the user fills a form with his personal data,including
    email and password and then he presses the submit button - this
    implies:
    a)the data go into the data base within a table prepared in
    advance to store them and so he's REGISTERED;
    b)the browser shows the page I made for login. There's a
    second form where he has to insert his email address and password
    to be recognised as a registered user.
    In order to get this result I set the connection to the
    database and appearently all seems well done .
    But unfortunately:
    when I try pressing "submit" either nothing happens or
    there's an error page saying:
    type of error:
    Microsoft OLE DB Provider for ODBC Drivers (0X80004005)
    [Microsoft][Driver ODBC Microsoft Access]
    An updatable query is required for the operation
    /newland/register.asp, line 141
    (the last line is referred to the ficticious site used by the
    Bardzell book.)
    Bardzell says that when defining the connection to the
    database (in the "data source name" window) it must be specified
    that Dreamweaver should connect "using dsn on testing server". When
    I do so the data base appears not to be on the testing server.
    Instead it shows if I use the local dsn. But still data are not
    sent to the data base table.
    Please help, I'm desperate, I need to solve this!
    Thank you,
    Giuseppe, Rome.

    The error is related to permissions setting on the database.
    Have a look at
    the article on www.charon.co.uk on how to set the
    permissions.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "giuseppe craparotta" <[email protected]>
    wrote in message
    news:[email protected]...
    > Hello everybody and in particular to Jeffrey Bardzell,
    if he's there...
    > I'm reading the guide "Dreamweaver MX 2004 with ASP,
    COLDFUSION and PHP
    > written by J.Bardzell" aiming at learning how to create
    asp dynamic pages.
    > Thanks to J.Bardzell for his very good book. BUT I'M
    HAVING PROBLEMS!
    >
    > I'm using Dreamweaver 8.
    > I'm trying to create an application for users'
    registration. In simple
    > words
    > this is what I want to happen:
    > 1)the user fills a form with his personal data,including
    email and
    > password
    > and then he presses the submit button - this implies:
    > a)the data go into the data base within a table prepared
    in advance to
    > store
    > them and so he's REGISTERED;
    > b)the browser shows the page I made for login. There's a
    second form
    > where he
    > has to insert his email address and password to be
    recognised as a
    > registered
    > user.
    > In order to get this result I set the connection to the
    database and
    > appearently all seems well done .
    > But unfortunately:
    > when I try pressing "submit" either nothing happens or
    there's an error
    > page
    > saying:
    >
    > type of error:
    > Microsoft OLE DB Provider for ODBC Drivers (0X80004005)
    > [Microsoft][Driver ODBC Microsoft Access]
    > An updatable query is required for the operation
    > /newland/register.asp, line 141
    >
    > (the last line is referred to the ficticious site used
    by the Bardzell
    > book.)
    >
    > Bardzell says that when defining the connection to the
    database (in the
    > "data
    > source name" window) it must be specified that
    Dreamweaver should connect
    > "using dsn on testing server". When I do so the data
    base appears not to
    > be on
    > the testing server. Instead it shows if I use the local
    dsn. But still
    > data are
    > not sent to the data base table.
    >
    > Please help, I'm desperate, I need to solve this!
    > Thank you,
    > Giuseppe, Rome.
    >

  • Database Adapter: cannot access table with complex record type as columns

    Hi all,
    I cannot perform any operations on a table that has columns with complex record type.
    I have created a table to store purchase order details.
    Sample script:
    CREATE type XX_CUST_INFO_TYP as object
    ssn VARCHAR2(20),
    rating NUMBER(15)
    CREATE type XX_ITEM_TYP as object
    item_name VARCHAR2(20),
    unit_price NUMBER(15),
    quantity NUMBER(15)
    CREATE table XX_PORDER (cust XX_CUST_INFO_TYP, porder XX_ITEM_TYP);
    When i try to access the table X_PORDER in jdev through a database Adapter, i receive the error as
    "some tables contains columns that are not recognized by the database adpter"
    1.) so in this case, how to include such tables that have complex types?
    Also, check out this scenario also..
    1. add a table through a database adapter
    2. drop the table in backend
    3. i can still see the table and its structure in the database adapter wizard even after restarting Jdeveloper.. How is it possible?
    These are some really interesting scenarios to experiment. Please suggest your ideas on this..
    Thanks All!

    Hi Hem,
    for a select you could select against a view. And for inserts you could create a stored procedure. They support complex types since 10.1.2. Complex types support in tables/views was added for 11 (next major release).
    You might be able to use PureSQL as a workaround too, i.e.
    insert into XX_PORDER values (XX_CUST_INFO_TYP(?,?), XX_ITEM_TYP(?, ?, ?))
    As for your other problem, in 10.1.2/10.1.3 the DBAdapter wizard sits on top of the Jdev Offline Tables and TopLink Mapping Workbench components. When you remove a table in the wizard it won't delete the Offline DB component. It was added by the wizard, but afterwards it is public to the entire Jdev project. You must remove it from Jdev yourself. This has been improved for the next major release too, no artifacts from underlying components are created.
    To remove it select:
    Offline DB Objects -> <schema> -> <table> and try File.. Erase From Disk.
    Thanks
    Steve

  • Moving Access table with an autonumber key to SQL Server table with an identity key

    I have an SSIS package that is moving data from an Access 2010 database to a SQL Server 2008 R2 database.  Two of the tables that I am migrating have identity keys in the SQL Server tables and I need to be able to move the autonumber keys to the SQL
    Server tables.  I am executing a SQL Script to set the IDENTITY_INSERT ON before I execute the Data Flow task moving the data and then execute a SQL Script to set the IDENTITY_INSERT OFF after executing the Data Flow task.
    It is failing with an error that says:
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E21  Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was
    done.".
    Error: 0xC020901C at PGAccountContractDetail, PGAccountContractDetail [208]: There was an error with input column "ID" (246) on input "OLE DB Destination Input" (221). The column status returned was: "User does not have permission to
    write to this column.".
    Error: 0xC0209029 at PGAccountContractDetail, PGAccountContractDetail [208]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "input "OLE DB Destination Input" (221)" failed because error code 0xC020907C occurred, and the
    error row disposition on "input "OLE DB Destination Input" (221)" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information
    about the failure.
    Error: 0xC0047022 at PGAccountContractDetail, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "PGAccountContractDetail" (208) failed with error code 0xC0209029 while processing input "OLE DB
    Destination Input" (221). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted
    before this with more information about the failure.
    Any ideas on what is causing this error?  I am thinking it is the identity key in SQL Server that is not allowing the update.  But, I do not understand why if I set IDENTITY_INSERT ON.  
    Thanks in advance for any help/guidance provided.

    I suspect it is the security as specified in the message. E.g .your DBA set the ID columns so no user can override values in it.
    And I suggest you 1st put the data into a staging table, then push it to the destination, this does not resolve the issue, but ensures better processing.
    Arthur
    MyBlog
    Twitter

  • Access table with sm30

    Hi all,
    I was working on URP enviroment and I went to sm30 to access Vbak table ( standard sap table)
    I got this message
    "The maintenance dialog for VBAK is incomplete or not defined"
    Can you give me some deatils how I can proceede.
    Many thanks for your help

    hi,
    can you create a "Table Maintenance Generator"  in table vbak?
    One idea is you create a view of table VBAK , and a  "Table Maintenance Generator" of this view.
    reguards,

  • Export Excel Table in .txt File with space delimited text in UNICODE Format

    Hi all
    I've a big unsolved problem: I would like to convert an Excel table with some laboratory data in it (descriptions as text, numbers, variables with some GREEK LETTERS, ...). The output should be a formatted text with a clear structure. A very good solution is
    given by the converter in Excel "Save As" .prn File. All works fine, the formattation is perfect (it does not matter if some parts are cutted because are too long), but unfortunately the greek letters are converted into "?"!!!
    I've tried to convert my .xlsx File in .txt File with formatting Unicode and the greek letters are still there! But in this case the format is not good, the structure of a table is gone!
    Do you know how to save an Excel file in .prn but with Unicode formatting instead of ANSI or a .txt with space delimited text?
    Thanks a lot to everyone that can help me!
    M.L.C.

    This solution works in Excel/Access 2013.
    Link the Excel table into Access.
    In Access, right-click the linked table in the Navigation Pane, point your mouse cursor to "Export", and then choose "Text File" in the sub-menu.
    Name the file, and then under "Specify export options", check "Export data with formatting and layout".  Click "OK".
    Choose either Unicode or Unicode (UTF-8) encoding.  Click "OK".
    Click "Close" to complete the export operation.

  • MS Access - Oraclec 8i: Spaces in Table Names and Columns

    I have an access database that i have split into two parts.
    1. Access data tables
    2. Access application
    The application has the data tables linked in for its use. With your workbench utility i have migrated my access data tables over but there is a big problem remaining. My access data tables have spaces in the table named and columns. In oracle all of the spaces have been replaced with underscores ... which changes things dramtically for the application. A table named "Foo Bar" is fundamentally different in access then "Foo_Bar". So, my question to you is, how can I deal with this issue. There are a lot of queries, forms, reports, etc. effected here. any ideas?

    The Migration Workbench has an option to use
    ANSI names (don't ask me about the exact wording or where it is, haven't got it installed here at work right now :-( )
    Using this option will preserve the original names unaltered. So you could just redo the
    migration step with this option checked.
    In my opinion, this is mixed blessings, though. Using ANSI names will certainly make
    your migration job much easier (no changes to
    Access application necessary) HOWEVER accessing the migrated tables from other
    tools (e.g. SQL*Plus) will be kinda messy.
    Example:
    SELECT "Customer Name"
    FROM "Customer Table"
    WHERE "Customer Id" > 815.
    As always, the choice is yours. grin
    All the best
    Michael Istinger
    null

  • Table Names with Spaces

    I am connecting to a DB with tables that have spaces in their names. When I browse the DB structure I see all the tables, but when I click on the table name I get an error. E.g. for the table with the unfortunate name "Clients tbl" I get an error that the "Clients" table does not exist.
    I don't see any option to make SQLDeveloper quote table names. Is there any way to get it to cope with these tables?

    I have just created a table "my Table", reflecting upper case, lower case and spaces. To do this I need to enclose the table in quotes.
    Queries might look like this:
    select * from "My Table";
    In the Navigator I see my Table (with no quotes), and can query it and the data.
    At no point am I picking up errors. Objects are stored in the DB in upper case by default, with no spaces, anything other than that needs to have double quotes to access the object.
    Please try a test case, using SQL Developer, so that we can iron out the issue.
    Sue

  • Can't update a sql-table with a space

    Hello,
    In a transaktion I'm getting some Values from a SAP-ERP System via JCO.
    I update a sql-table with this values with a sql-query command.
    But sometimes the values I get from SAP-ERP are empty (space) and I'm not able to update the sql-table because of a null-value exception. (The column doesn't allow null-values). It seems that MII thinks null and space are the same.
    I tried to something like this when passing the value to the sql-query parameter but it didn't work:
    stringif( Repeater_Result.Output{/item/SCHGT} == "X", "X", " ")
    stringif( Repeater_Result.Output{/item/SCHGT} == "X", "X", " ")
    this works but I don't want to have a "_"
    stringif( Repeater_Result.Output{/item/SCHGT} == "X", "X", "_")
    Any suggestions?
    thank you.
    Matthias

    The problem is Oracle doesn't know the space function. But it knows a similar function: NVL --> replaces a null value with something else. So this statement works fine for me:
    update marc set
    LGort = '[Param.3]',
    dispo = '[Param.4]',
    schgt = NVL('[Param.5]', ' '),
    dismm = '[Param.6]',
    sobsl = NVL('[Param.7]',' '),
    fevor = '[Param.8]'
    where matnr = '[Param.1]' and werks = '[Param.2]'
    If Param.5 or Param.7 is null Oracle replaces it with a space in every other case it is the parameter itself.
    Christian, thank you for your hint with the space function. So I remembered the NVL-function.
    Regards
    Matthias

  • Error while accessing BSAD Table with dunning date

    Hi ,
    I developed a report for FI module accessing BSAD table with default customer ranges and for specific dunning dates - It ran for a very long time and timed out - (I know this is due to huge volume of data) -
    Is there any way to access BSAD table easily with Dunning dates (Other than creating Index on it) ???
    Or any standard function module available ??
    Regards
    Rajesh.

    Hi
    Try the below tables for the dunning data details:
    MHND            Dunning Data
    MHNDO           Dunning data version before the next change
    MHNK            Dunning data (account entries)
    MHNKA           Version administration of dunning changes
    MHNKO           Dunning data (acct entries) version before the next chang
    SKS

  • How to access a url in file receiver CC with space in the folder name?

    Hi
    PI 7.11 sp4:
    In a file receiver channel I would like to send the message to this folder:
    de-prod.dk\bu\something\something\PTI eventstanden\archive\"
    But I get this error message:
    "Target directory 'F:\usr\sap\XP7\DVEBMGS02\j2ee\cluster\server0\"\de-prod.dk\bu\something\something\PTI eventstanden\archive"' does not exist"
    My question is: where the f.... does it get the 'F:\usr\sap\XP7\DVEBMGS02\j2ee\cluster\server0\  from, and how can I fix it?
    One issue is the space in the folder name. I have tried to replace the space with %20 and then remove the "" s around the whole url, but without any luck.
    When I log on the server on which Pi is running I can access the folder using the mentioned url including the ""s.
    All suggestions would be highly appreciated!
    MIkael

    > But I get this error message:
    >
    > "Target directory 'F:\usr\sap\XP7\DVEBMGS02\j2ee\cluster\server0\"\de-prod.dk\bu\something\something\PTI eventstanden\archive"' does not exist"
    >
    > My question is: where the f.... does it get the 'F:\usr\sap\XP7\DVEBMGS02\j2ee\cluster\server0\  from, and how can I fix it?
    It comes from the "
    Anything else but \ is treated as local folder under working directory of PI
    > One issue is the space in the folder name. I have tried to replace the space with %20 and then remove the "" s around the whole url, but without any luck.
    It works for me just to copy the folder from Windows explorer into channel config. With space and without ".

  • How to create a table with just its structure in Access 2013?

    I have a front-end and back-end Access 2013 database. I want to send it to an MS Access development company. I cannot send it with any data because it has our members social security numbers and other personal identification data. In MS Access 2003
    I could save a table with just its structure.
    How do I save a table with just its structure? I want to learn how to do this.
    Thanks for the help.
    Robert

    On the Create tab of the ribbon, click Table Design.
    This opens the table design window, in which you can define fields and indexes without entering any data. Don't forget to save the design when you're done.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

Maybe you are looking for

  • Vf21 - invoices list - RV

    hi, when I try to post invoice list in accounting I get an error from the system warning me that it can't find document type RV! I checked it and I figured out that I really miss this document...so: 1) should I create it ??? and how??? 2) should I se

  • Accounts Payable & Banking test script

    Hi Gurus, Is there anyone able to assist me with accounts payable & banking test scripts - when I say banking, I'm referring to electronic and manual bank statements, EFTs , and cash journal. Regards

  • Crystal reports - charting a variable to simulate a running total

    I have 2 sets of data as below : units costs What I am trying to do is generate a chart that for each month, reports the result of the formula sum of costs to date / sum of units to date Ideally, I would create 2 running totals RT costs RT units then

  • SG300-28 IP Helper Address

    I have learned that by default the ip helper-address will forward the following 8 udp ports UDP PORT Common Name. 69 TFTP 67 BOOTP Client 68 BOOTP Server 37 Time Protocol 49 TACACS 53 DNS 137 NetBios 138 NetBios Datagram But when I check in cisco SG3

  • Can I reset a non numbered user status based on a numbered user status?

    Can I reset a non numbered user status based on a numbered user status?