$FLEX$. references - how to get the actual record id as a reference
Hello,
I'm using the DFF with title 'Customer Information' from Receivables, which is on a customer account (hz_cust_accounts table). How do I retrieve the actual row's PK/cust_accounts_id or the account_number being edited on the page?
I tried $FLEX$.ACCOUNT_NUMBER
(since ACCOUNT_NUMBER was defined as a column in the DFF registration),
but this didn't seem to work.
==
Thanks. Gina.
Gina,
Can give us the details of what you are trying to achieve?
It is unclear whether you are using the accout number as a segment in the DFF registered against customer accounts (Why would do that?). Are you trying to capture more information against one customer account number in a DFF?
If you are in the customer account block and usually you get any value in that block with this notation:
:BLOCK.ACCOUNT_NUMBER where block refers the current block you are in.
Is this what you are looking for?
Thanks
Nagamohan
Similar Messages
-
How to get the actual data in ALV report
I am doing some upgradation work in that i am using Submit & And return and also i am using some function modules like LIST FROM MEMORY , LIST TO TXT wnd WRITE LIST , it gives output in normal list format , But i need to print in ALV report .
With the use of set table for 1st display i got the ALV report but not with actual data, (some junk value is showing) , So can any 1 suggest me how to get the actual data in ALV report, With the use of Any Function Module or with Coding,
with regards,Hi Saravana
I am sure you must be getting the values in tables of table parameters from every FM.
consolidate the values from tables of all FMs in one table and built ALV for that table only.
I hope this way you can show the actual data in ALV.
thanks
Lalit -
How to get the actual font name from a font file?
Hi
I have only the font Path I have to get the font name from that path. Any idea how to get the actual font name?
Thanks,I would ask you these questions:
Why do you need to do this? What are you ultimately trying to accomplish?
Are you really asking about the InDesign SDK?
Do you really need to get the "name" of a font from an arbitrary file? Or do you want information about a font installed on the system? If so, what OS?
Do you need to be able to handle any font format?
Which font "name" do you mean?
What language do you want the name in?
(1) It's not clear what you're trying to accomplish. A bit more information about your ultimate goal would be helpful.
(2) This question is not at all specific to the InDesign SDK. Are you really trying to do something in the context of an InDesign plug-in? If so, you probably want to look at IID_IFONTFAMILY and the IFontFamily::GetFamilyName function.
(3) If you are asking more generally, Windows and Mac both have system API calls to get this information, although those tend to deal with installed system fonts, not with arbitrary font files per se.
Also, you can parse the name table from a True Type or Open Type font without using any system APIs; as True Type and Open Type are well-documented standards. I would start by reading these:
The Naming Table
Font Names Table
(4) Although there are other standards, such as Type 1 (PostScript) fonts, and True Type Collection files and other formats, especially on Mac.
(5) Also, when you start down this road, you will quickly realize that your seemingly simple question is actually ambiguous, and that the answer is kind of complicated, because a font can have many names (a family name, a full font name, a style name, a PostScript name, etc.).
(6) And not only does a font have multiple names, it can have each of those names in multiple languages and encodings.
Any clarification would make this a better question. -
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 actual value rather than pixel value in vision assistant
how to get the actual value rather than pixel value by vision assistant in my program.As shown in the figure this is my programme this is the result But i want to get this result
Check the documentation for the "ADF Dialog Framework"
It may help
Atilio -
My iPhone getting stolen,how I get the actual location the full address to find my iPhone way using the apps find my iPhone?
If you set up the Find My iPhone service prior to your iPhone going missing - the app is for tracking a device from another iOS device - then there is a chance that can be tracked, though it depends on a number of factors (the iPhone is turned on, connected to either the 3G or a WiFi network, or has not had the Find My iPhone service disabled or the iPhone been completely restored). Log into icloud.com and go to the Find My iPhone section. If you did not set up Find My iPhone, check with your cell carrier. Some carriers offer their own tracking service, though you usually have to pay for it.
If your carrier does not offer such a service and you did not set up Find My iPhone, then there is no way to track the unit. Contact the police and change any passwords for any online accounts you may have used from your iPhone (the iTunes Store, for instance).
Regards. -
How to get the actual screen size
Hi,
I have to get the actual screen size of the cliend in an applet, if i use method
Dimension dmx = Toolkit.getDefaultToolkit().getScreenSize();
it does not gives the actual screen size, like the screen size will be different if the application bar ( where we have start button on windows ) is Auto hide, and will be different it is not Auto Hide, or some users ike to keep the application bar on right or left of screen or on top..
So how do we get the actual display size of screenHi,
I got how to do if using applet
in screen object of java script we have methods to get the available width and availabe size
screen.availWidth
screen.availHeight
here is the link for more info
http://developer.netscape.com/docs/manuals/js/client/jsref/screen.htm
http://forum.java.sun.com/thread.jsp?thread=275329&forum=57&message=1063410 -
How to get the individual records
Table A
SNO DAY_FROM DAY_TO
1 1 3
Result:
DAY_FROM DAY_TO
1 3
2 3
3 3
Above mentioned Table DAY_TO value is 3 ,
So in that How to get the 3 individual records for above mentioned row.
Thanks in advance.
Edited by: UserK on Sep 11, 2009 8:14 AM1 with t as
2 ( select 1 day_from, 3 day_to from dual)
3 select day_from +level -1 day_from, day_to
4 from t
5* connect by level <= day_to
SQL>
SQL>/
DAY_FROM DAY_TO
1 3
2 3
3 3 -
how to get the record with the max sequence no
table as
seq student mark
1 A 10
2 A 15
1 B 20
2 B 10
1 C 30
here is what i need
seq student mark
2 A 15
2 B 10
1 C 30i have used your query + some decode
With t As
Select 'A' st, 'X' Type, 1 seq, 001 marker_no, 10 mark From dual Union All
Select 'A', 'X', 2, 001, 12 From dual Union All
Select 'B', 'X', 1, 002, 10 From dual Union All
Select 'B', 'X', 2, 003, 12 From dual Union All
Select 'B', 'X', 3, 003, 15 From dual Union All
Select 'C', 'X', 1, 001, 10 From dual Union All
Select 'C', 'X', 2, 002, 15 From dual Union All
Select 'C', 'Y', 3, 001, 20 From dual Union All
Select 'C', 'Y', 4, 001, 10 From dual
Select st,
Sum (x_cnt) x_cnt,
Max (x_seq) Keep (dense_rank Last Order By x_seq) x_seq,
max(x_marker_no) keep(dense_rank last order by x_seq) x_marker_no,
max(x_mark) keep(dense_rank last order by x_seq) x_mark,
sum(y_cnt) y_cnt,
max(y_seq) keep(dense_rank last order by y_seq) y_seq,
max(y_marker_no) keep(dense_rank last order by y_seq) y_marker_no,
max(y_mark) keep(dense_rank last order by y_seq) y_mark
from
(Select st,
decode(Type ,'X',1,0) x_cnt,
decode(type ,'X',seq,0) x_seq,
decode(Type ,'X',marker_no,0) x_marker_no,
decode(Type ,'X',mark,0) x_mark,
decode(Type ,'Y',1,0) y_cnt,
decode(Type ,'Y',seq,0) y_seq,
decode(Type ,'Y',marker_no,0) y_marker_no,
decode(Type ,'Y',mark,0) y_mark
From t
Group By st;
/*this is the output
st X_cnt X_seq X_marker_no X_mark Y_cnt Y_seq Y_marker_no Y_mark
A 2 2 001 12 0 null null null
B 3 3 003 15 0 null null null
C 2 2 002 15 2 4 001 10
ST X_CNT X_SEQ X_MARKER_NO X_MARK Y_CNT Y_SEQ Y_MARKER_NO Y_MARK
A 2 2 1 12 0 0 0 0
B 3 3 3 15 0 0 0 0
C 2 2 2 15 2 4 1 10 -
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 -
How to get the actual height of JEditorPane?
I have a basic question on the JEditorPane. Do I have to show the JEditorPane on a temporary Frame in order to get the actual height? My work around is to show the JEditorPane on a frame, get the JEditorPane height, then dispose the frame. It would be nice if I can get the actual height of JEditorPane without showing the frame.
This is test my code.
import java.awt.*;
import java.lang.*;
import java.net.*;
import javax.swing.*;
public class Test {
public static void main (String [] args) {
double w = 0;
double h = 0;
JEditorPane editorPane = null;
try {
URL url = new URL("file:test.html");
editorPane = new JEditorPane(url);
} catch (Exception e) {}
editorPane.setPreferredSize(new Dimension(400, 700));
w = editorPane.getWidth();
h = editorPane.getHeight();
// output "width: 0 height: 0"
System.out.println("width: " + w + " height: " + h);
// This my work around the get the actual height
JScrollPane scrollPane = new JScrollPane(editorPane);
JFrame frame = new JFrame("TESTING");
frame.getContentPane().add(scrollPane);
frame.pack();
frame.show();
// wait for loading data
try {
Thread.sleep(20000);
} catch (Exception e) {}
w = editorPane.getWidth();
// actual height based on the width and the size of test.html
h = editorPane.getHeight();
// output "width: 597 height: 24320"
// 24320 is the actual height that i want
System.out.println("width: " + w + " height: " + h);
frame.dispose();This thread uses a PropertyChangeListener to notify you when the page is finished loading.
http://forum.java.sun.com/thread.jsp?forum=57&thread=333171 -
How to get the Actual Query of View Object
Hi all,
I have a standard. I need to modify the query of the VO attached to a picklist based on responsibility. I am able to achieve my requirement but it is getting reflected for all the responsibilities even though i extended the controller for a particular responsibility. I used setQuery() to change the query of my VO. When checking "About this page". The code i added also shown in the page. Now i want to get the actual query to the VO before the controller is extended so that i can set the modified query or actual query based on my responsibility. Kindly share your knowledge.
Regards,
PradeepHi,
I guess following query will not work ,Why use 2 where clauses.
SELECT * FROM (select NVL(VENUE_NAME,' ') "Venue",
NVL(VENUE_CITY,' ') "City",
NVL(COUNTRY_DESC,' ') "Country",
EVENT_NUMBER
From NS_EVENT_VENUE_DETAILS,NS_COUNTRY_MASTER WHERE COUNTRY_CODE = VENUE_COUNTRY) QRSLT WHERE (QRSLT.EVENT_NUMBER = 1539
you can as following using bind variable.
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcquerying.htm#CEGDGIJH -
How to get the original record Number in Multi-Record Block
Hello Everyone,
I know how to find the duplicate item in the multi-Record block,
For Ex:
Line_Num Item_Name Quantity
1 AA 10
2 BB 20
3 AA Here 3rd record Item_name is duplicated, I can able to check and display the message that 'Item is duplicated' ,I found from [sheikyerbouti.developpez.com/duplicates/duplicates.htm] .
but I want to show along with original line number i.e 1 when the item_name is entered .
Here I want to check the original Line_Num and want to display the message
'Item is duplicated,Update quantity in Original Line 1'
Can anyone help me to get this?
Thank You.
Regards,
Guru.Hi Francois,
Actually I want to check and show the message when the item_name is entered i.e WHEN-VALIDATE-ITEM TRIGGER.
I put the following code in WHEN-VALIDATE-ITEM TRIGGER
Declare
curnum number;
dupnum number;
cur_item varchar2(100);
v_alert_no number;
p_linerec varchar2(100);
Begin
curnum := TO_NUMBER(:System.Trigger_Record);
cur_item := :Lines.Item_number;
First_Record;
p_linerec := :Lines.Item_number;
LOOP
If p_linerec = cur_item then
dupnum := :Lines.Line_num;
set_alert_property('ALERT_STOP',ALERT_MESSAGE_TEXT,
'Duplicate Item Found,Update QTY in Original line number '||dupnum);
V_ALERT_NO := show_alert('ALERT_STOP');
:LINES.ITEM_NUMBER := NULL;
:LINES.ITEM_DESCRIPTION:= NULL;
:LINES.ITEM_REVISION:= NULL;
:LINES.ITEM_CATEGORY:= NULL;
elsIF (:System.Last_Record = 'TRUE') THEN
Go_Record(curnum);
EXIT;
ELSE
Next_Record;
END IF;
END LOOP;
End; But I am getting the following error,
FRM-40737:Illegal Restricted Procedure
FIRST_RECORD in WHEN-VALIDATE-TRIGGERand then
its showing for first line itself.
Duplicate Item found.Update QTY in Original line number 1so I put the condition
If :Lines.Line_num > 1 then --Only to check when the block having more than one record.but now it checking from second record and displaying,
Duplicate Item found.Update QTY in Original line number 2 --(instead of Update QTY in Original line number 1)Can you tell me how can I change the above code for my requirement?
Thank you.
Edited by: Gurujothi on 27 Mar, 2013 5:20 PM -
How to get the last record??
Hi, I now have to get only the last record from one table
from MS Access.
I was looking for the useful method from API, however,
I cannot get it.
How to get only the last record from one table ???
Please help, thanks.In RDBMS, row order is really not relavent by iteself. Meaning there is no such thing as 'last record' unless it's in the context of a column (e.g. timeStamp).
Of course, rows are inserted and stored in some natural order, but you cannot assume they'll come back the same way in a 'Select *' as they were entered.
So, if you mean last row as in last inserted row, I would add a timestamp field that's set at insert, or use a autonumber column. Either way, have a column that will always contain the highest number or newest timestamp, and then you can build your where clause from that.
For instance, in Access, I have an autonumbered field called 'fred', with other columns. If I want the last record, I simply use the following:
select * from atable where fred in (SELECT max(fred) AS Max FROM atable);
the 'where in' clause will filter to only those records in the subsequent select statment, which of course is only one, the max of the column fred.
bRi
Maybe you are looking for
-
Three Graphs and Data need to display in a single screen
Hi Gurus, I have a requirment that customer wants to see three graphs and data in a single screen. The data will be avilable in a single query, how can i display. I gone through with many SDN blogs, but i did not get the solution. Requirment is: Fir
-
IPod touch frozen and itunes cannot detect iPod?
It just began with me connecting my iPod to my mac and a window popping up saying "The software required for communicating with the iPod is not installed correctly, and you must manuually eject the ipod before each disconnect".I didn't know how to up
-
Unable to match monitor brightness and prints when printing from lightroom.
Trying to figure out how to print the brightness of what I see on the monitor. Running a windows 8 box with current Adobe creative cloud account. Trying to print directly from lightroom. Have a colormunki display and have calibrated the monitor which
-
Segment based on Zones..
Hi Experts As per our configuration now client is able to do the target groups based on the Contry, State.. for this we have define the Data Source BP Address (Origin : INFOSET) As per requirement The client will be able to make target groups based b
-
Reminders | What is it about my MBP?
I have an iPad, iPhone, iMac and Macbook Pro all connected to my iCloud account. Reminders works perfectly until I open up my Macbook Pro. Once my MBP is running it uncompletes tasks I've marked as complete on one of the other devices. I've check dat