RMS -- Getting the RecordId of the Current Record
Hello, I need to get the current record Id from recordStore so I can update a count field. Here is the code that updates the count field.
// member vars to hold RMS stuff
private RecordStore rs;
private RecordEnumeration re;
private ByteArrayOutputStream os;
// Constructor allocates RMS vars
public Ctor ( String sRmsFilename ) throws Exception {
rs = RecordStore.openRecordStore ( sRmsFilename, false );
re = rs.enumerateRecords ( null, null, true );
re.keepUpdated ( true );
os = new ByteArrayOutputStream ();
////// METHOD REQUIRING CURRENT RECORD ID
private void updateDBCount ( int count ) throws Exception {
DataOutputStream dos = new DataOutputStream ( os ) ;
dos.writeInt ( count );
*int currentRecordId = {color:#008080}getCurrentRecordId {color}();*
byte[] b = os.toByteArray ();
os.reset ();
rs.setRecord ( currentRecordId, b, 0, b.length );
This is the code that I use to retrieve the recordId of the current record;
////////// CODE TO RETRIEVE CURENT RECORD ID
private int getCurrentRecordId () throws Exception {
*if ( re.{color:#0000ff}hasPreviousElement{color} () ) {*
*re.{color:#0000ff}previousRecordId{color} ();*
*return re.{color:#0000ff}nextRecordId{color} ();*
*else {*
*re.{color:#0000ff}nextRecordId{color} ();*
*return re.{color:#0000ff}previousRecordId{color} ();*
This is how getCurrentRecordId () is suppose to work, using RecordEnumeration. If there is a previous record then advance backwards to previous record. Now advance forward to next record and this should been the current record Id and so it is return. However, if there is no previous record then advance forward to next record. Now advanced backward to previous record and this should been the current record Id and so it is return.
Well, does anyone see a problem with this code? If so please let me know and, of course, as always any suggestions are very welcome!
Note: The reason I chose to use RecordEnumeration.nextRecordId () / previousRecordId () methods is because I figured it is run fast and less resources would be consumed than if actual records were retrieved using RecordEnumeration.nextRecord () / previousRecord ()methods.
Thanks!
{color:#000080}I see a problem if the RecordStore has no records, or only one record. This is what I might do (untested)private int getCurrentRecordId () throws Exception
if ( re.numRecords() == 0 )
// maybe you want to add a record
// or maybe throw a new Exception
// or just return -1 or 0 and
// let the calling routine handle that
return -1;
} else if ( re.numRecords() ==1 )
return 1;
} else if ( re.hasPreviousElement () )
re.previousRecordId ();
return re.nextRecordId ();
} else
re.nextRecordId ();
return re.previousRecordId ();
}Regarding running fast, the documentation for javax.microedition.rms.RecordEnumeration says{color}
keepUpdated - if true, the enumerator will keep its enumeration current with any changes in the records of the record store. Use with caution as there are possible performance consequences.{color:#000080}
Actually, since you do not have a filter or comparator, it would probably be more efficient to keep track of the current record with a int instance field. But that's your choice.
Cheers, Darryl{color}
Similar Messages
-
Get three previous records of the current record
Hi,
I need to get three previous records of the current record in an Oracle Form
Sorry for the lengthy explanation:
I have a table name: ARCHIVE_DATA with column name: coll_time and its data type DATE.
SQL> SELECT COLL_TIME FROM ARCHIVE_DATA;
COLL_TIME
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
10 rows selected.
SQL> select to_char(coll_time,'dd-mon-yyyy:HH:MI:SS') from ARCHIVE_DATA;
TO_CHAR(COLL_TIME)
12-aug-2005:02:42:00
12-aug-2005:02:43:00
12-aug-2005:02:44:00
12-aug-2005:02:45:00
12-aug-2005:02:46:00
12-aug-2005:02:47:00
12-aug-2005:02:48:00
12-aug-2005:02:49:00
12-aug-2005:02:50:00
12-aug-2005:02:51:00
10 rows selected.
This is the Requirement:
In a Form's Block(BLK1), for example: the current_record is the fifth record from the top
(i.e. 12-aug-2005:02:46:00)
When the fifth record is the current_record and When I click a button, three previous records of the
current_record should be populated on the screen.
See what I did:
I created another table same as the first table(ARCHIVE_DATA) and its name is: THREE_RECS.
I am inserting three records from the first table(ARCHIVE_DATA) into the second table: THREE_RECS
which are less than the current record and ORDER BY DESC.
CANVAS:
Two blocks (BLK1, BLK2) based on ARCHIVE_DATA and THREE_RECS are on the same CANVAS.
But the first block (BLK1) which is based on the first table:ARCHIVE_DATA is populated with one record and the
second block (BLK2) is empty.
So when I click a particular button (ex: prev_recs), the second block(BLK2) should be populated with
three previous records of the current record( :BLK1.COLL_TIME)
(off course :BLK2 populates with one record and use arrows or scrollbar to get the other two records)
This is the code I wrote in the trigger and followed by the error:
1 BEGIN
2 DECLARE
3 cursor c1 IS
4 SELECT MONITOR_ID,
5 SAMPLE_ID,
6 COLL_TIME,
7 DEW_POINT
8 FROM ARCHIVE_DATA;
9 cursor c2(passing_date IN date) IS
10 SELECT MONITOR_ID,
11 SAMPLE_ID,
12 COLL_TIME,
13 DEW_POINT
14 FROM (SELECT MONITOR_ID,
15 SAMPLE_ID,
16 COLL_TIME,
17 DEW_POINT
18 FROM ARCHIVE_DATA
19 ORDER BY COLL_TIME desc)
20 WHERE COLL_TIME < passing_date;
21 BEGIN
22 FOR cur_rec in c1
23 LOOP
24 IF (cur_rec.COLL_TIME = to_date(:BLK.COLL_TIME,'dd-mon-yyyy:HH24:mi:ss')) then
25 FOR second_cur_rec in c2(second_cur_rec.COLL_TIME)
26 LOOP
27 IF c2%rowcount < 4 then
28 BEGIN
29 INSERT INTO THREE_RECS
30 values(second_cur_rec.MONITOR_ID,
31 second_cur_rec.SAMPLE_ID,
32 second_cur_rec.COLL_TIME,
33 second_cur_rec.DEW_POINT);
34 COMMIT;
35 END IF;
36 END LOOP;
37 END IF;
38 END LOOP;
39 END;
40 END;
This is the error I am getting:
Error 103 at line 14
Encountered the symbol "(" when expecting one of the following
a PL/SQL variable or double quoted string
an expanded name
an expanded name link
a table reference __expression
a key word
Resuming parse at line 126, column 46
Thanks in advanceWhy not just a simple select that doesn't involve a second table and PL/SQL?
sql>select * from t1 order by dt;
DT
08/12/2005 02:42:00am
08/12/2005 02:43:00am
08/12/2005 02:44:00am
08/12/2005 02:45:00am
08/12/2005 02:46:00am
08/12/2005 02:47:00am
08/12/2005 02:48:00am
08/12/2005 02:49:00am
08/12/2005 02:50:00am
08/12/2005 02:51:00am
10 rows selected.
sql>select dt
2 from (select dt, row_number() over (order by dt desc) rn
3 from t1
4 where dt < to_date('12-aug-2005:02:46:00', 'dd-mon-yyyy:hh:mi:ss'))
5 where rn <= 3
6 order by dt;
DT
08/12/2005 02:43:00am
08/12/2005 02:44:00am
08/12/2005 02:45:00am
3 rows selected.If the use of an analytical function (row_number()) is a problem with Forms, then the query can also be done as:
sql>select dt
2 from (select dt
3 from (select dt
4 from t1
5 where dt < to_date('12-aug-2005:02:46:00', 'dd-mon-yyyy:hh:mi:ss')
6 order by dt desc)
7 where rownum <= 3)
8 order by dt;
DT
08/12/2005 02:43:00am
08/12/2005 02:44:00am
08/12/2005 02:45:00am
3 rows selected. -
Get three previous records of the current record in an Oracle Form
Hi,
I need to get three previous records of the current record in an Oracle Form
Sorry for the lengthy explanation:
I have a table name: ARCHIVE_DATA with column name: coll_time and its data type DATE.
SQL> SELECT COLL_TIME FROM ARCHIVE_DATA;
COLL_TIME
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
12-AUG-05
10 rows selected.
SQL> select to_char(coll_time,'dd-mon-yyyy:HH:MI:SS') from ARCHIVE_DATA;
TO_CHAR(COLL_TIME)
12-aug-2005:02:42:00
12-aug-2005:02:43:00
12-aug-2005:02:44:00
12-aug-2005:02:45:00
12-aug-2005:02:46:00
12-aug-2005:02:47:00
12-aug-2005:02:48:00
12-aug-2005:02:49:00
12-aug-2005:02:50:00
12-aug-2005:02:51:00
10 rows selected.
This is the Requirement:
In a Form's Block(BLK1), for example: the current_record is the fifth record from the top
(i.e. 12-aug-2005:02:46:00)
When the fifth record is the current_record and When I click a button, three previous records of the
current_record should be populated on the screen.
See what I did:
I created another table same as the first table(ARCHIVE_DATA) and its name is: THREE_RECS.
I am inserting three records from the first table(ARCHIVE_DATA) into the second table: THREE_RECS
which are less than the current record and ORDER BY DESC.
CANVAS:
Two blocks (BLK1, BLK2) based on ARCHIVE_DATA and THREE_RECS are on the same CANVAS.
But the first block (BLK1) which is based on the first table:ARCHIVE_DATA is populated with one record and the
second block (BLK2) is empty.
So when I click a particular button (ex: prev_recs), the second block(BLK2) should be populated with
three previous records of the current record( :BLK1.COLL_TIME)
(off course :BLK2 populates with one record and use arrows or scrollbar to get the other two records)
This is the code I wrote in the trigger and followed by the error:
1 BEGIN
2 DECLARE
3 cursor c1 IS
4 SELECT MONITOR_ID,
5 SAMPLE_ID,
6 COLL_TIME,
7 DEW_POINT
8 FROM ARCHIVE_DATA;
9 cursor c2(passing_date IN date) IS
10 SELECT MONITOR_ID,
11 SAMPLE_ID,
12 COLL_TIME,
13 DEW_POINT
14 FROM (SELECT MONITOR_ID,
15 SAMPLE_ID,
16 COLL_TIME,
17 DEW_POINT
18 FROM ARCHIVE_DATA
19 ORDER BY COLL_TIME desc)
20 WHERE COLL_TIME < passing_date;
21 BEGIN
22 FOR cur_rec in c1
23 LOOP
24 IF (cur_rec.COLL_TIME = to_date(:BLK.COLL_TIME,'dd-mon-yyyy:HH24:mi:ss')) then
25 FOR second_cur_rec in c2(second_cur_rec.COLL_TIME)
26 LOOP
27 IF c2%rowcount < 4 then
28 BEGIN
29 INSERT INTO THREE_RECS
30 values(second_cur_rec.MONITOR_ID,
31 second_cur_rec.SAMPLE_ID,
32 second_cur_rec.COLL_TIME,
33 second_cur_rec.DEW_POINT);
34 COMMIT;
35 END IF;
36 END LOOP;
37 END IF;
38 END LOOP;
39 END;
40 END;
This is the error I am getting:
Error 103 at line 14
Encountered the symbol "(" when expecting one of the following
a PL/SQL variable or double quoted string
an expanded name
an expanded name link
a table reference __expression
a key word
Resuming parse at line 126, column 46
Thanks in advanceChange C2 to:
cursor c2(passing_date IN date) IS
SELECT MONITOR_ID, SAMPLE_ID,
COLL_TIME, DEW_POINT
FROM ARCHIVE_DATA
WHERE COLL_TIME < passing_date
ORDER BY COLL_TIME desc;And rather than populating a table with the three records, you could just select the three records using: where COLL_TIME between Prev3_time and Prev1_time -
How to get the previous record value in the current record plz help me...
In my sql how to get the previous record value...
in table i m having the field called Date i want find the difference b/w 2nd record date value with first record date... plz any one help me to know this i m waiting for ur reply....
Thanx in Advance
with regards
kotreshFirst of this not hte mysql or database forum so don;t repeate again.
to get diff between two date in mysql use date_format() to convert them to date if they r not date type
then use - (minus)to get diff. -
How to Get the Current Workitem id at runtime
Hi All,
I have a scenario, where request pending with a user who has already resigned the organization. The requirement is that we need to provide a report
of the request and with whom it is pending with along with the workitem id with a forward push button.
So that if the user identifies that a request is pending with someone he can click the record and press for the forward button and a pop-up to be showed where he can enter the userid to whom he needs to forward it.
In this scenario can anyone tell me how to get the current workitem id at run time and to save it to a custom table.
I tried with method before workitem execution, but here i am not getting the current workitem id.
Can you please suggest a good solution for this.
Thanks and Regards,
BalajiKarri,
I think i can explain you with an example.
Here is my Scenario.
A user has raised a Gate pass and it went to all approval's and got approved and the material is also sent out from the plant. Lets take the date as 1.1.2013 (A Warehouse person have done the checking and sent out of the plant).
On 1.3.2013 some of the material has been returned and a material inward request has been raised and now the warehouse person has to do a inward checking and to sent it back for the initiator for the approval, but the warehouse person has resigned the organization on 1.2.2013, now the workitem is pending with the warehouse person who has already resigned.
My scenario is once the material inward request is created and before the workitem is delivered to the warehouse person i need to get the workitem id and to store the workitem some where.
So that in future if any warehouse dept head wants to forward the workitem which are lying in the person inbox who has already resigned he can do it via a report using this workitem id.
So, can anyone help how to get the dialog workitem id before the workitem creation or execution. I tried with "method before workitem execution" but my break point is not triggering at this point.
Thanks and Regards,
Balaji -
How to Highlight the CURRENT RECORD in a Table with Report Form
Hi,
I have created a Table with Report Form....let suppose the table is - EMP
Report page - 1
Form page - 2
Now, when I do Create / Update on Page 2,....the control is back on Page1.
Suppose in the Report Page (Page1)..we have 10 records....NOW how should I highlight the CURRENT RECORD in Page 1 with some color to identify the record which I have updated/created just now...
Thanks,
DeepakHi Deepak,
You could do that with a custom report template. I've done that here: [http://apex.oracle.com/pls/otn/f?p=267:175]
Go to Shared Components, Templates and create a new Report template as a copy of your existing one. Then edit your template. In the above example, the Column Template 1 setting was:
<td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data">#COLUMN_VALUE#</td>I copied this into the Column Template 2 setting and updated the Column Template 1 setting to:
<td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data" style="background-color:red; color:yellow;">#COLUMN_VALUE#</td>I then set the Column Template 1 Condition to: Use Based on PL/SQL Expression
and the Column Template 1 Expression to: '#EMPNO#' = '&P178_EMPNO.'
(In my example, P178_EMPNO is the single item on the linked to page.
Save those changes and go to your report and change its template to the new one. As long as a selection has been made and P178_EMPNO has a value, the condition will make sure that the report uses the first template for the row with the matching EMPNO value. All other rows get the template from Column Template 2.
Andy -
Getting the current row in a datatable
Hi,
I am using datatable. How do I get the current row in the datatable
and use it for my processing in the JSP page
or I want to just output that value with out using any jsf tags.
Examples
<h:dataTable styleClass="dataTable" id="table1" border="0" value="#{myTrainingHandler.myMediaTraining}" var="dataIt">
<h:column id="column1">
<f:facet name="header">
<h:outputText styleClass="outputText" value="Course Name"id="text1"></h:outputText>
</f:facet>
<!---------------------------------------------- how do I get the value of #{dataIt.name} and use it in the JSP way
Reason: I just want to output the value. If I am using h:outputText then it inserts <span>... </span>
or, I want to transfer that value to another another attribute in the session or something like that.
---------------------!>
<h:outputText styleClass="outputText" id="text2" value="#{dataIt.name}"></h:outputText>
</h:column>
</h:dataTable>
-AswathIt looks like good idea!Unfortunately this is just workaround. Indeed your
suggestion is real JSF-feeling solution but due to the
bug (or rather pure design of RI implementation???) it
is dangerous.
I had some doubt about is it bug or my incompetence.
Unfortunately this seems is really bug.
Hope this problem will be solved in the next releases.from blueprints catalog:
Component bindings (e.g. <h:inputText binding="#{MyBean.lastNameComponent}" />) should always be stored in request scope since their value is no longer valid after a request has been processed anyway. The component tree is reconstituted during each incoming request, changing the physical instances these component bindings will point to.
as you see there is really problem in using session backing bean with component binding
so that means idea with parameter looks better now because we don't need to use table binding.
Or probably we can define some kind of pattern like couple of beans with request scope and session scope.
for example:
Catalog - session scope
CatalogView - request scope
Catalog will keep session data and CatalogView will provide some presentation logic (including some stricly visual oriented data) and access to business methods of Catalog class.
I will send you example by e-mail (on friday) if you not mind.
>
Thank you for your suggestion!
Probably I will use your idea in my application.
By the way I'm from Kiev also.Hello from Kiev :-)
I have one suggestion.
I'm working on JSF form that suppose to add, editand
delete records from table.
Also I wanna to use scrolling by page and sorting.
I'm trying to make this form somehow clean and
universal as much as possible.Seems I have same tasks for now.Great! I will send some code soon.
And maybe we can discuss every aspect how to do good JSF based application including config oriented information and utilities classes.
-how do you work with tables without primary keyI dont' have tables without primary key :)
-how do you make pagination by universal wayWe need just make good component for that.
We already started in this direction. -
How to get the current filename and & or path
How can I get the current path or filename?
I didn't really find any answers in the net. this.path or app.path were suggested but I couldn't get it to work.
Thanks in advance for your answer!
Livecycle Designer ES 8.2.1.3144.1.471865Hi,
event.target.path.toString(); will give the full path including the filename.
event.target.documentFileName.toString(); will give the filename only.
Good luck,
Niall -
How to get the current path of my application in java ?
how to get the current path of my application in java ?
thanksTo get the path where your application has been installed you have to do the following:
have a class called "what_ever" in the folder.
then you do a litte:
String path=
what_ever.class.getRessource("what_ever.class").toString()
That get you a string like:
file:/C:/Program Files/Cool_program/what_ever.class
Then you process the result a little to remove anything you don't want:
path=path.substring(path.indexOf('/')+1),path.lastIndexOf('/'))
//Might be a little error here but you should find out //quickly if it's the case
And here you go, you have a nice
C:/Program Files/Cool_program
which is the path to your application.
Hooray -
How to get the last record from the database
I am using MS Access database and Swings as GUI. I want to get the last record of a particular column from the table and store it as a varaible.
Hi
To get Last record of resultset, you have pass some parameter in constructor of CreateStatement.In such case Resultset should be scrollable and Readonly
Example
objStatement=objCon.createStatement ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
mwwResultSet=cwwStatement.executeQuery(mwwSqlQuery);
while(mwwResultSet.next())
if(mwwResultSet.isLast())
//Fetch the required column record.
String abc=mwwResultSet.getString(1);
I think this will work. Try it.
bye -
How to get the last record of an internall table ....
Hi All..
i want to get the last record of an internal table itab, and i want the the value of the last record.Hi,
Use describe statment.
data: lv_line type i.
Describe table itab lines lv_line.
read table itab into wa_itab index lv_line.
regards,
Santosh Thorat -
Oracle 11i release 2 error "Unable to get the current group"
Hi oracle gurus,
I have been trying to install oracle 11g rel 2 on HPUX 11.31 and i am getting the following error
# more installActions2010-01-06_10-27-37AM.log
oracle.install.ivw.db.driver.DBInstaller
-scratchPath
/u01/tmp/OraInstall2010-01-06_10-27-37AM
-sourceLoc
/u01/install/database/install/../stage/products.xml
-sourceType
network
-timestamp
2010-01-06_10-27-37AM
INFO: Loading data from: jar:file:/u01/tmp/OraInstall2010-01-06_10-27-37AM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigComma
ndMappings.xml
INFO: Loading beanstore from jar:file:/u01/tmp/OraInstall2010-01-06_10-27-37AM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigC
ommandMappings.xml
INFO: Restoring class oracle.install.driver.oui.ConfigCmdMappings from jar:file:/u01/tmp/OraInstall2010-01-06_10-27-37AM/ext/jlib/installcommons_1.0.0b.jar!/
oracle/install/driver/oui/resource/ConfigCommandMappings.xml
SEVERE: [FATAL] An internal error occurred within cluster verification framework
Unable to get the current group.
Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:11
INFO: Advice is ABORT
SEVERE: Unconditional Exit
INFO: Adding ExitStatus FAILURE to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -1
INFO: Shutdown Oracle Database 11g Release 2 Installer
$
>>
# more oraInstall2010-01-06_10-27-37AM.err
---# Begin Stacktrace #---------------------------
ID: oracle.install.commons.util.exception.DefaultErrorAdvisor:11
oracle.cluster.verification.VerificationException: An internal error occurred within cluster verification framework
Unable to get the current group
at oracle.cluster.verification.ClusterVerification.<init>(ClusterVerification.java:200)
at oracle.cluster.verification.ClusterVerification.getInstance(ClusterVerification.java:294)
at oracle.install.driver.oui.OUISetupDriver.load(OUISetupDriver.java:407)
at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:161)
at oracle.install.commons.base.driver.common.Installer.run(Installer.java:216)
at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:126)
at oracle.install.commons.util.Application.startup(Application.java:869)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)
---# End Stacktrace #-----------------------------
<<
$ uname -a
HP-UX rx2600 B.11.31 U ia64 <XXXXXXXX> unlimited-user license
# swlist | grep -i oe
HP-Caliper-PERF C.11.31.04 HP Caliper OE Bundle
HP-WDB-DEBUGGER C.11.31.04 HP DEBUGGER OE Bundle
HPUX11i-DC-OE B.11.31.0903 HP-UX Data Center Operating Environment
# swlist | grep -i qpk
QPKBASE B.11.31.0903.334a Base Quality Pack Bundle for HP-UX 11i v3, March 2009
# swlist -l product | grep -i c++
ACXX C.06.20 HP C/aC++ Compiler
C-ANSI-C C.06.20 HP C/aC++ Compiler
PHSS_37501 1.0 aC++ Runtime (IA: A.06.16, PA: A.03.76)
PHSS_39824 1.0 HP C/aC++ Compiler (A.06.23)
i start the installation as oracle and my group and user id is
$ id
uid=109(oracle) gid=102(oinstall) groups=101(dba),104(asmdba)
Please let me know what else do i need, we might have to use the hardware for testing another application so i am limited in terms of time constraints
any help is much appreciated, Thank you!!
Regards,
Dasjith
Edited by: user10247524 on Jan 6, 2010 7:52 AMHi Stig Sundqvist
Where can i find MOS Doc 983713.1 ??You have to login https://support.oracle.com/CSP/ui/flash.html and you have to CSI account. This site is oracle site for tech. documents for can rise SR etc.. for more details please check
What is CSI:
Re: Installing Oracle Database 10.2.0.4
And how do i do to fix this problem ????Login metalink then find upper note and follow document
Hope it helps
Regard
Helios -
How to get the current user name of the host who is occupying a specific VM?
I'm developing a winform app with c# code to manage Hyper-V. I need to remind someone if he/she would take a VM which has already been occupied by others.
Is there any powershell cmd or WMI interface to get the current user of a specific VM?
Thanks!Hiya,
from cmd there are quser(Query user) and qwinsta(Query Session)
which should give you that. Don't know how you can incoorperate that in C#, but that should give you something to work with :)
https://technet.microsoft.com/en-us/library/cc785434.aspx
https://technet.microsoft.com/en-us/library/cc788125.aspx -
my mac is running 10.5.8, I bought a new Nano, itunes is prompting me to get the current itunes, but my mac will not take it, states I need 10.6.8. How do I get that? When I run a software update, system says there is none. Help
Click here, check that your computer meets the requirements, buy and install the DVD, and then run Software Update.
(73181) -
How to get the current page URL
HI All
I am working in oracle apps 4.0
I have one page called history in that i have one page item called Application url. My application id is 122 but its a copy of application 106
How to get the current page url for the page item.
Any steps should be help ful
Thanks & Regards
Srikkanth.MI'm not 100% clear on what the requirement is from the description, however it does sound like you are making things unnecessarily complicated.
If you want permanent/ID-independent links then use application and page aliases.
so here we used to display the url like this: <tt>{noformat}http://81.131.254.171:8080/apex/f?p=122{noformat}</tt>
Do you mean that the URL is displayed like that? If so that doesn't seem particularly helpful. How is anyone supposed to know what it is?
There are many ways to provide links in APEX—including lists and nav bars.
Where the link is to another resource located on the same server (such as another page in the same app, or a different app in the workspace), relative addressing can be used, making it unecessary to include scheme, domain and port information in the URL. For example, if the page to be linked to has a page alias <tt>ABOUT</tt> in an application with alias <tt>UNITY</tt>, and the apps share an authentication scheme/cookie to permit shared sessions, then the link URL is simply
f?p=UNITY:ABOUT:&APP_SESSION.
Maybe you are looking for
-
my i tunes radio app crashes every time i click on the regional mexicano station, also, randomly while i am playing on my phone, the screen turns white the apple logo appears and 3-4 seconds later i an taken to the lock screen, what is wrong, is it t
-
ITunes wont install PLEASE help me !
http://gyazo.com/523328c432ab8aad67b47242d88280fb this is the error i recive when trying to install itunes i have tried to disable my firewall on my internet security to install it but that doesnt work can anyone please help
-
Hi, I am facing an issue while loading fresh data into SQL server database. we are able to load data into staging area, but while processing stored procedures system face bellow error message : [823] [HY000] [Microsoft][ODBC SQL Server Driver][SQL Se
-
Can we change offereing from learning under the Content Tab
Dear, We had offered a course and people attended the class, in which some got passed or failed. Now my question is that can we change the offerting name with new one which training has already been done by using updating/Creating Button over there.
-
Whodunnit? (Win7-Explorer + PS CS4-Thumbnails)
When I installed Windows 7, there were no thumbnails in the windows explorer for psd-files. Now - without changing or pimping or installing anything except the regular updates - there are thumbnails!!! It looks just like a birthday present from Adobe