How to make a column with the session variable

Hi Experts

I want to do something like this "DOMAIN". "Sun -"Dim - calendar VALUEOF(NQ_SESSION.'CAL_TYPE2'). "' Year '.

But I get this error: [nQSError: 27009] unresolved identifier: "DOMAIN". «Dim - VALUEOF (NQ_SESSION. 'CAL_TYPE2') calendar ".» Year. "

Help, please

Concerning

Monwabisa

Hello

Having several physical tables is a good news that you can move your 'dynamic' part in the physical layer.

You simply create a single physical table and configure to have a dynamic name, the name may come from a session variable.

This way you will point to one of your 7 calendars based on the value of the variable...

Tags: Business Intelligence

Similar Questions

  • In Windows Live Movie Maker, how to make a subtitle with the inner different font sizes?

    How to make a subtitle with different font sizes, as in the old Windows Movie Maker?

    I want to produce an effect video, like MTV clips that fade in and out for video (not before or after the video). It of about what I want to produce and could not because the new WLMM seems to have this deleted title feature.

    My song (large)
    Composer (small fonts)

    I want that this block of text fade in and out for my video. Is there a way to do this? Otherwise I would feel obliged to go back to the old WMM.

    FWIW... going back to an older version of Movie Maker
    Maybe the answer. You need to restart your
    because the Live Movie Maker WLMP project project files
    would be not compatible.

    No guarantee but the next for an installable download
    version of Vista Movie Maker 6 may be worth a try

    * Proceed at your own risk *.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Windows Movie Maker Installer for Windows 7
    http://noeld.com/programs.asp?cat=video#wmminst

    Also, Movie Maker 2.6 will work on Windows 7:

    Windows Movie Maker 2.6
    http://www.Microsoft.com/download/en/details.aspx?displaylang=en&id=34
    (this is similar to the version of Win XP Movie Maker 2.1)

  • [8i & 10g XE] How to compare a column with the text of a column with numbers

    This is probably a simple question, but I can't seem to find the answer. I tried variations on use to_number to_char and interpreters, all nothing will do.

    The real problem is that I have a table with a column of numbers in a database 8i (datatype = NUMBER (3)) and a column with the text (datatype = CHAR (3)), and I need to compare two values.

    This table has thousands of lines, but here's an example of the data in these two columns:
    TXT     CHR
    -----------
    001     1
    001     2
    002     2
    XXX     1
    003     3
    What I want to do is select the lines where the TXT and CHR VALUES do not match, then it would be (given my example):
    TXT     CHR
    -----------
    001     2
    XXX     1
    But, I'm having difficulties in comparing two columns, because they are not the same type of data.

    I tried to work on a simplified version of the problem in the 8i database both my 10g XE database:
    SELECT     *
    FROM     (
         SELECT     1.000               AS nbr
         ,     TO_CHAR(1.000,'000')     AS txt
         ,     CAST('001' AS CHAR(3))     AS chr
         FROM     dual
         )
    WHERE     txt = chr
    ;
    But this also returns any line, and it isn't even the "XXX" in the text column to treat in this example.

    Can someone help me understand what it is that I'm missing?

    Thank you!

    Hello

    user11033437 wrote:
    This is probably a simple question...

    Simple if you know the secret; maddening if you do not have.

    ... I tried to work on a simplified version of the problem in the 8i database both my 10g XE database:

    SELECT     *
    FROM     (
         SELECT     1.000               AS nbr
         ,     TO_CHAR(1.000,'000')     AS txt
         ,     CAST('001' AS CHAR(3))     AS chr
         FROM     dual
         )
    WHERE     txt = chr
    ;
    

    Try:

    TO_CHAR (1.000, 'FM000')
    

    By default, TO_CHAR leaves place the beginning of the string to a sign less, in which case he should ever one, TO_CHAR (1,000, '000') returns makes 4 characters, not 3. "FM" in the format said TO_CHAR do not add a space.

    If it does not, after the release of DUMP (txt) for the few lines that you can't match, so that we can see exactly what is in them.

  • Help with the session variable PHP CS5.5 - Please

    Hi all

    I am needing a little help with the help of a session variable, and I hope someone can point me in the right direction.

    I created a PHP page that uses the Dreamweaver 'User authentication' feature and the basics of this works very well, to direct a user to the correct page depending on whether they are or are not a valid user. I want to customize the page 'user valid' with people, user name entered in the authentication of the user table... a seemingly simple task using a session variable, but I just seem not to be able to make it work!

    The generated code for the AU on page 1 is the following:

    <? PHP

    Validate request to connect to this site.

    If (! isset {})

    session_start();

    }

    $loginFormAction = $_SERVER ['PHP_SELF'];

    If (isset($_GET['accesscheck'])) {}

    $_SESSION ['PrevUrl'] = $_GET ['accesscheck"];

    }

    If (isset($_POST['txtfirst_name'])) {}

    $loginUsername = $_POST ['txtfirst_name'];

    $password = $_POST ['txtsurname'];

    $MM_fldUserAuthorization = "";

    $MM_redirectLoginSuccess = "member_update.php";

    $MM_redirectLoginFailed = 'login.php ';

    $MM_redirecttoReferrer = false;

    @mysql_select_db ($database_panto, $panto);

    $LoginRS__query = sprintf ("SELECT firstname, name OF web_access WHERE firstname = %s AND family name = %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $panto) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    $loginStrGroup = "";

    If (via PHP_VERSION > = 5.1) {session_regenerate_id (true) ;} else {session_regenerate_id() ;}

    Declare two session variables and assign them

    $_SESSION ['MM_Username'] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    If (isset($_SESSION['PrevUrl']) & & false) {}

    $MM_redirectLoginSuccess = $_SESSION ["PrevUrl"];

    }

    Header ("Location:".) $MM_redirectLoginSuccess);

    }

    else {}

    Header ("Location:".) $MM_redirectLoginFailed);

    }

    }

    ? >

    First of all, the text highlighted in red above seems to be setting the session variable that I need. Is this correct?

    If so, what is the code that I need to put on page 2 to use this session variable? or

    I have to do something else on the page 1 to correctly assign the session variable?

    Would be very grateful for your expertise

    Mark

    It seems that you put the columns incorrectly in the user authentication server behavior. This is the SQL query that checks the credentials of the user:

    $LoginRS__query = sprintf ("SELECT firstname, name OF web_access WHERE firstname = %s AND family name = %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    You are looking for first name and last name, while you should look for the user name and password of the user.

    $_SESSION ['MM_Username"] is a session variable that stores the login name of the user. To use it in a page, all that is needed is the page start with session_start(). You can then echo the value to display.

    If you want to display the person's true name, you must create a recordset in the second page, use of $_SESSION ['MM_Username'] to search for the first name and the patronymic. Alternatively, you can change the code like this (I copied only part of it):

    $LoginRS__query = sprintf ("SELECT firstname, surname OF web_access WHERE firstname = %s AND password is %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $panto) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    $loginStrGroup = "";

    $row = mysql_fetch_assoc ($LoginRS);

    $_SESSION ['full_name'] = $row ["FirstName"]. ' ' . $row ['name'];

    If (via PHP_VERSION > = 5.1) {session_regenerate_id (true) ;} else {session_regenerate_id() ;}

    Declare two session variables and assign them

    $_SESSION ['MM_Username"] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    You can then use $_SESSION ['full_name'] in a page which begins with session_start().

  • Help with the Session Variables

    It has been a long time since I used CF, probably 5 years. I remember a lot, but it seems that I forgot something.

    I have a form that accepts user data. These data are posted and another form appears. Before the CFQUERY in the in the post, I set a session variable, just before the cflocation which brings the following form.

    If I take the scflocation, I can exit the session variable.

    But when the 2nd form appears, the same session variable is not set.

    Any suggestions?

    Thank you.

    I could do this instead:

    [email protected]">

    Add applicationTimeOut to formality, something like

    application.cfm

    Make sure the file name is Application.cfm

  • How to make a list with the DB control

    Hello

    I need fill a listbox using the dbcontrol, I saw how to define a textBox control with a recordset from the database by making a custom_query and call it through java script, example:

    infra_custom. SQL:

    Get Prueba_Nak
    DESCRIPCIÓN SELECT THE
    OF DB_PRUEBA
    WHERE CALL_NUMBER =: nCALL_NUMBER

    Custom_inCallDetails.js:

    function pruebaQueryMuestra() {}
    var db = document.all.DB;
    DB. ClearParam();
    DB. AddParam ("CALL_NUMBER", document.all.CALL_NUMBER.value);
    var RS = db. GetRecordSet ("Get Prueba_Nak");
    document.all.EXTFLDV_500004.value = RS("DELESDE").value;
    document.all.MI_POLLA.value = "HELLO";
    }

    function customLoad() {}
    pruebaQueryMuestra();
    }

    Well, this work well for complete results, but, if I need more lines for painting, a list, how can I make a loop in a recordset with only one result?

    Kind regards

    The first thing I would say is that you just use the SU_SELECT_VALUES table & fill if possible through Designer.

    If you don't want really dynamically change the menu drop down content based on the number of appeal then you could populate the drop-down list dynamically using JavaScript.

    something like...

    fill in the parameters...

    var r = da. DB. GetRecordset...

    If (! r.BOF) r.MoveFirst;
    If (r.Fields.Count > 2)
    do something here.  There are not enough columns in the query results to populate a drop-down list with a ref and name.
    on the other
    {
    FAL EXTFLDV_500004.options. Length = 0;
    While (! r.EOF)
    {
    Like var = document.createElement ("OPTION");
    oOption.value = r("REF").value;
    oOption.text = r("NAME").value;
    FAL EXTFLDV_500004.options. Add (option);
    r.MoveNext;
    }
    }
  • Does anyone know how to make this box with the price?

    Hello!!

    I do my "wedding site" I am unware of what the "real generals" how call these element.

    I wanted to know if anyone knows if it is possible to make these boxes of price with the amount of padding box below?

    Can you do something like this in MUSE (it seems quite possible) can someone give me a hand or a tutorial on how to do it.

    I thought using some kind of widget or compositions. Thank you very much! Here is the real site to see it in action. His 'Gifts' section http://celebr8with.us/

    Thank you in advance!

    Screen Shot 2014-03-11 at 6.15.53 PM.png

    Hello

    The downs with attributes price drop would require a custom coding on your end, but if you have a plan, then you can use product information at end of sale with the price set by the product itself.

    Something like this:

    http://Muse.Adobe.com/exchange-library/pricing-table

    Thank you

    Sanjit

  • How to make a column in the password field?

    Hello

    I need to change the column in the field "Password".

    That is, the data must be as ' * ' in the DB also.

    How this happens in the column in the Table?

    Kindly guide / help me with that.

    Thank you
    Orahar.

    Orahar wrote:
    Dear Vincent,

    Thank you.
    Can you explain on the view I have to create to display the value of column in asterisks (' ' * ')?

    Thank you
    Orahar.

    SQL> create table tbl_test (id number, name varchar2(10));
    Table created.
    
    SQL> insert into tbl_test values(111,'test');
    1 row created.
    
    SQL> select * from tbl_test;
            ID NAME
    ---------- ----------
           111 test
    
    SQL> create or replace view vw_test as
      2  select '*****' id, name from tbl_test;
    View created.
    
    SQL> select * from vw_test;
    ID    NAME
    ----- ----------
    ***** test
    
    SQL> insert into tbl_test values(2,'test2');
    1 row created.
    
    SQL> select * from vw_test;
    ID    NAME
    ----- ----------
    ***** test
    ***** test2
    SQL>
    
  • How to make a menu with the button this opening fade?

    I have built a menu animated in AE and had added text that melted by layer layers/buttons > still > create button. Once I have import into Encore through hotlinks I can't connect the buttons in the menu application.  I have added a sample.

    Basically all I want is the feature of game, selection of scene and credits to be selectable after completing discoloration in @ the: 20 mark. I don't want the menu's loop.

    I tried to do a static menu (from the last image in AE) play after that, but there is an a second gap or two before this static menu plays that look just sticky. I tried this in the preview, and it made on a dvd with the same result.

    All the tutorials I've met really does not answer this question either.

    Any help would be appreciated.

    Thank you

    So you're on the right track.

    This departure for a workflow I would try if I did more menus animated.

    http://help.Adobe.com/en_US/encoredvd/4.0/WSA5513911-0AD1-440C-BDAD-2E0E806B425E.html

  • ADF11g: Need help with the Session Variables

    Hello
    I have a login page for my application.

    I need to use the username on the other pages as well as in custom java files.

    Currently in the java files custom when I access the user ID by using the backingbean object I get value as null.

    Can someone help me please in the varaible session UserID property so that I can use it throughout my application.

    Help, please...


    Thank you

    Hello

    You can define a bean managed with some properties as username and post in the session scope. When the user is loged in, you can set the value in your extended managed bean in session.

    Hope this helps

    Joseba

  • How to make 2 columns in the table with a long row of data Tyube

    Hello world

    I want to do in my column of table 2 with data Tyube long raw

    How this


    Thank you very much

    I don't think it's possible, use BLOB.

  • How to make a picture with the webcam on my Dell laptop

    I have a webcam built-in to my computer dell laptop and want to take a picture of me and save it in the folder my pictures.  I have no idea as to where to look much less take a picture.

    Hello

    What is the brand and model of the laptop?

    I suggest you to check if the steps help like different laptops come with different software.

    (a) click Start

    (b) click on all programs

    (c) click Dell Webcam

    (d) click on Webcam Central to start the program.

    Another simple method to find the webcam is any webcam in the tab "search" start and click the result.

    The recorded images are usually located inside the library under the images.

    Hope this helps and keep us posted.

  • How to make a clip with the mouse

    How do rotate you a clip so it always faces the mouse?

    Try something like this:

  • Cannot get the value of the session variable (using row wise initialization).

    Hi all

    I have a scenario where I'm trying to get the value of the variable session of two columns.

    Table of database consists of the name of USER, Country_Region, columns Country_SubRegion.

    For example: ChadraKanth, Americas, America West is the data.

    I wrote a Sql query in the block of session initialization:

    Select "CR", Country_Region, Country_SubRegion

    of row_wise_init

    where USERID = ": the USER"

    When I test the RPD code gives the result like this:

    CR WesternAmerica of Americas.

    In my report I have two columns, a region and an another subregion.

    When I try to filter with the session variable "CR" for the column region his error giving: session variable is not initialized with

    This is the default.

    Question:

    1. session variable is contains several values in the column?

    2. how to filter the report on columns of region and sub region?

    Please suggest me.

    Kind regards

    Chandra Khalil.

    Hello

    A session variable cannot store more than one column, 1 variable = 1 value (column 1), horizontal initialization allows to store several lines, multiple values in the same variable.

    If to a user, you have several lines with multiple values, you need horizontal initialization, but it cannot store in the variable the value of the region and subregion.

  • How to make a form with report and a form of inclusion in the same page?

    Hey, guys:

    I was wondering if you could have any link or examples to show how to make a form with report and a form of inclusion in the same page, these two forms are related to the same table. Our customer wants that a user can add a new row to the table in a form and see all lines created by this user in a report, the report should provide link change as well. the problem is: whenever I inserted a new line or change a line or delete a line, and submitted and return to this page, all hidden elements lost their values, this report is empty, and some display only items also lost their values. Could someone give me any suggestions?

    Thank you very much!

    Sam

    So, the problem is essentially with page elements lose their session state values when re-loading of the page. How do you define values for the elements of the hidden page? You have default values defined for those? They are based on the database column? What is the "Source" parameter for these items on the page? It is set to "Always, replace any value in session state"? You have any process of 'Empty the Cache', which is reset these values to null element?

    What is your version of the Apex?

    I would recommend that you have installed for example in apex.oracle.com. This would help to better understand the issue.

    Published by: jaouad khalifi on 13 December 2012 22:11

Maybe you are looking for