Change of display LOV on the run-time value

Hi guys

I use apex 3.2 and I have many LOVs on my app.
My application is running in English and Arabic and LOVs should all be translated into Arabic, when I run the Arabic version of the app is - it possible using JavaScript and the time of execution?

Note: all my LOVs are public static

Thank you

Hello
It is indeed possible, in many ways.
Option 1: Have 2 set of LOVs, English and Arabic and hide/show the LOV based on language
Option 2: Make the LoVs selects by putting the data in tables. Then use the column that contains Eng or Arabic text by selecting the appropriate column. Something like

select code result , decode (lang,'ENG',display_eng,display_arb) display /* code, display_eng and display_arb being the column names */
from 
Where ....

Option 3: Using shortcuts to store your versions Eng the LoVs /Arb and fill out the shortcut right.

My personal preference is Option 2 for a simple reason, requires no changes to the code when options are added/modified / deleted

Kind regards

Tags: Database

Similar Questions

  • How to get the run time on page

    Hello

    I want to display the clock running and the user that loggin.

    Pls knows me how to get the running time display and the user name which connect you.


    thakns
    Kumar

    Hello

    You can use javascript clock and substitution string APP_USER
    This place at the source of the HTML region

    &APP_USER.
    
    

    Use styles to get look like you entered and span tag

    BR, Jari

  • Can we load and unload the files in the run time?

    Can we load and unload the files in the run time?

    For example, there are four files named 'test1.h & test1.c' and another series 'test2.h & test2.c' (I have attached as an attachment to this post).

    test1.h contains the code:

    int variable; variable declared as integer

    test1.c contains the code:

    variable = 1; variable a value assigned

    test1.h contains the code:

    char * variable. variable declared as string

    test1.c contains the code:

    variable = "EXAMPLE"; a string that is assigned to variable

    So here, in this case can I dynamically load / unload first & second group files so that the same variable "variable" name can be used as an integer and string? And if so, how to do?

    Hi pa1majeti,

    You cannot simply consider that some code is loaded into memory or not: all code in a compiled application is permanently in memory unless you divide your application into DLLs that you dynamically load if necessary and remove if is no longer necessary.

    But as I understand from your description, you're better given the amount of memory occupied by the data (i.e. the contents of the variables) rather than the code. If this is the case, your only option is to allocate memory for variables dynamically and free it after it has been used. Now, even if this option is useful if you are using large networks of data, there is little or no effect on the unique variables.

    A final Council, given the huge memory installed on modern computers, are you sure you really need that extra work? I mean, the dynamic allocation of memory involves some additional precautions in programming: check the errors on each function malloc or calloc, check that the pointer is valid before each use, freeing pointers before reassignment in order to avoid memory leaks and so forth, so a balance must always be sought between the memory and the difficulty in programming.

  • How to get the content incorporate the swf file in Swf Loader on the run time

    How to get the content incorporate the swf file in Swf Loader on the run time

    [Bindable]

    [Embed(source="assets/index.swf")]

    private var SWFSRC: Class;

    < mx:SWFLoader id = "_swfloader" source = "{SWFSRC}" / >

    It might be Loader (DisplayObjectContainer (_swfLoader.content) .getChildAt (0)) content

  • How to hide a control and change a background image at the same TIME

    Hello

    I made a slideshow on LabView VI, who also monitors data in real time to a data logger.

    The program works like this: -.

    Start/Page 1:-bottom pane displays a nice screenshot. A set of indicators displays the data in real time. Switches to Page 2 after 20 seconds.

    Page 2:-background to an another screenshot. Hide indicators in real time and a set of three graphs appear, displaying historical data. Switches after 20 years.

    Page 3 etc:-hide charts and indicators, a 'slide show' appears by changing the history pane. Back to page 1 after the sequence.

    Everything works fine, except for one thing: I can't hide indicators and background to change at once, resulting in a clumsy "discrepancy" between the two.

    I did one VI example to illustrate this. Simply select two separate images to the façade, run the VI and toggle the Boolean control to see what I mean.

    Any idea how to get indicators and background of change at the same time?

    Thanks in advance,

    Hello

    Hi Jin,

    have you tried to "DeferPanelUpdates" when you power on? This is a property of the component...

    So David value = TRUE, do all the switching, to redefine Defer to FALSE!

  • Cannot open cash book complete due to the run-time error 429.

    Can't open the program because the runtime error 429, how can I solve this problem?

    original title: try opening a program called FULL of CASH book and an error is displayed in Run Time error 429 active x component cannot create object

    Connect with the people who wrote, distributed or support the program FULL of the CASH book.

  • Change 1 folder changes views 1 another at the same time.

    I want 1 file to the group names, but this has begun to change the 2 folders to the same view at the same time.  And when I change the other file to display small icons then the other folder will group by name to display small icons at the same time.

    Is there a way to prevent this?

    Thank you.

    Thanks for the answers, but after the age of bother I've sorted it.

    I right click the master file (this time, it was my music) and:

    Clicked on properties

    Customize

    Changed the "what kind of folder do you want?" at all and makes TIC TAC "applies this model to all subfolders.

    You click on apply.

    Records are returned to the independent opinions how ever you get in the folder.

  • deploy the run-time engine

    Hello everyone,

    I'm trying to deploy my application of teststand to a target computer. My teststand application uses: TestStand 2014 (32 bit), LV 2014 SP1 (32-bit).

    Here's the problem I encounter while using the deployment tool.

    1. in the attempt to include RTE LV in my Installer, the deployment utility requires that I provided LV 2015 Installer. See the attached picture.

    I wonder why she asked median LV-2015-64 bit Installer. If I ignore the request, the build process failed.

    2. I use the shared variable to communicate with the compactRIO controller. The compactRIO controller is hosting EVS. My question is,

    a. I have to "deploy" my variable library shared, even though my system is not an EVS?

    b. I read in the manual that I can deploy the variable Fanny shared through the LV utility deployed the lilbrary step. So I added this step in the test sequence. Whenever I run the sequence, this step deploys the shared variables. On the target, I wonder if it is necessary to deploy the shared variable on each run of the test sequence. I think it should only be deployed only once on the system target. Am I wrong? If so, how to remove this utility LV deploy step of the library of the test on the target sequence, since there is no development testbed on the target system.

    3. I use a database to record test results after each execution of test sequences. I can export the schema of the table data and copy it to the target computer. My question is, how to import the schema of the database in the target table, since there is no system development teststand on it (no way to call configure it-> result-> database to import the schema of the treatment table)?

    I hope that teststand experts out there can give me some help tips to help me understand the whole deployment process. Thank you.

    Yours,

    lhuckj

    (1) make sure that LabVIEW 2015 Run time is NOT slected to install options-> drivers and components

    (2) I don't know

    3.

    Generally, I put my data link in a UDL file and include that in my distribution.  I set the Connection string to use a relative to this udl path and make sure that the UDL is copied to the same location on the targer

    I have also included in my repertoire of the Application of TestStand CFg:

    TestStandDatabaseSchemas.ini

    TestExec.ini

    Users.ini

    StationGlobals.ini (attention if you do not want to replace the existing one, I use it to store the addresses of the instrument)

  • Cannot undo changes to display because of the white screen

    Laptop Lenovo G510; Windows 7

    I'm trying to set up the laptop to an external monitor via HDMI. I tried a setting, but it didn't work. However, the laptop screen went white and now I can't undo the changes.

    Upon restart, the screen works up until the start of window screen, and then it turns off as the computer continues to boot.

    Start in safe mode works, but I can't access the properties of the graphics from there.

    Tried to unplug the HDMI cable, but does not help.

    How can I report the default display settings without doing a hard reset? (It isn't my own computer)

    Ok. I solved the problem by returning to a previous restore point.

  • How to remove the Run-Time 8.5.0?

    I put in "Unable to install" "superior version already installed" error when I try to install a .exe. I see in the Max I have RunTime 8.5.0 installed and I'm using LV 8.2.1. How can I remove Run-Time 8.5.0?

    Thank you.

    LabVIEW runtime engine versions do not appear in "Add or remove programs" after versions of LabVIEW 8.0.  In versions 7.x here where the provisions to remove the engine length by this method.  In order for the runtime, go to this path: C:\Program NIUninstaller Instruments\Shared\ProductCache here you will find the programs uninstaller for all software with LabVIEW.  Use this uninstaller to uninstall the components required.

  • Cannot install the simple game (Fishdom) due to the run-time error 'asked to terminate in an unusual way.

    I asked about Playrix, but they are completely clueless.  I bought Fishdom and downloaded.  When I go to install it, to the last window when he says 'launch Fishdom?' and I hit "Yes", it will not launch and I get the infamous runtime error:

    Runtime Visual C++ error library
    The application requested to terminate the duration in an unusual way.
    For more support, please contact administrators.

    Maybe it's not the exact wording, but I know that everyone is familiar with this error message. There is no error message number to identify the problem.

    I posted this under games even if my prob is perhaps not relevant to this forum.  If anyone has a suggestion of where to go, it would be very nice and I can re-post.

    I've updated my graphic drivers, Update ActiveX, DirectX, restarted, and whenever I have it re-downloaded, not only do uninstall the version I tried to install, but I go to C/program/files/Playrix and delete anything there as well.  I don't have this in-between software - as a Playrix games - car Manager at least gives me a direct download link so I'll actually not through a distributor site.

    I have XP SP3, use FireFox (current version), and my graphics driver is Express family Chipset 965 (which I think is a Ricoh or Intel product?).  It came with my Dell Inspiron 1520.  I have no other problems with anything on my computer and play frequently other simple match 3 games - online - on the MSN Games website.

    I have Malwarebytes running in the background.  I also tried to disable the real-time protection and install and which did not help.

    I really want this game, and anyone who can help me with this will have my eternal gratitude.  (A lot of promise, I know, but you'll be worth it).

    Thank you to everyone who is addressing this.  I will try what you suggest!

    Catsin

    Hi Catsin,

    I suggest you follow these methods and check.

    Method 1: I suggest that you try reinstalling from Visual C++ Runtime library.

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=a7b7a05e-6de6-4D3A-A423-37bf0912db84

    Install the application and check.

    If the method above does not work, proceed to the next method.

    Method 2: Run the clean boot and try to install the application.

    To do this, follow the steps in this link:

    http://support.Microsoft.com/kb/310353

    NOTE: Once you check the functionality, follow the suggestions under steps to configure Windows to use a Normal startup state.

    If the previous step fails, then try to install the program in compatibility mode and check if it works.

    Method 3: How to use Windows program compatibility mode in Windows XP

    http://support.Microsoft.com/kb/292533

  • need help to set the run time of the 216. Computer keep freezing

    Whenever I go to the line, I get the message 216 3 c fa934b.  How can I fix it?

    Hi Jel7,

    1. did you of recent changes on the computer?

    2. what browser you use to access the internet?

    3 when was the last time it was working fine?

    4. when the computer freezes?

    If you use the browser to explore, so I suggest you disable script debugging and check ifi allows it.

    Correct errors in Internet Explorer

    http://support.Microsoft.com/kb/822521

    I also suggest that you scan the computer for malware or virus infections and check if it helps.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

     

    You can also use Microsoft Security databases to scan your computer

    http://www.Microsoft.com/security/PC-security/MSE.aspx

    The computer freezing the issue, I would say that you perform the clean boot procedure and check if it helps.

    It is possible that some third-party programs installed on the computer is causing the problem.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See the link below to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

  • Run the run-time error '339': 'mscomct2.ocx' or one of its dependenceies component is not correctly registered: a file is missing or invalid

    As I upgraded fom Win 7Pro to Win 8 Pro I can't get one of my software programs work correctly, it worked fine on Win 7 Pro, I tried all sorts of internet remedys, but nothing works, I get the message following run-time error '339': 'mscomct2.ocx' or one of its dependenceies component is not properly registered : a file is missing or invalid.i have tried to get that it is running in compatibility mode, but the same error message keeps comeing. The software installs fine, can someone give me that any ideas how I can stop this error message and get my software to work, it's the only piece of software I use every day, but during the last three weeks, I have been unable to use frustrating it.very. Thanks You.Robert

    A quick and simple solution to this problem.

    Simply follow the instructions below, download the file, install it and bingo, you have sorted.

    This will save you having to reinstall interactive Raceform, but you can do before a new installation if you wish.

    Click on the link below (or copy and paste it into a browser address bar):

    http://download.Microsoft.com/download/vfoxodbcdriver/install/6.1/W9XNT4/en-us/Vfpodbc.msi

    If you do this in Google Chrome you will see this in the lower left corner of your screen-

    Double-click this and you should now see this-
    Choose to run
    Now, you will see this-
    And it should now be as easy as just after the other, agree questions etc after clicking this first suite.
    This will allow you to install drivers for Visual FoxPro that will hopefully Raceform Interactive must be installed after that he completed.
  • Display Html, design mode and display CSS at the same time?

    Hi all!

    Well, that's my problem:

    I'm on a double screen, on a single screen monitor, I have the code Inspector "' to view my html code and the second screen, I have the design view.

    Problem is that I hate to always spend my tabs when I need to work on my Html and my CSS.

    I was wondering if anyone has found a way to show, I don't know maybe not 2 code inspector or simply to find a way to split the screen so I can see the html and css at the same time?

    Thank you very much!

    Nick

    If you are using Dreamweaver CS4, it's very easy. View the HTML code in the Code Inspector and have split vertical in the main Document window. In the related files toolbar, select the style sheet.

  • Write the Date/time value to a Ms Access table

    I have a headache. Here is the statement I send and the error I get:

    INSERT INTO VALUES (TestID, DateTime) measure (8732, #' 2015 - 01 - 28 16:17:58 ' #);

    NI_Database_API.lvlib:conn Execute.vi-> 2.vi Untitled-> Untitled 1. VIADO error: 0x80040E14
    Exception occurred in the Microsoft JET Database Engine: syntax error in INSERT INTO statement. in NI_Database_API.lvlib:Conn Execute.vi-> 2.vi-> vi Untitled 1 Untitled.

    I tried most of the possible combinations of #, "," around the datetime string and I also tried datetime string formats YYYY/MM/DD hh: mmS AM/PM, DD/MM/YYYY "

    In writing to the other data fields don't cause any error, I only get the syntax error when I try to write in the DateTime field (data type Date/Type)

    I use LV2012 with database connectivity kit and MS Access 2010 (stuck with it, cannot be changed). Same problem with the connection of the user DSN or UDL (jet engine).

    It works with the DB tools Insert Data.vi but we want to use a direct INSERT statement using the DB tools run Query.vi, because we have had a few locks error 0 x 80004005 which can be caused by the DB tools Insert Data.vi using ADODB. Recordset.

    Is attached the vi that I use for debugging.

    Ben64

    Finally found the problem!

    Even if the data type is Date/time in Access, and it is possible to define the name of the DateTime field it seems to be a small Word when you use a SQL statement. The solution is to add DateTime hooks like this:

    INSERT the EXTENT (TestID, [DateTime]) VALUES (1,'2015-01-28 06:52:16 ');

    Thanks for your help Cosworth.

    Ben64

Maybe you are looking for