Is nested li possible

Is it possible to give nested ul, li in flash
e.g.
a.htmlText =
"<ul><li>AAAA</li><li><li>BBBB</li></li></ul>";
mine is not working, anybody with clue.
Thanks in advance.

No ordered bullets and nesting of bullets is not supported by
Flash.
You can use <tab> to align the text for nesting

Similar Messages

  • Jtable:Is Nested header Possible

    How to give nested header in java swing . I have defined the 4 main headers (type,source ,target ,default) wanted to have subheaders under each main header.
    Example Code:
    private String[] tableHeaders = new String[] {
                   type,source ,target ,default};
    private Vector<Vector<Object>> Vector = new Vector<Vector<Object>>();
    private Vector<Object> headers = new Vector<Object>(
                   Arrays.asList(tableHeaders));
    private DefaultTableModel defaultTableModel = new DefaultTableModel(Vector,
                   headers) {
              private static final long serialVersionUID = 1L;
              boolean[] columnEditables = new boolean[] { false, false, false, false };
              public boolean isCellEditable(int row, int column) {
                   return columnEditables[column];
              public boolean isRowSelected(int row) {
                   return true;
         };

    I have worked on something similar. Here is one possible solution that you may want to try which is based on creating two tables - one main table and one inner table. Inner table is rendered as a column of the main table. You have to handle the table cell renderer and editor for the main table so that it can render inner table and allow normal table editing. I have added just one inner table in the code below but you can add more as per your requirement for showing them in other columns of the main table.
    import java.awt.Component;     
    import javax.swing.AbstractCellEditor; 
    import javax.swing.JCheckBox;
    import javax.swing.JFrame; 
    import javax.swing.JScrollPane; 
    import javax.swing.JTable; 
    import javax.swing.table.DefaultTableCellRenderer;      
    import javax.swing.table.DefaultTableModel; 
    import javax.swing.table.TableCellEditor; 
    import javax.swing.table.TableColumn; 
    import javax.swing.table.TableColumnModel;
    public class NestedJTableHeader extends JFrame { 
            private JTable mainTable; 
            private JTable innerTable; 
            private Object[][] tableList;        
            private String[] columnNames = {"A", "B", "C", "D", "E"}; 
            private Object[][] data = { 
                    {"1", "2", "3", "4", new Boolean(false)}, 
                    {"5", "6", "7", "8", new Boolean(true)}, 
                    {"9", "10", "11", "12", new Boolean(false)}, 
                    {"13", "14", "15", "16", new Boolean(true)}, 
                    {"17", "18", "19", "20", new Boolean(false)} 
            private String[] names = {"Type", "Source", "Target", "Default"};
            public NestedJTableHeader(){            
                innerTable = new JTable(new DefaultTableModel (data, columnNames){
                        public Class<?> getColumnClass(int columnIndex) {
                             if(columnIndex==4)
                                  return Boolean.class;
                             else
                                  return super.getColumnClass(columnIndex);
                tableList = new Object[1][]; 
                tableList[0] = new Object[1]; 
                tableList[0][0] = innerTable; 
                mainTable = new JTable(new DefaultTableModel(tableList, names)); 
                TableColumn tc = mainTable.getColumnModel().getColumn(0); 
                tc.setCellRenderer(new CustomTableCellRenderer(innerTable)); 
                tc.setCellEditor(new CustomTableCellEditor(innerTable)); 
                tc = mainTable.getColumnModel().getColumn(1); 
                mainTable.setRowHeight(innerTable.getPreferredSize().height+innerTable.getTableHeader().getPreferredSize().height+4); 
                // Enable the ability to select a single cell  
                mainTable.setColumnSelectionAllowed(true);  
                mainTable.setRowSelectionAllowed(true);  
                this.getContentPane().add(new JScrollPane(mainTable)); 
                this.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE ); 
                this.pack();
                setSize(600,450);
                setVisible(true); 
            class CustomTableCellRenderer extends DefaultTableCellRenderer { 
                JTable table; 
                CustomTableCellRenderer(JTable table){ 
                    this.table=table; 
                    this.table.setOpaque(true); 
                    this.table.setAlignmentY(JTable.LEFT_ALIGNMENT); 
                @Override 
                public Component getTableCellRendererComponent(JTable table, Object value, 
                        boolean isSelected, boolean hasFocus, int row, int column) { 
                    this.table=(JTable)value; 
                    return new JScrollPane(this.table);  
            class CustomTableCellEditor extends AbstractCellEditor implements TableCellEditor{ 
                JTable table; 
                CustomTableCellEditor(JTable table){ 
                    this.table=table; 
                    this.table.setOpaque(true); 
                    this.table.setAlignmentY(JTable.LEFT_ALIGNMENT); 
                @Override 
                public Component getTableCellEditorComponent(JTable table, 
                        Object value, boolean isSelected, int row, int column) { 
                    this.table=(JTable)value; 
                    return new JScrollPane(this.table); 
                @Override 
                public Object getCellEditorValue() { 
                    return this.table; 
             * @param args
            public static void main(String[] args) { 
                new NestedJTableHeader(); 
    } Edited by: Nitin Khare on May 17, 2012 12:42 AM

  • Simple XML (XPATH) 'nested loop' possible?

    What's the best way to output the entries of an XML file with
    the following structure as a nested list (actually it needs to
    become a form where all entries can be checked).
    I can output each level (see code) but it seems not to be
    possible to nest the for-loops.
    Any hints if it's possible with XPath directly or do I need
    to save the result of one loop to output within the other or would
    it even be better to make a query out of the XML result?

    Thanks, great!
    I tried it somwhere along this before but it didn't work
    then. I propably just forgot to put the pound signes to the correct
    place or something ;-)
    But yes, your solution is exactly what I was looking for!
    Thank you

  • Parallel Query - which actions are possible?

    Hello guys,
    we have an OLTP system which a huge amount of data... and now i want to try to introduce parallel query in the system and test something around.
    I have some experiences with parallel query in an OLAP environment, but not in an OLTP.
    What i am searching for?
    An overview for Oracle 10g which lists all possible query accesses that are possible in a parallel environment.
    For example:
    - FTS - possible
    - Nested Loops - possible
    - Index Range scans - not possible
    I know some .. but not all so i am searching for an overview on the oracle documentation page but was not able to found something.
    Maybe you can help me.
    Regards
    Stefan

    Hello sybrand (my little senior dba),
    regarding to the paper of Doug Burns there are more things that can be executed parallel (but this paper is about Oracle 9i), so please don't post if you don't have any knowledge.
    http://www.dbanotes.net/archives/px.pdf
    => As Oracle’s parallel capabilities have been developed, most tasks can be executed in parallel now. According to the 9.2.0.5 documentation, Oracle supports parallel execution of the following operations: -
    Access methods
    For example, table scans, index fast full scans, and partitioned index range scans.
    Join methods
    For example, nested loop, sort merge, hash, and star transformation.
    I am searching for such an information about Oracle 10g... maybe there are some more things that can be executed parallel wit 10g.
    Thanks and Regards
    Stefan

  • In web dynpro i want explanation/definition for the following things

    Hi dudes,
             I want explanation *** definition for the following
    (1) web dynpro
    (2) Cardinality
    (3) methods
    (4) Nodes
    (5) Attributes
    (6) Interface
    (7) Views
    (8) Windows
    (9) Mapping
    (10)Binding
    (11)Model
    (12)Controller

    Hi,
    Here are the defintions for the terms you hav requested-
    Web Dynpro Architecture
    Definition
    Web Dynpro is the SAP NetWeaver programming model for user interfaces (UIs).
    The Web Dynpro model is based on the Model View Controller paradigm, and has the
    following features that build on the classic dynpro model:
    Clear separation of business logic and display logic
    Uniform metamodel for all types of user interfaces
    Execution on a number of client platforms
    Extensive platform independence of interfaces
    Web Dynpro provides support for developing Web representation of a business application.
    You use specific tools to describe the properties of a Web Dynpro application in the form of
    Web Dynpro metadata. The necessary source code is then generated automatically and
    executed at runtime. In addition to the events offered by the framework, you can also define
    your own events for a Web Dynpro application. However, the event handling must always be
    programmed in separate source code areas which are executed automatically when the event
    is triggered at runtime.
    In Web Dynpro, each user interface is always made up of the same basic elements. These
    elements of the metamodel can be statically declared using Web Dynpro tools.
    It is also possible to implement elements of the metamodel at runtime and to change them or
    reintegrate them at runtime. Using these implementations, you can make any changes or
    enhancements to a user interface that has been created by declarative methods by
    generating new interface structures at runtime.
    This means that you can combine declarative processes and the implementation of source
    code.
    A Web Dynpro component is a reusable entity. It summarizes all components that are
    required as part of this programming unit for an executable Web Dynpro application.
    The Web Dynpro component concept offers a number of advantages:
    Structuring of the programming
    Creation of easily manageable application blocks
    Reusability of whole components
    Decoupling of software projects in both time and space
    The Web Dynpro component contains any number of windows and views and their
    corresponding controllers. Additional Web Dynpro components can also be referenced.
    View
    A view describes the layout and behavior of a rectangular area of a user interface.
    Every Web Dynpro application has at least one view. The layout of a view is made up of
    different user interface elements, which can be nested in each other. The positioning of
    interface elements in one view is supported by the supplied layout variants.
    In addition to the visible part, the layout, a view also contains a controller and a context. The
    data to which the elements of the view can be bound are stored and managed in the view
    context, enabling them to be represented or used on the screen. The view controller can
    contain methods for data retrieval or for processing user input.
    Window
    A window is used to combine several Views and View Sets (the concept of view sets is only
    offered in Web Dynpro for Java). A view can only be displayed by the browser if it has been
    embedded in a window. A window always contains one or more views, which are connected
    by navigation links. One of these views, or a view set, is specified as the start view and is
    displayed the first time the window is called.
    Windows have inbound and outbound plugs.
    Inbound Plugs and Outbound Plugs
    A window has one or several inbound or outbound plugs. Using these plugs, a window can be
    included into a navigation chain. The concept of these plugs corresponds to the concept of
    the plug for a view. Each plug of a window is visible within the entire window and can be used
    for navigating within this window. In addition, one or several plugs can be made accessible to
    the component interface so that they are visible even beyond the limits of the component in
    question. They thus belong to the interface view of the relevant window.
    They are used to navogate from one view to other and pass the data between the views. Which view to be called next from current view - the flow of views is descriebd here using Plugs.
    Controller
    Controllers are the active parts of a Web Dynpro application. They define how the user can
    interact with the Web Dynpro application. The data that a controller can access is defined in
    the corresponding context. Different instances of controllers and contexts exist within a Web
    Dynpro application.
    View Controller
    Each view has exactly one view controller, which processes the actions performed by the user in the view.
    A view also has exactly one view context, which contains the data required for the view.
    Interface Controller
    Each Web Dynpro component contains exactly one component controller. This controller is a
    global controller that is visible also outside the component. It is thus part of the interface of a
    Web Dynpro component.
    Context
    Definition
    The data used in the component or in the view are stored in the context. Read-write access to
    this data is available using the controllers as a starting point.
    Structure
    The data from the contexts is managed in a hierarchical structure. Each context has a root
    node, underneath which the individual data fields (attributes) are stored in a tree structure.
    You create this tree structure according to the structure of your application.
    CONTEXT is generally called as a ROOT Node.
    Each context has nodes and attributes also.
    Cardinatlity
    Each node contains data fields that represent one of the following:
    u2022
    An individual instance of an object type
    u2022
    A table of instances.
    This property of a node is known as its cardinality. The following table summarizes the
    possible cardinalities for a node:
    Cardinality Description
    1:1 The node contains only one element instance, which is instantiated automatically.
    0:1 The node contains only one element instance, which must not be instantiated.
    1:n The node can contain multiple element instances, of which at least one must always be
    instantiated (and is instantiated automatically).
    0:n The node can contain multiple element instances, of which none have to be instantiated.
    Further information about this and other properties of context nodes is available in the section
    Context-Nodes: Properties.
    Recursion Nodes
    Dynamic node nesting is possible within a context, creating what is called a recursion node.
    The node that is used for recursion is always a predecessor of the new node. The newly
    created recursion node is a reference to a predecessor node and therefore cannot be
    processed separately. Instead it takes on the structure of the node to be repeated.
    Data Binding and Mapping
    Within the Web Dynpro architecture, the contexts of the different controllers can be linked in
    different ways:
    u2022
    A UI element of the user interface of the view can be linked with an element of the view
    context.
    u2022
    A mapping can be defined between two global controller contexts, or from a view
    context to a global controller context.
    The context of a global controller can be linked to a Web Dynpro Model.
    Defining Mapping Between Two Contexts
    The elements of a view context can be locally defined. In this case (represented in the graphic
    below as a "Local Node"), all the contained attributes are only visible within the relevant view.
    When the view disappears, the attribute values are deleted.
    Event
    The component controller allows you to create events.
    Events are used to communicate between controllers and enable one controller to trigger
    event handlers in a different controller.
    Cross-component communication can be implemented using the interface controlleru2019s events.
    Events that were created in the component controller are visible within the component only.
    Inbound Plugs
    Inbound plugs in a view also react like an event. Therefore, when a view is called using an
    inbound plug, the event handler that is optionally available for the inbound plug is always
    called first. In this case event handling takes place within the current view controller.
    UI Element Events
    Some UI elements, such as the Button element have special events that are linked with user
    actions. These events are predefined and have to be linked with an action at design time.
    Actions for UI Element Events
    Some UI elements such as the button element can react to a useru2019s interaction: clicking on
    the corresponding pushbutton can trigger a handling method to be called within the view
    controller. Such UI elements are equipped with one or several general events, which can be
    linked with a specific action at design time (switching to a subsequent view, for example). If
    such an action is created, an event handler method for this action is created automatically. In
    this way, you can equip a UI element event (which has been inserted several times into a
    view) with different actions as necessary. The event is then processed by the corresponding
    event handler depending on the action that is linked.
    Interfaces of Web Dynpro Components
    Each component has an interface in order to enable communication between Web Dynpro
    components and to enable a component to be called up by a user. This interface consists of
    two parts:
    Interface View of a Window Contained in a Component
    The interface view of a Web Dynpro window is used to link a window with a Web Dynpro
    application that can be called by the user.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • Table of Contents based on Character Style?

    Trying to do an annotated table of contents containing captions of all photos in a book, followed by verbose descriptions. Purpose is to avoid cluttering pages bearing the photos, which will have only a brief caption is followed by the name of the owner of the object in the caption, in the same paragraph.
    Book will include a listing of the captions in page order (i.e., table of contents) without the owner names, followed by verbose descriptions. Can I get around this by making character styles for each (caption, owner, respectively), and create a TOC based one character style? If not, can I configure the para. style of the caption to omit the line-feed, and base the TOC on that?
    Plan is then manually to add descriptions to each TOC entry, immediately following captions. Will that stay intact, if any subsequent photo locations are changed?

    Jack wrote:
    OK, have done that, and all required content is now showing up in the TOC.
    I'm glad you managed to sort that out.
    Is it possible to omit the line breaks between elements referring to the same page?
    Hmmm...the thing is...a paragraph is a paragraph is a paragraph. By nature, it breaks to the next line. There are ways to fake it but none (that I can think of) which will hold up to an automated TOC update. Maybe someone else will come along with a trick I don't know about.
    So then, for the moment let's assume the only way to get the caption and the description into the same TOC paragraph is to put them in the same paragraph on the document page. Also still assuming I truly understand the end-result you want; here's how I would do it:
    If you set the separate-but-threaded caption and description frames as I first proposed, you'll need to go back and take out the paragraph break between the caption and the description. It will have to be replaced by a simple "frame break" which will push the description (now the same paragraph and paragraph style as the caption), into its own hidden frame as before.If, in the TOC, you want the caption and the description to have differing formatting, it would also be useful to insert (between the caption and the description on the document page) an End Nested Style Here character before that frame break. (If the caption and the description can be formatted identically, you won't need this step, and they can simply be formatted by your simple TOC Entry Style paragraph style.)
    All above can be done using Find/Change. Find: End of Paragraph (^p). Change to: End Nested Style Here (^h) Frame Break (^R). So here's what it looks like in the dialog.
    If the captions and descriptions are the only text in your document, you probably get away with Change All, otherwise it may be best to step through finding and changing one instance at a time.
    Now if you update your TOC, the descriptions should be pulled up into the same paragraph as the captions.
    Take advantage of the Nested Style possibility to vary the formatting of the caption and description by adding a nested style to your TOC Entry Style. Set it to style the description portion of the entry. Then add a Nested Style and set a Character Style to format the caption portion of the entry... "through 1 End Nested Style Character".

  • A "preview" checkbox with JavaScript

    Hi friends.
    I´m writting a JavaScript that sends the active document in an appropriated way to print. Before calling the print command, I wanna display a dialog box asking the number of copies to print. So I thought I could also use this box to show some "auto" adjustments options (for example "auto levels"). If the user active "Apply auto-levels" then image refreshes to show the result (like a live preview). If user disables this box, then auto levels must be retired from image.
    Well..hope you do not laught on my solution. The way I found to do it is..apply auto levels and refresh when user enables the field, and return in the history and refresh if the user disables this field. It get the expected result. BUT, if I have more checkboxes in the same dialog box, then this solution will not work so well (sure).
    Do you have any other consistent solution to have previews of commands, but retire if the user disables the field?? Would like to learn a little about it.
    Well..what I do (the solution I´ve mentioned above) is:
    var doc = app.activeDocument;
    var c = doc.activeLayer;
    var dial = new Window ("dialog", "Print", undefined, {closeButton:false});
    dial.orientation = "column";
    dial.alignChildren = "fill";
    dial.margins = 20;
    var dPanel = dial.add ("panel", undefined, "Print options:");
    dPanel.orientation = "column";
    dPanel.alignChildren = "left";
    dPanel.margins = 15;
    var aLevels = dPanel.add ("checkbox", undefined, "Apply auto levels");
    var dGroup = dial.add ("group", undefined);
    dGroup.orientation = "row";
    dGroup.alignChildren = "left";
    var st = dGroup.add ("statictext", undefined, "Copies:");
    var nField = dGroup.add ("edittext", undefined, "1");
    nField.characters = 10;
    var gButtons = dial.add ("group", undefined);
    gButtons.orientation = "row";
    gButtons.alignChildren = ["right", "right"];
    var exe = gButtons.add ("button", undefined, "Execute", {name:"ok"});
    var canc = gButtons.add ("button", undefined, "Cancel", {name:"cancel"});
    aLevels.onClick = function (){
        if (aLevels.value){
            c.autoLevels();
            app.refresh();
        else
        if (! aLevels.value){
            doc.activeHistoryState = doc.historyStates[doc.historyStates.length-2];
            app.refresh();
    dial.show();
    Any idea to forget all of this and make a real "preview" checkbox?

    Hello Gustavo,
    I've been using (or seen using) preview in a couple of ways:
    1. Nesting when possible adj.layers into Groups and toggling their visibility and/or using smart filters on smart objects;
    2. Adding, and switching from, history states. Which is handy because you don't toggle only between original and "filtered", but if the UI of your script permits it, between original, "filtered with settings #1", "filtered with settings #2", etc. giving to users the extra feature of comparison.
    An option similar to #2 (that I've adopted when the processing is particularly elaborate) is to duplicate the original doc, work on it and paste back the result as a new layer. You can use the same strategy of multiple settings previews there too, but without the need to resort to snapshots.
    I've been working for a while on an embedded preview (in the ScriptUI window) but never found a robust workflow for it.
    Cheers
    Davide Barranca
    www.davidebarranca.com

  • Is it possible to nest SELECT statements?

    Greetings community,
    Another newbie’s question it is. Looking tutorials and some posts here I’ve been advised not to pull entire table through the local network, and torture client machines’ processors and memory. It’s been said that better solution is to
    pull just one part of the table.
    So, imagine this: you want to make a part of your app that would allow your user to view list of orders. So you put one data grid view on the form, pull last 20 headers from the table into it and leave to user to choose one to be opened
    in another form. If user doesn’t find header they want, they press page up for example and previous 20 headers are loaded into data grid view. Of course, user could filter headers list by customer, or by distribution lane (having all customers residing in
    one part of the town), or whatever more, but let’s not complicate things at this moment, because I’m practically in the beginning.
    I’m trying to make a stored procedure that would load penultimate 20 headers when user presses page up. So, not knowing any better, I created table variable that has the same structure as Orders table with one difference: OrderID column,
    which is identity (auto incremented) in Orders table, here is simply defined as bigint not null. Community member Visakh16 warned me few months ago it’s the bad practice to put self-incrementing columns in table variables.
    At this moment there’s a query on my screen, which waits to become store procedure. After boring part with table variable definition, it goes like this:
    INSERT INTO @OrdersTemp SELECT TOP 40 * FROM dbo.Orders ORDER BY OrderID DESC
    SELECT TOP 20 * FROM @OrdersTemp ORDER BY OrderID ASC
    To put that simply, I pull last 40 headers into table variable, and then pull first 20 from there. This thing works, and I just have to replace 40 with parameter, for every page up or down.
    Now I have few questions.
    -Is there some better way (considering performance) to achieve that? Here is the place where I wanted to ask the question from the title of the post. I don’t know much about T-SQL, and I’m not sure about the proper syntax to nest SELECT
    statements, if something like that is even possible
    -Is there any better way (some built-in function) to find about the count of the rows in one table than
    SELECT COUNT(OrdersID) FROM dbo.Orders
    Thanks for any suggestions.

    Hi Erland,
    Sorry for the very late reply, but I said that I would start another thread when I find more free time to dedicate it to this, so I didn’t really expected you to reply anymore. I didn’t really check here for more than a week, and I glanced
    at mail accidentally.
    As for the negative result I got, its measurement unit is microsecond, so it doesn’t go out of margins you had experienced.
    As for the number of cores, you got me surprised there. I use express edition of SQL server. Last time I checked was SQL server 2012 express, and in specifications it said that express edition is limited to 1 processor core, 1GB of RAM
    and creates up to 10GB database file. I don’t believe they changed any of those specifications. It was generous enough when they doubled size of DB file few editions ago. Still, it appears that “one processor core for express edition” statement has some gray
    areas in it.
    However, at this moment I’m just learning, and I just wanted some way to test how efficient my queries are. I don’t have a real biz problem to solve. I don’t expect that any real performance problem should rise in years of everyday work
    of populating database. What I expect is performance impact when it comes to creating reports, but after all, I don’t think that my boss would create reports by himself. I believe that creating reports would be my task, and I will be doing it after hours,
    being the only user at the moment. Or maybe I could make de-normalized copy of database that would be populated after hours to make it possible for my boss to get his reports faster by himself, as I’ve heard that was the way of making BI in older non-express
    editions.
    So, I do suggest that we finally close this thread for sake of other readers. I’ll start another one with this subject when I find the time to do it.
    Again, thanks for being with me along this journey.

  • Error in Smartform:  Nested output of tables is not possible....

    Hi ,
      I am getting the below error while executing the smartform.
    Nested output of tables is not possible
    Message ID: SSFCOMPOSER
    Message Numer : 171
    could any one plese help me?
    Thanks & Regards,
    surendra

    Dear
    AS i reply in thread ,
    this error comes  with  some problem in functional Module .
    as we know that two FM use in smartforms -
    SSF_function_mudule
    call   funcion .
    so you check both and  i hope you handle this problem .
    Regards,
    Ravi

  • Using nested IIF expressions in an update query - is it possible?

    Hi everyone,
    I've been tasked by my manager to build a database which replicates a large, complicated Excel spreadsheet that consumes too much of our team's time and system resources. I've just about got most of it, but there is one particular required field that, in
    Excel, requires multi-layered nested If/Then formulae. I have to ask if building something similar in Access is possible. Here is the problem and the logic:
    Let us assume two established fields, Field 1 and Field 2; and then one field to be created via Update query, Field 3.
    Let us further assume that in Fields 1 and 2, there are three specific alphanumeric sequences occurring (“X1A”, “X1”, and “Z1”) that need to be identified and then called out as either “S1” or “U1” in field 3.
    If an Update Query were to be written to populate Field 3 with either “S1” or “U1” depending on one of the three alphanumeric sequences appearing in either Field 1 or Field 2, could it be written as the following expression, using the IIF and OR operators?
    And if so, is the syntax of the following expression correct?
    IIf([FIELD 1]="* X1A", "U1", OR IIf([FIELD 2]="* X1", "U1", OR IIf([FIELD 2]="* Z1", "U1", OR IIf([FIELD 1]="* X1", "U1", OR IIf([FIELD 1]="* Z1", "U1", "S1")))))
    Any help, critiques, or guidance would be appreciated.

    IMHO, a main consideration when "migrating" from Excel to Access is that a relational database is fundamentally different from a spreadsheet (although there can be much overlap).  In Excel, calculated values are "live" (unless you paste the values only
    into some other cells).  To replicate this "live" quality in Access, you can use a query with a calculation to display (not create or update) Field 3 in your case; Field 3 really wouldn't be a field, just a representation (query, form, report) or snapshot
    (export, print).  One reason for this is to avoid conflicts and redundancy.  In other words, if Field 3 is based solely on Fields 1 & 2 and some rule, then usually there is no need to waste disk space to store Field 3 and you don't risk Field
    3 being wrong as in the case when the rule changes.
    So here are a couple of options.
    1) Create view only query to display Field 3.  In query design view, enter the following where you would normally select a field:
    [FIELD 3]: IIf([FIELD 1]="* X1A", "U1", IIf([FIELD 2]="* X1", "U1", IIf([FIELD 2]="* Z1", "U1", IIf([FIELD 1]="* X1", "U1", IIf([FIELD 1]="* Z1", "U1", "S1")))))
    I assume you literally mean the asterisk character and are not trying to invoke a wildcard for the LIKE operator.
    There are other ways of doing this (e.g. with the LIKE operator or multiple queries and UNION), but I leave that up to you to explore.
    2) Actually update the value of FIELD 3 in a table.  Create two update queries and use your rules as conditions (i.e. the criteria in the bottom of query design).
    a) Update query 1 (run first): set [FIELD 3] = "U1" where [FIELD 1] = "* X1A" OR [FIELD 1] = "* X1" OR [FIELD 1] = "* Z1" OR [FIELD 2] = "* X1" OR [FIELD 2] = "* Z1"
    b) Update query 2 (run after): set [FIELD 3] = "S1" where [FIELD 3] is null
    Again, there are other ways of doing this such as setting the default value of [FIELD 3] in the table to "S1" and just running update query 1.
    Good luck.

  • Is it possible to "nest" iWeb pages?

    Is it possible to "nest" iWeb pages?

    It depends on what you mean by nesting. If you want to have Page A and then have several daughter pages  A1, A2, A3, etc. that are only accessable from Page A you can do that.
    Create pages A1, A2, A3, etc. and remove them from the navbar in the Inspector/Page/Page pane:
    Click to view full size
    The create a secondary navbar on Page A linking to the daughter pages: Text Based Navbar
    On the daugher pages you can remove the standard navbar and only have a link back to the parent page, Page A, if you'd like. Those daughter pages will be accessable only from Page A.
    If you want another nested layer you can do the same with Page A1 - create daughter pages to it.
    OT

  • Nested html-tags in JTextPane not possible?

    Hi.
    Why does JTextPane not support contents like this:
    <p align="center">
      <h2>Hello, world!</h2> <!-- nested tag -->
    </p>This code is parsed and changed into:
    <p align="center">
    </p>
    <h2>Hello, world!</h2>Is there any possibility to get around this?
    Cheers,
    kelysar

    I do not know about how to treat HTML by JTextPane.
    According to http://www.w3.org/TR/html4/sgml/dtd.html,
    <!ENTITY % block
    "P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT |
    BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS">
    So you cannot use h2 element in p element.
    Regards,

  • Is it possible to increase the nested layer group limit on Photoshop CS4

    Hi all,
    Does anyone know if it is possible to increase the limit on nested layer groups in Photoshop CS4. To do a test, I made a group with a blank layer inside, then duplicated this group several times and nested them within each other. Once I have nested groups (5 deep) I can't nest any more.
    This is quite frustrating as I'm sure I could cope with a just two or three more levels of depth.
    Thanks.

    Thanks for the reply.
    That's rather annoying. I guess I will have to live with it for now. :-(

  • Is it possible to make nest fold in I cloud?

    i m trying to work on net but i m unable to creat NEST FOLDER in icloud.
    iwork / numbers / pdf cannot put in one icloud folder , pls help me if somebody have a way.....

    Not possible. My guess is Apple will add this at some point, but for now iCloud's document storage is very limited because of this.

  • Is it possible to have nested to-do lists?

    hello. Is it possible to have nested to-do lists in iCal? It would be really helpful for me, keeping different tasks of different projects and their sub-projects more ordered. Maybe with a plug-in?

    Hi Sabbani,
    No, this is not possible. The only option in 3.5 is to use the before aggregation and that is only helpful if you have only one record per sold to party. There is a trick depending on hat you want to do with the key figure. For example if you have the sold to party in your query result you can use the constant selection on the other characteristics to determine the sum for each sold to party. This would look something like this:
    sold to party        customer        sales        sales (constant selection customer)
    00000001            000000001        100        150
    00000001            000000002          50        150
    00000002            000000001           75         75
    If you need any help, let me know.
    Kind regards,
    Alex

Maybe you are looking for