How to display value from unlinked table
Hello,
In most of my report, I use at least 1 unlinked table that only have 1 row, which is mostly generic information like a logo or company name that I use in the header.
This work well as long as there is at least 1 record in all other table, if not then my header will be empty.
It seem to be related to the crossjoin between all table, but I was wondering if there was an easy was to accomplished this goal without having to link my "Company Info" table to the other one
Thank
ML
Put your logo in a subreport, then you can suppress if no data etc.
CR is a Relational Database reporting tool, it requires the tables to be linked otherwise there are 2 SELECT statements generated and unknown results...
Don
Similar Messages
-
How to get values from a table(in jsp) for validation using javascript.
hi,
this is praveen,pls tell me the procedure to get values from a table(in jsp) for validation using javascript.
thank you in advance.Yes i did try the same ..
BEGIN
select PROD_tYPE into :P185_OFF_CITY from
magcrm_setup where atype = 'CITY' ;
:p185_OFF_CITY := 'XXX';
insert into mtest values ('inside foolter');
END;
When i checked the mtest table it shos me the row inserted...
inside foolter .. Now this means everything did get execute properly
But still the vallue of off_city is null or emtpy...
i check the filed and still its empty..
while mtest had those records..seems like some process is cleaining the values...but cant see such process...
a bit confused..here..I tried on Load after footer...
tried chaning the squence number of process ..but still it doesnt help
some how the session variables gets changed...and it is changed to empty
Edited by: pauljohny on Jan 3, 2012 2:01 AM
Edited by: pauljohny on Jan 3, 2012 2:03 AM -
Access 2010 - How to display data from a table into a text box upon combo box selection?
Hi
I have a a table with 5 columns: month, year, USD, SGD, BAHT.
I created a form with a combo box for selection of the month and year, and I would like to set adjacent text boxes to show USD, SGD, BAHT information. How can i go about doing that?
From the Q&A here, most of them uses the function similar to this "=[Combo0].[Column](1)" to show the data in the text box, but this would require the combo box to list a whole bunch of details if i were to add in more currency values to the
table. Is it possible to not show this information in the combo box, but still populate data in the textboxes base on a selection on only the "month" and "year" in the combo box.Hi,
According to your description, my understanding is that you want to show only the month/year in the combo box, we can choose the date, and it will display the value of USD/SGD/BAHT based on the month/year.
If it is, I recommend you try the steps:
Create a form based on your data source table>Add the combo box>combo box wizard>Find a record on my form based on the value I selected my combo box>Add mouth and year to selected fields
http://office.microsoft.com/en-us/access-help/create-a-list-of-choices-by-using-a-list-box-or-combo-box-HA010113052.aspx
If I misunderstand something, please let me know. We may upload some screenshots or a sample through OneDrive.
Regards,
George Zhao
TechNet Community Support -
How to get values from Hash Table
Hi all,
I have a hash table "lovResults" craeted with following code -
String lovInputSourceId = pageContext.getParameter(SOURCE_PARAM);
Hashtable lovResults = pageContext.getLovResultsFromSession(lovInputSourceId);
values which I can see through SOP are - ******Value of lovResults is{roleid=1000, domainFV=CREATIVE, Role=Account Director}
How can I get the domain value "domainFV=CREATIVE" from hash table in a variable because I have to set this vaue in another field.
Please help me ASAP
Thanks
AmitHi Amit ,
Since you are successfully printing the values using sop's , please try this code
Capture the value in controller .
if(oapagecontext.getParameter("domainFV") != null)
String formvalue= oapagecontext.getParameter("domainFV") // ensure hashtable id is correct
Keerthi
Edited by: keerthioaf on Nov 26, 2012 8:46 PM -
How to get values from RT table
Hello friends ,
I want to get earned basic from RT table T-code - pc00_m40_clstr
how to get that values for wage types
gauravHi Gaurav,
The Function Module u2018 PYXX_READ_PAYROLL_RESULT u2019 generically reads a complete payroll result, that is for all country versions, from file PCL2 or from the buffer. In doing so, the payroll result is transferred to the PAYROLL_RESULT parameter. In the calling system, this must be classified as a complex structure according to the 'PAYxx_RESULT' dictionary structure. u2018 xx u2018 is the ISO code for the country. Now the payroll result is in the parameter FS_PAY99_RESULT. In this parameter the RT table is considered and the required values are moved into a internal table (say T_RT).
Regards,
Swapna. -
How to popup values from database tables to SelectOneMenu
Hi friends,
I am doing a jsf application, in which there is a selectOneMenu
control and I want that, iwhen this page is loaded after clicking button
on the previous page, the selectOne Menu should be populated with
the values from database.
Also I want , if i will select any menu item from the menu , acccordingly
another selectOneMenu control should be filled with respective values
thanx,
byeOh dear. I don't think anybody can advise you until you are not "kinda" new to Java anymore. Learn Java itself (the language, the platform and the tools), only then should you start considering going into web development.
-
HOW TO have LOV display values from a table not contained in parsing schema
I am using DAD to log in and have been able to get around the problems associated with the login schema being different than the parsing schema. However, I want to have a list of values to be shown to the user based on a table in the DAD schema that they log into rather than the parsing schema.
Anyone know how this might be done?GOT IT:
RETURN 'select xxxxxxx' does it -
How to display data from internal table in the SELECTION-SCREEN
Hello Experts,
My requirement is to display the data's from an internal table in the selection screen. I tried using selection-screen comment. But it is working only for a single record. Can anyone please tell me how to do this?Hi Ritika,
we cant use write statement inside selection-screen.
see my coding.
SELECTION-SCREEN BEGIN OF SCREEN 123 AS WINDOW TITLE TEXT-456.
SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-BL1
NO INTERVALS.
SELECT-OPTIONS SEL1 FOR SY-DATUM.
PARAMETERS PAR1(10).
<b>** I WANT ALL RECORDS FROM AN INTERNAL TABLE HERE ONLY</b>
SELECTION-SCREEN END OF BLOCK BL1.
SELECTION-SCREEN PUSHBUTTON 2(10) but1 USER-COMMAND cli1.
SELECTION-SCREEN PUSHBUTTON 20(10) but2 USER-COMMAND cli2.
SELECTION-SCREEN END OF SCREEN 123. -
How to take value from one table to another table?
Hi,
My requirement is,I have two tables those are Document and Transaction both having one common column "Docseriescode"
in Document table already having different records with "Docseriescode".
when i am going to transaction table for adding records, in "docseriescode" column automatically generate perticular Docseriescode
eg:
i have one "Cargo" record in Document Table with code CCN
when i am going to Transactional table for inserting in this Docseriescode columns automatically get "CCN" code and get a drop down value
anybody help me?Your use case is a simple master detail relation between two tables. If you don't have foreign keys in the db you can build the associations and links yourself in jdev. Doing this enables you to create detail rows from a master row where the pk of the master is automatically set in the fk of the detail.
Here you find more info http://docs.oracle.com/cd/E35521_01/web.111230/e16182/bcquerying.htm#ADFFD292 and Displaying Master-Detail Data - 11g Release 2 (11.1.2.3.0)
and a sample Master Detail Insert/Delete Sample | JDev &amp; ADF Goodies
Timo
Message was edited by: TimoHahn -
How to pass value from report table to Popup window
suppose i have a report region
from query
"Select * from emp"
i need to get a popup when i click on the row,
i need all the columns should be displayed inthe popup window;
i have written javascript in the report template, by passing #COLUMN_VALUE#
the issue here is iam only getting the column on which i click,
is there any way to refer the next column ?
or am i doing it in wrong manner ?Hi Mike,
Yes what you said is exactly correct ,
i have a query , but for that i need some PK { three columns } from the the page where this popup will be called,
i have three columns in the row which makes it as PK,
now how can i pass three columns from a page to popup ? provided if i click on the row of an table, i want that rows three column to be passed . -
How to display records from base table as well as some other table?
Hello expert,
I have a requirement to develope a form described below:
One control block and database block.
DB block is based on table T1 (USER, Table_name, Column_name, ACCESS);
In control block, there are three fields,
User, Table user will enter , and DB block will query based on control block fields(user, table_name).
In table it is not necessary that all the columns of any table will be given.
suppose there is a Table X consist of 10 column.
Initially user give access for all the 10 columns through this form.
if we query for user , table, all the record will come from table T1.
now consider the case, when access given to table X number of columns were 10. after that 2 new columns added later.
now there is no info of added column in table T1. i want if user query DB block, these newly added column must display in DB Block.
Please help me out.
Thanks
Dhirender>i want if user query DB block, these newly added column must display in DB Block.
You need to modify your form and add the two columns as base table items. Forms does not add two base table items by itself. -
How to display value from java class with output generated with toplink
i hava a requirement of displaying (distance ie calculated in java class) with output generated by query.
ie if output is like
school name (distance)
physical address
here the school name and physical address are retrived from database.Hi,
ValueHolders are used by the JSF internal framework. To work with an object (attributes) in a managed bean you don't need to make it returning a value holder.
Create a POJO, provide accessor methods and register it as a managed bean. Access it from JSF with EL
Frank -
How to retreive value from my table..
hi,
I have developed a GUI which consists of table..of three columns and 16 rows..
the table consists of propety and value and operator column..property column when user clicks on that cell it shows a combobox of 16 values like empno and empname and emporg,date etc..if user selects any of these value then in operator column it shows corresponding values ..like if selects empno it shows acombo box of less than,greater than,equals..if selects empname then equal,like ,not like with a combo box for selection..like that there r upto 16 rows//user can select any no of rows..after selection if he clicks on find then the selected values should be submitted to a query and passed to maethod..
my doubt is how to retrieve the values and generate query..bcos iam not sure how many rows he is going to select..and in operator column it is string form and i have convert it to >=,< etc form..and submitt to query..
can any body give me some tips for this with sample code..
regards,
samPut your logo in a subreport, then you can suppress if no data etc.
CR is a Relational Database reporting tool, it requires the tables to be linked otherwise there are 2 SELECT statements generated and unknown results...
Don -
How To Display Value In inputText When List Is Used
Hello,
I have a question regarding how to display value from List in a jsf page?
From a Map, i could display like
<ice:inputText id="plantno" value="#{bean.detailedRowData['plantno']}"So if I am using a List instead of Map, how can I refer value in List so that I could display my plantno?
<ice:inputText id="plantno" value="#{bean.?????}"ThanksCreate a backing bean method that fetches the value from the list for you.
<ice:inputText id="plantno" value="#{bean.plantNo}"/>
public class MyFunkyBean {
private List<String> rowdata;
public String getPlantNo(){
return rowdata.get(INDEX_AT_WHICH_THE_PLANTNO_IS_STORED);
}It really isn't possible to turn the list into a regular bean/entity? -
How to display the values from the table in the screen
Hi,
I have created a screen where i will enter the values for the field treshold amount and desc and if i press update button .it will update the new values by overriting the existing values .
Now i have got requirement i need to create a button show which will display the existing value from the table. always there will be only one entry...in this table
Please can one give me idea...to do this
or sample code...thanks in advance
regards
paveeeeeeDefine a function code 'SHOW' for your button. In your PAI module, when you check for various sy-ucomms, check for 'SHOW' also.
Your code will be like this:
Case sy-ucomm.
when 'SHOW'.
perform show_details.
endcase.
In the perform, you can fetch the data from the table and put it in global variables. In the PBO, move the data from the global variables to the screen fields so that they get displayed on the screen.
Hope this helps. Reward points for useful answers.
Regards
Nithya
Maybe you are looking for
-
Surplusmeter - what type of connection do I have?
I have a high-speed internet "stick", it plugs into my USB port. My service provider (telus) has a 5GB monthly cap for data transfer. I've downloaded a free program called SurplusMeter, that monitors internet usage. I don't have a router or anything
-
Is anyone else having problems with settings not taking? I've had this with keywording a bunch of images and upon quitting Aperture 2.0 and restarting AP they were gone. Then had the same problem with image adjustment settings. Maddening to say the l
-
Cannot see my template after copying site to laptop
I copied a site I created in Dreamweaver CC from the computer I created it on to a laptop. On the laptop, I am unable to create a new page from the template as the template does not show up in the "New" menu even though it is there in the list of fil
-
Imac was stolen, can i get my iphotos to my ios7
My Imac was stolen, and i want to know how to get my photos from my Iphoto Imac App?.. If yes how?..
-
I recently received an IPad and I am having trouble signing in on ICloud. I don't remember the Password I used and now I cannot log into it under the Settings< ICloud page. I have no problem using my password to get into other areas.