Checking the status of block to a block so the cursor is in a block of diiferent
Hey guys,.I'm sure many of us have encountered this situation before. I have 2 different blocks (B1 and B2) in my form. Block B1 is a single record block while B2 block is a block of several record. I noticed that when I update an existing record in my block B2, something has changed in my block B1. I don't know what changed, but the status of block B1 = "CHANGED". There's a trigger when a validation in one of block B2 elements. Now, if I insert a new record into the block B2, then nothing changes in the B1 block.
Now, there is nothing very obvious which seems to be updated to block B1. So I'm trying to understand when block B1 status changes to REQUEST to CHANGE because I can't really block B1 navigate When-Validate_item to check the status of the block. I'll try with Next-key to see if nothing changes in the B1 block in the meantime.
So, I moved the WVI key-Next-Item trigger and made a Go_Block ('B1') and printed the status of block B1 and has "CHANGED". I printed the lock status on the first line of key-Next-item proving that nothing in KNI has changed the State of the B1 blocking. So I have some block-level triggers such as:
WHEN-NEW-BLOCK-INSTANCE
WHEN-VALIDATE-RECORD
PRE-QUERY
POST-QUERY
ON-LOCK
ON-UPDATE
ON-DELETE
ON-INSERT
PRE-RECORD
WHEN-NEW-RECORD-INSTANCE
Any ideas?Thank you
Published by: RDonASnowyDay on March 15, 2010 11:27
If it happens only for existing records and not for new, I'd vote for the POST QUERY relaxation. As you only have a few triggers I would try to eliminate them one by one and check when it starts to work.
Tags: Oracle Development
Similar Questions
-
Hello
Our environment is Essbase 11.1.2.2 and work on Essbase EAS and components of Shared Services. One of our user tried to execute the Script of Cal of a single application and in the face of this error.
Dynamics Processor Calc does not reach more than [100] ESM blocks during the calculation, please increase the CalcLockBlock setting, and then try again (a small data cache setting can also cause this problem, check the size of data cache setting).
I did a few Google and found that we need to add something in the Essbase.cfg file as below.
Dynamics Processor Calc 1012704 fails to more blocks ESM number for the calculation, please increase the CalcLockBlock setting, and then try again (a small data cache setting can also cause this problem, check the size of data cache setting).
Possible problems
Analytical services cannot lock enough blocks to perform the calculation.
Possible solutions
Increase the number of blocks of analytical Services can allocate to a calculation:
- Set the maximum number of blocks of analytical Services can allocate at least 500.
- If you are not a
$ARBORPATH/bin/essbase.cfg
on the file server computer, create one using a text editor. - In the
essbase.cfg
folder on the server computer, set CALCLOCKBLOCKHIGH to 500. - Stopping and restarting Analysis server.
- If you are not a
- Add the command SET LOCKBLOCK STUDENT at the beginning of the calculation script.
- Set the cache of data large enough to hold all the blocks specified in the CALCLOCKBLOCKHIGH parameter.
In fact in our queue (essbase.cfg) Config Server we have given below added.
CalcLockBlockHigh 2000
CalcLockBlockDefault 200
CalcLockBlocklow 50
So my question is if edit us the file Essbase.cfg and add the above settings restart services will work? and if yes, why should change us the configuration file of server if the problem concerns a Cal Script application. Please guide me how to do this.
Kind regards
Naveen
Yes it must *.
Make sure that you have "migrated settings cache of database as well. If the cache is too small, you will have similar problems.
- Set the maximum number of blocks of analytical Services can allocate at least 500.
-
check the size of physical block Windows
Hi all
How to check the size of physical block on windows 2008 R2
found the solution
Thank you
Published by: 912919 on October 4, 2012 03:16fsutil fsinfo ntfsinfo c: (or whatever the player)
Edit: corrected typo :)
-
check the entry of duplicate data in the block record multi, which is a required field
Hi all
I have a situation where I have to check duplicate data entry (on a domain, which is a field, i.e. mandatory. it cannot be ignored by the user without entering a value) in key-in data in a Multi Record block.
With regard to the reference I used logic, such as
1 > trigger in a when-validate-Record of this block I assign the value of the current element in the variable of type array (collection type)
as this trigger every time I leave this record, so its by assigning the value of the current time. And this process continues
then
2 > wrote in a when-validate-item trigger of the corresponding element (i.e., the relaxation is at the element level), where he compares the value of the current item and the value stored in the variable of type table trigger when-validate-Record (type of collection). If the value of the current element is mapped to a value stored in the variable of type table I shows following message ("Duplicate Record") raise_form_trigger default
This code works very well for the double value of this record multi field check
The problem is that if the user enters the value of this field and then go to the next field, enter the value in this field, and then press 'Enter Query' icon, Validate bolt trigger fires. As a result first when - validate record fires, that stores this value, and then when-validate-point fire, so it shows message duplicate record
Please give me a code or a logical sense to solve this problem
Any other logic to solve this problem is also welcomeIf you query the data and it shows two unique values in the block, then it should work as expected. But if you don't ask and just open form and try to insert the record and then for the first record it does not display this message of duplication. For this, you can write your own query to check the duplication of table.
For the image of the form, you can use any image download site. A search on google.
-Clément
-
How to check the block that you are in?
Hello, I was just wondering is there any method to check the block that you are in. I tried
If: systerm.current_block = < block_name > then...
but it doesn't seem to work. I guess I'm doing something wrong?
Thank you.It should work anyway... Make sure you compare with the name of block at the top of case. for example
if :system.cursor_block = 'YOURBLOCK' then .... .... end if;
-
How to check the values in multi-record block. ?
Hello
I'm new to forms. I have the field titled "Comments" in the block of multi-record. I have a button called "reject". Reject button is in the control block. If I press the button reject, field comments must be entered in one of the record. Otherwise, he should tell message. How to check the multi-record block. ?
Pl.Help.
Thanks in advance.
ManoMano,
Add NEXT_RECORD just before the END of the LOOP.
GO_BLOCK('
'); FIRST_RECORD; LOOP IF NVL(: . , ' ' ) = ' ' THEN MESSAGE(' '); RAISE FORMS_TRIGGER_FAILURE; END IF; EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE'; NEXT_RECORD; END LOOP; Kind regards
Manu.
If my response or response from another person was helpful, please mark accordingly
-
How to check the plan and statistics of queries written in block PLSQL
Hi all
I have a production database (11.2.0.3.0) on which I will only select access on the tables and sign in plsql from another schema. I do not have access to the file system, I can connect only with sqlplus.
I have a procedure which is having 2-3 requests each have the array of objects used in type from clause. I want to check the plan and the stats of these queries. Can you help me please?
Thanks and greetings
Alexander gelin
Alexandre Gelin says:
Thanks Karthick_Arp. I use the same method until now, but it's tricky. I don't know how to get the query statistics.
You can define STATISTICS_LEVEL = ALL at the level of the session
ALTER session set statistics_level = all;
You can then run your package
And then
Select * from table (dbms_xplan.display_cursor (SQL_ID, null, 'ALLSTATS LAST'));
This you will get estimated and actual statistics with buffer and reading.
-
How to calculate the sum (discount) when check box status = 'Y '.
Hai.
It's Vinet I want sum (disc) of particular elements check box STATUS = 'Y'
I selected the quota_det TABLE data
I have 5 codes elements
SNO Agenda ITEMCODE QTY. BASIC PRICE DIS_PER DISK STATUS
1 DELL 2 30000 60000 5 57000 D26OO Y
2 HP HP2300 1 20000 20000 2 19600 N
3 SAMSUNG SM560 2 5300 10600 3 10282 N
4 NOKIA 5 25600 128000 3 125440 NK63 Y
5 HTC 1 2300 2300 2 2254 HT25 Y
ALL ARE ELEMENTS of DATABASE BUT STATUS IS NOT a basic ELEMENT of DATA THAT IS the POINT of the BOX
VALUE CHECK = Y
A VALUE WHEN UNCHECK = N
IN above DATA I WANT ONLY ELEMENTS SUM (DISC) WHEN the POINT of the BOX CHECK THAT the SUM SHOULD BE APPEAR IN TOT_VALUE * POINT *.
SEND ABOVE CODE REQUIREMENT WITH THE NAMES OF TRIGGER ITS URGENT...
Published by: 988532 on March 22, 2013 22:27Hi Vincent!
You can try this!
Make another text point something as a disc_copy between the disc and on the same block
below this text element properties
1 piece of data: No.
2. data type: number
3 canvas: NullCreate another element of text like total_discount below the properties
1 piece of data: No.
2. data type: number
3 method of calculation: summary
4. function: sum
5. block of summaries: YourBlock
6 point summaries: disc_copyIf you are multi block record is then
7. number of items: 1Set property YourBlock
All records in the query: YesNow, about the situation to apply trigger WHEN-CHECK-BOX-CHANGED and write below the code in this trigger
if :YourBlock.status='Y' then :YourBlock.disc_copy:=:YourBlock.disc; else :YourBlock.disc_copy:=0; end if;
Published by: XeM on 23 March 2013 12:06 AM
Published by: XeM on 23 March 2013 12:07 AM
-
When I open a photo in Photoshop CC, the cursor becomes a 'blocked circle '.
Any JPG photo, I try to open, when I try to change it, the cursor goes into a 'denial' as a 'blocked circle '. I've used Photoshop for years and have never encountered this problem before. What I am doing wrong? It simply doesn't let me edit JPG images. I also checked to see if my monthly payments were up to date, and they are. What gives?
Several reasons can cause see ring stuck on your screen: selected layer's smart object, color mode, bit depth or selected tool cannot be used (the Eyedropper, 3D... material Drop tool 3D material).
Make sure you have Image > Mode > RGB - 8-bit/channel, make sure you have Smart object selected in the layers panel and check what tool is selected or active.
-
Record check duplicate using control block
Hello
Please see the link
http://SheikYerbouti.developpez.com/duplicates/duplicates.htm
If I have 3 revenge in my form for which I need to check the duplication,
According to the link, I have to create 3 control blocks?
Thank youHello
You can use the same block control, but with different points, of course.
François
-
CFML to check the status of my server...
Hello
I have 3 nameservers and 2 Web servers and 1 SQL Server all to separate IP #' s. I have a set of tools to admin for several websites and I wanted to add an auditor of State to warn users if a given server has been disconnected before they tried to admin their sites (or disable functions that depend on the parity of file etc.) At first, I tried to find CFML 'ping' on servers but no luck. Then I thought skip control of name servers and just check the Web servers. So I put a file on every server I have a cfinclude. I then remembered that I can't use an IP address with cfinclude. So I used an IFRAME to include the file of the intellectual/dir property I wanted. I have this wrapped in a cftry/cfcatch block but of course, failure is page not found when the server is offline and is not a direct cfinclude. So, if I cfinclude a page with a call to the IFRAME a page from IP address and the server is down I get a broken IFRAME. Is there any var CGI or readable by CFML 404 return info I can check for failure to report, rather than missing page error? OR, is there an easier way and smarter to cela? See my current code below:Figured it out. See final code below.
-
I downloaded Adobe uninstall (for Mac, OS x 10.4ff) and he ran to get rid of old shards of Adobe Flash, be very careful to follow the Adobe provided through their Web site. The last thing they ask you to do is to "Check that the uninstall is complete", by restarting your computer and then open your browser and check the status of the Flash Player. BUT it seems not to be a way to check the State of Adobe Flash Player on current versions of browsers Mozilla product.
How can I check that the old version of 'Flash Player' is really gone?Firefox 41.0.2 on Mac OS X 10.8.5
edited by e-mail from the public and robots to spammers
See also the "tools > Modules > Plugins" (topic: addons) page and all: plugins page.
-
Anyone know how I can disable the block with the wikipedia, google, etc., which opens at the location of the cursor if you hover over the texts? This is a feature of most annoying that one should be able to disable if not needed. I use windows xp family and have the latest desktop version of FF, but I don't think that they are the problem. Thank you very much.
This isn't a core feature of Firefox (AFAIK) - looks like an extension you have installed is that fact.
Please send the contents of the extensions section of about: support
-
Is there a way to check the status of the battery on an iPad 4gen?
Is there a way to check the status of the battery on my iPad 4gen?
Make a booking Genius Bar at your local Apple store and they can run a free diagnostic on the iPad that will determine the State of the battery.
You will need for your Apple ID to make the reservation:
-
Checking the status of the main sequence in reminder PostUUT
I'm checking the State of the main sequence in the PostUUT callback, running TS 2014 SP1.
Say, the main sequence generates an error. PostUUT I check and get the followingParameters.Result.Status "error".
Parameters.Result.Error.CodeParameters.Result.Error.Msg
Parameters.Result.Error.Occurred False
Parameters.Result.Error.Occurred should not be set to True? If this isn't the case, please explain why.
Thank you.
In the process model of the step that calls the MainSequence reminder is set to ignore errors. It is for the rest of your group of main step can run. That is why we only sets result false but retains all the error information.
If it were me, I would trigger on the State channel.
Hope this helps,
Maybe you are looking for
-
ITunes, create playlists in doubles when syncing with iPod
iTunes has started to create playlists duplicates when I sync with my iPod Touch 5th generation and does not sync songs to the iPod. What can I do on this issue. I tried to reset the iPod, but this does not seem to make a difference. I'm absolutely s
-
Hi, I tried to record my modem/router, since I bought it but my S/N keep rejected as incorrect. I also tried through one of the Linksys online support and they do not have too. What is the problem please? Gambas
-
HP 15-d107tx: I need bluetooth driver for my computer hp laptop 15-d107tx
I need bluetooth driver for my laptop running windows 8 pro (64-bit)
-
regarding the cleaning of the windows registry
Hello Is it safe to clean windows registry using my software (Norton). Second thing! After cleaning the registry, if I want to uninstall a program that will be easy or normal? could you please let me know what anti-virus (paid version) is good with w
-
Creation of .htcaccess for the first time
I want to create a .htaccess file. The main reason I do it is to prevent the .html and .php appear in the url bar. Even though I have read several articles on how to write a .htaccess file, I have a few questions.FYI: My site is about graphic design