Link the data between 2 blocks!!!
Oracle Gurus,
I have a control Text item, which gets value from an LOV in Block 1. when I select a value, in another block the corresponding records in the table a has to be populated. how can I achieve this.
Also How can I handle this if the control item is a list item? I mean How I see the values, when I click the list item at run time. and also how this selection will populate the Block 2?
This may be basic, but I am new to forms.
Please let me know.
Thanks,
Message was edited by:
Forms
Hi....
After selecting the item in the list box
GO_BLOCK(BLOCK_TO_POPULATE);
EXECUTE_QUERY;
In Pre-Query of BLOCK_TO_POPULATE
:BLOCK_TO_POPULATE.item=value_of_list_item;
Hope it helps..
Benj
Similar Messages
-
How to sync the data between the two iSCSI target server
Hi experts:
I have double HP dl380g8 server, i plan to install the server 2012r2 iSCSI target as storage, i know the iSCSI storage can setup as high ability too, but after some research i doesn't find out how to sync the data between the two iSCSI target server, can
any body help me?
ThanksHi experts:
I have double HP dl380g8 server, i plan to install the server 2012r2 iSCSI target as storage, i know the iSCSI storage can setup as high ability too, but after some research i doesn't find out how to sync the data between the two iSCSI target server, can
any body help me?
Thanks
There are basically three ways to go:
1) Get compatible software. Microsoft iSCSI target cannot do what you want out-of-box but good news third-party software (there are even free versions with a set of limitations) can do what you want. See:
StarWind Virtual SAN [VSAN]
http://www.starwindsoftware.com/native-san-for-hyper-v-free-edition
DataCore SANxxx
http://datacore.com/products/SANsymphony-V.aspx
SteelEye DataKeeper
http://us.sios.com/what-we-do/windows/
All of them do basically the same: mirror set of LUs between Windows hosts to emulate a high performance and fault tolerant virtual SAN. All of them do this in active-active mode (all nodes handle I/O) and at least StarWind and DataCore have sophisticated
distributed cache implementations (RAM and flash).
2) Get incompatible software (MSFT iSCSI target) and run it in generic Windows cluster. That would require you to have CSV so physical shared storage (FC or SAS, iSCSI obviously has zero sense as you can feed THAT iSCSI target directly to your block storage
consumers). This is doable and is supported by MSFS but has numerous drawbacks. First of all it's SLOW as a) MSFT target does no caching and even does not use file system cache (at all, VHDX it uses as a containers are opened and I/O-ed in a "pass-thru" mode)
b) it's only active-passive (one node will handle I/O @ a time with other one just doing nothing in standby mode) and c) long I/O route (iSCSI initiator -> MSFT iSCSI target -> clustered block back end). For reference see:
Configuring iSCSI Storage for High Availability
http://technet.microsoft.com/en-us/library/gg232621(v=ws.10).aspx
MSFT iSCSI Target Cluster
http://techontip.wordpress.com/2011/05/03/microsoft-iscsi-target-cluster-building-walkthrough/
3) Re-think what you do. Except iSCSI target from MSFT you can use newer technologies like SoFS (obviously faster but requires a set of a dedicated servers) or just a shared VHDX if you have a fault tolerant SAS or FC back end and want to spawn a guest VM
cluster. See:
Scale-Out File Servers
http://technet.microsoft.com/en-us/library/hh831349.aspx
Deploy a Guest Cluster Using a Shared Virtual Hard Disk
http://technet.microsoft.com/en-us/library/dn265980.aspx
With Windows Server 2012 R2 release virtual FC and clustered MSFT target are both really deprecated features as shared VHDX is both faster and easier to setup and use if you have FC or SAS block back end and need to have guest VM cluster.
Hope this helped a bit :)
StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts. -
How can I get extract the data between two cursors on an XY graph
How can I get extract the data between two cursors on an XY graph
Well, you say xy graph, so this might be a more complicated problem.
For a waveform graph it's trivial. Simply get the two cursor indices (property: cursor index) and apply them to array subset of the data. Is that all you need?
Here's how the above code would look like. using cursor.index instead of cursor.x elimnates the need to include scaling information.
For an xy graph, there could be multiple segments (e.g. imagine a spiral that passes the desired x range multiple times from both sides). This would neeed significantly more code for a general solution.
Message Edited by altenbach on 11-24-2009 07:53 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
cursorsubset.png 17 KB -
Verify the data between SAP R/3 and SAP BW
Hi Experts,
How to verify the data between SAP R/3 and SAP BW at the time of data mismatches in reports.
give me the proper solution.
Thanks,
SyamHello,
You must know what is the infoprovider source of the data shown in the report.
Once you know it, check the content filtering by same restrictions as in the mismatch report. Now you have the data in BW.
Then you have to know the proper transation or table in R/3, from where the extractor retrieves the data to populate the infoprovider; make same restrictions and compare it with data in BW.
Regards -
Query the data between two tables
Need help for query the data between two tables
Table 1: Time sheet
P.ID P.Name EmpID HoursSpend DateTime
c12234 Test 25 4 06/12/2013
c12234 Test 25 7 06/13/2013
c12234 Test 25 8 06/15/2013
c12234 Test 5 3 06/21/2013
c12234 Test 2 5 07/15/2013
c12234 Test 25 4 07/21/2013
Table 2: cost table
EmpID FromDate ToDate Rate
25 05/01/2013 06/30/2013 250
2 04/01/2013 05/31/2013 150
25 07/01/2013 09/30/2013 300
Output
P.ID P.Name EmpID HoursSpend DateTime Rate Total (HoursSond x Rate)
c12234 Test 25 4 06/12/2013 250 1000 (4*250)
c12234 Test 25 7 06/13/2013 250 1750
c12234 Test 25 8 06/15/2013 250
2000
c12234 Test 25 4 07/21/2013 300
1200
c12234 Test 2 5 07/15/2013 150
750
===========================================
Total 28
6700
============================================
Here EmpID =2 don't have rate in the cost table on july month should be pick from last entry from cost table.Hi Gopal,
According to your description, it seems that the output needn’t include the row when EmpID=2. Because the DateTime for it in Table1 doesn’t included between FromDate column and ToDate column. After testing the issue in my environment, we can refer to the
query like below to achieve your requirement:
SELECT time.*,cost.EmpID,cost.Rate,(time.HoursSpend * cost.Rate)as [Total (HoursSond x Rate)]
FROM [Time sheet] as time
INNER JOIN
[cost table]as cost
ON time.EmpID = cost.EmpID
AND time.DateTime BETWEEN cost.FromDate AND cost.ToDate
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
SQL - Can u print all the dates between two given dates (Without PL/SQL)
Hi Friends,
I want to know if u can print all the dates between two given dates without using pl/sql.
date1,date2 are given
write a sql statement to display all the dates lying between those two dates.
An earlier will be appreciated.
Thanks in Advance
Sriram
nullSriram,
Try this....
select to_date('01-JAN-00')+to_number(rownum)
from all_tables
where rownum < to_date('10-JAN-00')-to_date('01-JAN-00')
TO_DATE('
02-JAN-00
03-JAN-00
04-JAN-00
05-JAN-00
06-JAN-00
07-JAN-00
08-JAN-00
09-JAN-00 -
Select all the dates between two txt fields. how?
In a 6i form cursor I need to select all the dates between two provided dates. I have two text fields FLD1 and FLd2 with date datatype. There is no table behind both the fields.
For example
:FLD1:='01-MAR-2013';
:FLD2:='10-MAR-2013';
Now I have to select all the dates from 01-mar-2013 to '10-mar-2013'. how to do it?Gul wrote:
In a 6i form cursor I need to select all the dates between two provided dates. I have two text fields FLD1 and FLd2 with date datatype. There is no table behind both the fields.
For example
:FLD1:='01-MAR-2013';
:FLD2:='10-MAR-2013';
Now I have to select all the dates from 01-mar-2013 to '10-mar-2013'. how to do it?As'salamualikum Gul
Try this
SELECT TO_DATE('01-MAR-2013', 'DD-MON-RRRR') - 1 + rownum AS d
FROM ALL_OBJECTS
WHERE TO_DATE('01-MAR-2013', 'DD-MON-RRRR') - 1 + rownum BETWEEN TO_DATE('01-MAR-2013', 'DD-MON-RRRR') AND TO_DATE('10-MAR-2013', 'DD-MON-RRRR')Hope this helps -
How to share the data between two or more frames
How to share the data between two or more frames based on the database relationship in JDeveloper?
You can pass data between frames by passing it as parameters.
That is when you are invoking another frame, pass your data as arguments through the constructor to that frame .
You can also achieve this through static or public methods, but static variables as we know is not suggested which might occupy more memory space.
Regards,
Srinivasan AShwath
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
How to share the data between two or more frames based on the database relationship in JDeveloper? <HR></BLOCKQUOTE>
null -
Link the data in excel to dreamweaver
I don't know how to link the data in the cell of the
excel(2003); isn't the excel file. It's just the data in the cell
or coulmn.
I want to expess the data in the web page.
I think the solution about it, so I tried the function of
publish in excel , and I success to publishing the page.
but it have the problem. The data was just refreshed. For the
refresh, opened the page have to refresh.
It's difficult to me, so could give me the advice about
it...My thoughts are
To me (IMHO) your problem is
- excel spreadsheet is not on webserver
- database is a better repository for
storing/updating/displaying data
If people need the data in a spreadsheet from time to time,
the data
(from database) could be formatted in a query and exported to
a local
machine where a csv file could be imported into Excel. -
Intervals, synchronize the data between two oracle tables located in diffe
Hi Experts,
Is there any way I can, at set intervals, synchronize the data between two oracle tables located in different servers? What is the software, if there is any? If there are steps I can follow, so much the better.
Thanks!I'm not sure what you want to achieve here...
I want to synchronize both the Servers , so that it can update HO servers as well as Factory Server with the complete data. Could you please elaborate a little bit more; basing on your description I could also tell you how to setup timesync for those two servers if I understand "complete data" as the current date and time...
Also a lot of solutions are platform and version specific so it would help if you could indicate OS and Database Versions (4 digit).
And I still fail to see what this has to do with forms. You might want to post your question to the Database General forum: General Database Discussions
cheers -
How to Swap the Data between 2 characteristics using FOX Code
Dear All,
We have a requirement to swap the data between 2 characteristics. I tried to get the data from one characteristics using BPS variable VARV() and another characteristic need to get from craters data. But using OBJV() function it is not working for that.
If i try to swap the data between characteristics directly, they are not allowing. It says Type is not same, though it is same type as per properties wise.
Could anybody let me know is it possible to change the characteristics data between characteristics by moving between each other in FOX Formulas. General case it is possible to change the data between same chars.
Thanking you in advance.
Kind Regards,
Ram.
Edited by: RamFound the answer
⌘` the key above the tab. -
Syncronization the data between tow tables
hii
i have two database database 1 and database 2 the both database have table citizen(citizen_ssn, citizen_name ) with the same structure
ok ,
and i create database link from database 1 to database 2 (link name : link1 )
and i create another link fro database 2 to database 1 (link name :link2 )
i want to synchronize data between the two tables
in other word i want when new record add to database1 go to database2 and check if that recrod exist(use citizen_ssn) or not if it exist then add the record only in database1
if not add the record in database1 and database2,
and if there is record inserted in database 2 i will go to database1 and check if it exist if it exist add the record in database2 if not add it in database1 and database2
can i do that in real time or not .
thank you ..........i think it will be the same senario
after insert in database 1 go to database 2 and then the befor insert trigger will fire
and check if the citizenssn is in the table or not
if not then insert the record
and the trigger in database 2 after insert will fire and go to batabase 1 to insert the same record and in database 1 the befor insert trigger will fire and so on
the same infinity loop
????????????????????????????????????????????? -
How to get the dates between Two dates excluding Saturaday and Sunday
Dear All,
select to_date('25-04-2012', 'DD-MM-YYYY') + rownum -1 dt
from dual
connect by level <= to_date('05-05-2012', 'DD-MM-YYYY') - to_date('25-04-2012', 'DD-MM-YYYY') + 1;The above query returning the following output,
DT
DT
04/25/2012
04/26/2012
04/27/2012
04/28/2012
04/29/2012
04/30/2012
05/01/2012
05/02/2012
05/03/2012
05/04/2012
05/05/2012here I need to exclude the Dates which comes on 'saturday' and 'sunday' and also the common holiday
Here it is '01-May-2012' and I need the output like the following,
04/25/2012
04/26/2012
04/27/2012
04/30/2012
05/02/2012
05/03/2012
05/04/2012I need the common query to calculate between any two dates.
Can anyone suggest me?
Thank you,
Regsrds,
gurujothiHi Frank,
Sorry for my fault,
The following is my table description,
CREATE TABLE "DATES"
( "FROMDATE" DATE,
"TODATE" DATE,
"LEAVE_ID" Number(5)
Insert into dates values('05-02-2012','05-05-2012',1);
Create table holiday_dates(holidays date);
insert into holiday_dates values('01-05-2012');Now when I used this query,
select count(*) from (select dt
from(
select to_date(fromdate, 'DD-MM-YYYY') + rownum -1 dt
from dates
connect by level <= to_date(todate, 'DD-MM-YYYY') - to_date(fromdate, 'DD-MM-YYYY') + 1
where to_char(dt,'fmday') not in ('sunday','saturday') minus (select holidays from holiday_dates)) dual;
Count(*)
64
Insert into dates values('01/05/2012','05/05/2012',2);
/Now my table has 2 rows,
select * from dates;
FROMDATE TODATE LEAVE_ID
01/05/2012 05/05/2012 1
05/02/2012 05/05/2012 2Now when I used this query,
select count(*) from (select dt
from(
select to_date(fromdate, 'DD-MM-YYYY') + rownum -1 dt
from dates
connect by level <= to_date(todate, 'DD-MM-YYYY') - to_date(fromdate, 'DD-MM-YYYY') + 1
where to_char(dt,'fmday') not in ('sunday','saturday') minus (select holidays from holiday_dates)) dual;The output is ,
COUNT(*)
1987How to get the output using the max(leave_id) like the following,
select..........from... where leave_id=(select max(leave_id) from dates);where to add "WHERE" clause in the above query?
Thank you,
Regards,
Gurujothi.
Edited by: Gurujothi on May 3, 2012 8:43 PM
Edited by: Gurujothi on May 3, 2012 8:44 PM -
To get the dates between a month
Hi,
i'm working in forms 6i and database 10g.
i have a table named attendance which contains only the dates on which the employees are present.
i need the dates on which the employees are absent when i give the date range.
So how will I get the other days in a month if I give the start and end date of a month.
I think u understood what I mean.
Pls help..Rereading your post my guess is you're after something like below
NOT TESTED ! I don't have database access
select employee,the_date absent
from (select x.employee,x.the_date,a.present_on
from (select a.employee,md.the_date
from (select to_date(:yyyymm,'yyyymm') + level - 1 the_day
from dual
connect by level <= to_number(to_char(last_day(to_date(:yyyymm,'yyyymm')),'dd'))
) md, /* generating dates for a year_month given */
(select distinct employee
from attendance
) a /* retrieving all employees */
) x, /* cartesian join between employees and days in a month */
attendance a
where x.employee = a.employee(+)
and x.the_date = a.present_on(+)
where present_on is nullRegards
Etbin -
How to get list of all the dates between two dates
Hi, Can anybody please help me ..
I have two dates in string format ("dd/MM/yyyy).I need to get all the dates in between these two dates.How can I do thin in java
Thanks in advanceLook at classes Calendar and SimpleDateFormat.
And get your abstraction straight: you don't have two dates. You have two Strings that represent a date. To use them, you have to convert them to Date objects first with SDF.
Maybe you are looking for
-
How do I correct a spelling mistake in the set up of my email account?
We made a typo when putting our names into our new btinternet account. Can't figure out how to change it.
-
Port information in weblogic server
Hi, We have Fusion 11g with Weblogic server installed on solaris machine, wanted to know how to check the port information as on which port it is configured. We have B2B, Weblogic, SOA etc installed on machine. Is there any file where I can check the
-
Hi, I am not able run a form in 10g. I started OC4J instance and try to run the form. immediately browser is opening, I can see a text (oracle forms) on the browser. Then I see a dialog box saying internet explorer stopped working. can any one please
-
Using flash debugger player with Flex application
I am building my first Flex app and have run into a problem that I can't figure out. When publishing a .swf in Flash I sometimes run the debugger to generate the swf. When I do so, I can view the swf through my browser (using the debugger version o
-
Hello! I have a MacBook and a XCode installed ( latest version from App World for Mac ), but when I write a programm and click "Run", I have an empty window without the text. What's the problem. I tried more code examples.