Display symmetrical LIST box
Hi
all
I have a value in list box like this.Its dynamic list box .it means im facthing all value of list box from database.
partnumber/purchaseorder/workorder
mel 2005=>555555=>PA720
KDM-1087=>89898=>PA711
assembly2005=>454543=>PA718
1=>786=>PA721
i would like to display it like this.We can say in table kind of format.
mel 2005 =>555555 =>PA720
KDM-1087 =>89898 =>PA711
assembly2005 =>454543 =>PA718
1 =>786 =>PA721
can anybody tell me how can i achieve this.
thanx
sanjay
Say u r getting the vales in a resultset rs...
use it as..
<input type="listbox" name="ss" value="<%=rs.getString("PartNumber")%>=><%=rs.getString(purchaseorder")%>=><%=rs.getString("workorder")%>">
Similar Messages
-
Conditional display of list box in form (depends on other report column)
Hello,
i have one question regarding conditional display in forms.
I have a tabular form where only one column ("flag") is updateable, all other columns are visible only.
I changed the column "flag" from "standard report column" to "Select list (static lov)", which has the values "yes" and "no".
This works fine. But in the running form i want to display the list box only if the column "status" = 'ERROR'.
The column "status" can have the values 'ERROR' and 'OK'.
When one record has "status" = 'OK', the column "flag" should not display the list box (only empty column row),
when one record has "status" = 'ERROR" the column "flag" should display the list box.
The idea behind is that if a record has "status" = 'ERROR' i have the possibility to confirm that "error" and update the column "flag" with "YES". This should only be possible for errors.
This is my main problem.
I tried with conditional display, but this hides or shows the column for the whole report/form, not on record level...
The second problem then is, that if the column "flag" is changed to "YES" in case of column "status" = 'ERROR', then it should not be possible to change it again to 'NO". At the beginning it is 'NO', but once changed to 'YES' it should not be changeable any more.
Is this possible?
Thank you in advance,
MatthiasHello Mike
your solution sounds good, but unfortunately it is not working.
None of my 2 columns are displayed, although i tried it as you wrote and the conditions should match...
But i am no sure if this can work. If so, the 2 columns must fuse to 1 column:
ID STATUS FLAG
1 ERROR yes/no => comes from column1
2 OK (null => comes from column2
so "FLAG" must display column1 and column2 in one column. is that possible?
regards,
Matthias -
Hi
all
I have a value in list box like this.Its dynamic list box .it means im facthing all value of list box from database.
partnumber/purchaseorder/workorder
mel 2005=>555555=>PA720
KDM-1087=>89898=>PA711
assembly2005=>454543=>PA718
1=>786=>PA721
i would like to display it in tabular symmetrical format.
can anybody tell me how can i achieve this.Say u r getting the vales in a resultset rs...
use it as..
<input type="listbox" name="ss" value="<%=rs.getString("PartNumber")%>=><%=rs.getString(purchaseorder")%>=><%=rs.getString("workorder")%>"> -
List of reports to be displayed in list box
Hi,
I have a requirement to see list of reports for a particular user in a list box rather than displaying them as links in oracle portal.
Can guys guide me achieving this.Is it possible?
Thanks
SriOops!!
even i raised the same question just now..didn't see your posting..
I think we both looking at same problem.
\Cheers -
Retaining List Box Value in Form Bean
Hi All,
I want to retain the List Box populated using the Form bean.
Right now when i display the List Box in a page and submit the Form and come back
to same page again I do not get List Box populated.
In the JPF I do not get the all values of the List Box. I only get the selected
value of the ListBox.
Thx
HiteshHi sudha,
1. We can also use the FM
F4IF_INT_TABLE_VALUE_REQUEST
(here u will be able to capture the value)
2.
DATA : BEGIN OF itab OCCURS 0,
bukrs LIKE t001-bukrs,
butxt LIKE t001-butxt,
END OF itab.
SELECT * FROM t001 INTO CORRESPONDING FIELDS OF TABLE itab.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BUKRS'
value_org = 'S'
dynprofield = 'MYLISTTAB'
dynpprog = sy-repid
dynpnr = sy-dynnr
TABLES
value_tab = itab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
3. In pai module,
use the code :
PROCESS ON VALUE-REQUEST.
field mylistab module abc.
where field = your field name
abc = module name (which contains the above coding in step 2)
regards,
amit m.
Message was edited by: Amit Mittal -
List box for the select-options
Hi All
Can anyone send me a sample code to create a list-box for the select-options.Hi vighnesh vasudevan,
Do like this for your select options for low and high also.
Parameters:
p_quat TYPE char20
AS LISTBOX VISIBLE LENGTH 30
LOWER CASE OBLIGATORY.
* AT SELECTION-SCREEN ON VALUE-REQUEST *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_quat.
PERFORM fill_quarters.
PERFORM display_quarters.
*& Form fill_quarters
* text
FORM fill_quarters .
DATA:
* Field string to fill quarters in the year
lfs_quarters TYPE LINE OF vrm_values.
REFRESH t_quarters.
lfs_quarters-key = '1'.
lfs_quarters-text = text-qu1.
APPEND lfs_quarters TO t_quarters.
lfs_quarters-key = '2'.
lfs_quarters-text = text-qu2.
APPEND lfs_quarters TO t_quarters.
lfs_quarters-key = '3'.
lfs_quarters-text = text-qu3.
APPEND lfs_quarters TO t_quarters.
lfs_quarters-key = '4'.
lfs_quarters-text = text-qu4.
APPEND lfs_quarters TO t_quarters.
ENDFORM. " fill_quarters
*& Form display_quarters
* text
FORM display_quarters .
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'P_QUAT'
values = t_quarters[]
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " display_quarters
Note: I think we are not able to display the list box for select options because i am not ever seen the list box in select options . No Probs try like above code.
See the following like it may help for you
Listbox for Select Options
Regards,
Mahi. -
hi,
I had made a report in which i have to display the list box option in which there will be 3 options . i had searched about it but i am not able to have examples of it which fulfill my requierment.
Can anybody provide me examples of it as i had never used list box.Hi,
Here is the steps to create list box....
You can create according to ur need.. i hope this will help u..-
LIST BOX
Drop down list box can be created in a dialog screen(SE51) as well as selection screen.
The sap list box allows to select a value from the list but we cannot enter our own value in the list box .The value list that will be displayed consists of two
fields TEXT field of TYPE 80(C) and internal KEY field of TYPE 40(C).
In screen painter to create a input/output field into list box we use
'L" as a value for dropdown attribute for the i/o field.
In screen painter to determine the type of method that will be used to fill the value
list we use the attribute value list.
If it is blank the value list will be filled by the first column of the input help assigned to the screen field.This input help can be defined in the ABAP Dictionary, on screen using SELECT,VALUES screen statements or in event POV (PROCESS ON VALUE-REQUEST ) and the input help that will be passed to the field should consists of 2 columns ,the key column is filled automatically by the system.SAP recommends value list field should be blank.
or
The value can be 'A' meaning that the value list will be filled in the event PBO(PROCESS BEFORE OUTPUT) or before the screen is displayed.In this method we use function module VRM_SET_VALUES to fill the values and pass it to the i/o field.
If a function code is attached to the list box the selection of a value triggers a PAI
otherwise PAI will not trigger.
LIST BOX in SELECTION SCREEN
List Box is created in selection screen using PARAMETERS staement
with AS LISTBOX addition other attributes like VISIBLE LENGTH (width of listbox)
can be specified with the declaration.
PARAMETERS name(n) AS LISTBOX VISIBLE LENGTH n.
Here n is an integer and name is the name of parameter.
To populate the value list we use the FM VRM_SET_VALUES and the
selection screen event AT SELECTION-SCREEN OUTPUT is used to write the code to fill it.
VRM_SET_VALUES
The function module VRM_SET_VALUES is used to fill the value list associated with a List Box .This FM uses types which are declared in type group VRM. So
we should declare TYPE-POOLS VRM before using this FM.
Some important types declared in the VRM type group are
VRM_ID
It refers to the name of the input/output field associated with list box
VRM_VALUES
It refers to the internal table consisting of two fields TEXT(80C) and KEY(40)C
that will be used to create the list values.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = name of screen element ,it is of TYPE VRM_ID
VALUES = internal table containing values,of TYPE VRM_VALUES
LIST BOX with value list from input help
In this example the screen element attribute value list is set to blank as such the value list will be filled with the 1st column of the input help,We use PROCESS ON VALUE-REQUEST event to pass the value list to the listbox.In the MODULE call used to fill the value list we can use FM like F4IF_INT_TABLE_VALUE_REQUEST to create input help as explained in the input help.The value of first column will be shown in the field when selected.
PROCESS ON VALUE-REQUEST
FIELD list MODULE fill_list_100
FIELD list MODULE fill_list_100 INPUT
SELECT f1 f2 FROM table INTO int
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'input/output screen field'
value_org = 'S'
TABLES
value_tab = itab "it contains 2 fields that will be shown in the list box
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
ENDMODULE.
VALUE LIST CREATED IN PBO
In this method we set the value list attribute to 'A'.The value list will be filled in the PBO by using FM VRM_SET_VALUES .
TYPE-POOLS : VRM
DATA : field_id TYPE VRM_ID ,
values TYPE VRM_VALUES,
value LIKE LINE OF values.
PROCESS BEFORE OUTPUT
MODULE list_fill_100
MODULE list_fill_100 OUTPUT
SELECT f1 f2 f3 FROM tab WHERE condition.
value-KEY = f1.
value-TEXT = f2
APPEND value TO VALUES
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'i/o screen field'
values = values.
ENDMODULE.
LIST BOX with Selection Screen
For this the FM VRM_SET_VALUES is used to fill the value table and is passed to the parameter created with TYPE LISTBOX in the selection screen event
AT SELECTION-SCREEN.
PROGRAM zlist
TYPE-POOLS : VRM.
DATA: param TYPE vrm_id,
values TYPE vrm_values,
value LIKE LINE OF values.
PARAMETERS: p_name(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
param = 'P_NAME'.
value-key = '1'.
value-text = 'JOHN'.
APPEND value TO values.
value-key = '2'.
value-text = 'PETER'.
APPEND value TO values.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING id = param
values = values.
Thanks & Regards
Ashu Singh. -
hi all,
i have a module pool,where i have field of table displayed as list box.i wants the the values of the list box to be fethched from another maintenance table,how can i do it.please let me know.thanks alot.
RegardsHi,
Please use following code
TYPE-POOLS vrm.
DATA values TYPE vrm_values WITH HEADER LINE.
TABLES: ZTOB <ur other maintenance table>.
SELECT * FROM ztob.
values-text = ztob-zbond.
values-key = ztob-ztype.
APPEND values.
ENDSELECT.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = <Module pool field name>
values = values[]
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2. -
List box values in mosule pool
hi
i am currently working with screen exit where i am populating values to a list box using customl table.
the problem is that when i am creating new entries in custom table the old entries are also getting displayed in list box even though i have deleted previous entries.
here is the code
PROCESS ON VALUE-REQUEST.
Create drop down box for listbox1
FIELD proj-zz_list1 module create_listbox1.
MODULE create_listbox1 INPUT.
TYPE DECLERATION.
TYPES:
BEGIN OF ty_list1,
Data type for listbox field
list1 TYPE zgfbm_listbox1,
END OF ty_list1.
VARIABLES DECLARATION *
DATA:
Internal table used to store userfield.
li_list1 TYPE STANDARD TABLE OF ty_list1.
PROCESSING LOGIC *
clear: proj-zz_list1, li_list1.
Select listbox1 from value table into internal table
SELECT zz_list1
FROM zgfbm_list1
INTO TABLE li_list1.
Create listbox corresponding to field in proj table
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'PROJ-ZZ_LIST1'
value_org = 'S'
TABLES
value_tab = li_list1
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
FREE li_list1.
ENDMODULE. " create_listbox1 INPUTPut a breakpoint at the Select statement and checkout if the valure coming from value table
Message was edited by:
Chandrasekhar Jagarlamudi -
Displaying the list of numbers in the box on the screen
Hi folks,
This is what i am looking to achieve, I have an agency number (regulierer -field from jhaga) table Each agency has several advertisers listed to it, in the same table separate field inserent contains the advertiser numbers
when I type in the agency number i need to have a listbox appearing in the same screen that contains the list of the advertiser numbers in them.
how to write the code for that?
I know I have to write the select query to grab the list of advertiser numbers and then how tostore in the list box and display on the screen the second part i do not know.
thanks in advance.
SanthoshHi,
Here are the sample codes.
<b>SAMPLE CODE 1:</b>
TYPE-POOLS: vrm.
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
PARAMETERS: ps_parm(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
name = 'PS_PARM'.
value-key = '1'.
value-text = 'Line 1'.
APPEND value TO list.
value-key = '2'.
value-text = 'Line 2'.
APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING id = name
values = list.
START-OF-SELECTION.
WRITE: / 'Parameter:', ps_parm.
SAMPLE CODE2:
type-pools: vrm.
data: it_val type vrm_values,
w_line like line of it_val.
parameters p_bukrs like t001-bukrs as listbox
visible length 25 obligatory.
initialization.
select bukrs butxt from t001 into (w_line-key, w_line-text).
append w_line to it_val.
check p_bukrs is initial.
p_bukrs = w_line-key.
endselect.
at selection-screen output.
call function 'VRM_SET_VALUES'
exporting
id = 'P_BUKRS'
values = it_val.
end-of-selection.
Hope it helps. -
Reg: Drop-Down list Box not displaying values
Hi Experts,
i am publishing a module pool program in the internet using SICF Transaction . In the internet my drop down list box is not displaying the default value but in my sap it works fine .
What may be the problem?
Regards,
VikramHello Thorsten Domsalla ,
My Problem is in my sap module pool program there is a drop down list box which disaplays default values its working fine in sap gui but when i access through internet (SICF) Transaction the Drop down list box not listing out default values .
i am using Integrated ITS Version 7.0 and Support package 08.
Regards,
Vikram -
Interactive Adobe Forms - Description in list box in Display mode
Hi All,
We are working with Adobe Interactive Forms.
There is a list box for States that is bound to the REGION field in IT0006.
When I choose a value in the combo box for Stateu2026 and click on Check and Send all fields become readOnly and are displayed for reviewu2026 in this step the combo boxes display the actual value instead of the text (eg shows the 2 character code for a state instead of description)u2026 how can I make sure that the form displays the description even in the readonly mode?
In the Binding properties, I have set Item Text as "text" and Item Key as "key". This does not work. Is there any other setting to be made?
Regards,
Priyahave you tried using a drop down box instead? I have several drop downs I use on 1 form - they're all bound directly to the backend and work fine.
Edited by: robert phelan on Sep 22, 2009 4:36 PM -
List Box showing Value and Display members?
Ok this is a CONCEPT problem (the code is not professional, just read it for the concept, though it does compile and run).
Right, I have asked many people on IRC and no one is giving me a straight answer lol so maybe some professionals can help me.
I am trying to use a Datasource property for my combobox. This is so I can just pass an entire KeyValue pair with indexes and values to be shown in the listbox.
Creating the keyvaluepair as a WHOLE and passing that to datasource property works perfectly.
Creating a keyvaluepair PROCEDURALLY (in a loop or w/e) ends in the datasource property ToString()ing it, list box items show BOTH value AND display members in square brackets as an entire option.
NOTE: Getting the lsitbox.value results in ONLY the valuemember being returned even though the listbox shows both the valuemembers AND the displaymember? it knows they are different?
Now, I dont want any alternatives or comments about the quality of the code, all I want to know is WHY is it doing this, it seems compeltely illogical that the same TYPE and Values and can different Effects within the datasource property? Its like it knows
it was built procedurally?
Anyway here is some code for reference:
// Windows Form
namespace skbtInstaller
public partial class frmMainWindow : Form
public frmMainWindow()
InitializeComponent();
// coxArmaPath = Combo Box (simple drop down)
this.cBoxArmaPath.ValueMember = "Key";
this.cBoxArmaPath.DisplayMember = "Value";
public void addServerPathItem(String Key, String Value)
this.cBoxArmaPath.Items.Add(new KeyValuePair<String, String>(Key,Value));
// This works fine, only the "DisplayMember" is displayed and the "ValueMember" is hidden.
// This acts differently with the same types???
public void setServerPathDatasource(List<KeyValuePair<String, String>> source)
this.cBoxArmaPath.DataSource = new BindingSource(source, null);
public class skbtServerControl
private frmMainWindow frmMainWindowHandle;
public void refreshformWindow()
// Clear Drop Box (empties drop box)
this.frmMainWindowHandle.clearPathBox();
//skbtServerConfig is very simple property object
foreach (KeyValuePair<String, skbtServerConfig> pair in CoreConfig.getServerConfigList())
// Populate Drop Box
this.frmMainWindowHandle.addServerPathItem(pair.Key, pair.Value.getTextualName()); // this works as intended
// cBox gets items like: Some Display Text, Some Display Text, Some Display Text (PERFECT!)
// This works absolutely fine. ValueMembers are hidden.
public void refreshformWindowWithSTATICDatasource()
// Clear Drop Box
this.frmMainWindowHandle.clearPathBox();
var pathDataSource = new List<KeyValuePair<String, String>>()
new KeyValuePair<String, String>("testKey1", "somevalue1"),
new KeyValuePair<String, String>("testKey2", "somevalue2"),
new KeyValuePair<String, String>("testKey3", "somevalue3")
// Populate Drop Box
this.frmMainWindowHandle.setServerPathDatasource(pathDataSource);
// cBox gets items like: Some Display Text, Some Display Text, Some Display Text (PERFECT!)
// ** HERE IS THE PROBLEM?? **
// This creates a type that seems different to the above function which works fine...
public void refreshformWindowWithDatasource()
// Clear Drop Box
this.frmMainWindowHandle.clearPathBox();
var pathDataSource = new List<KeyValuePair<String, String>>();
//skbtServerConfig is very simple property object
foreach (KeyValuePair<String, skbtServerConfig> pair in CoreConfig.getServerConfigList())
pathDataSource.Add(new KeyValuePair<String, String>(pair.Key, pair.Value.getTextualName()));
// Populate Drop Box
this.frmMainWindowHandle.setServerPathDatasource(pathDataSource);
// cBox gets items like [asjAETJQ5785d45,Some Display Text], [asawfgQ5785d45,Some Display Text], [asjAhrrQ5785d45,Some Display Text]
// ????? surely this function should act exactly like the function above??
Thanks!
(I have posted on codeproject too, will condense any replies).
Thanks Michael!
I did debug this and it turns out when i set a new BindingSource to the combo box, indeed the DisplayMember gets reset. Oddly though, the ValueMember stays the same.
I have fixed this with setting the Members before every new bindingSource is set to the combobox, strange that only the displaymember is reset?
For reference, the new resolved code: (this compiles albeit with designer components placed)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace etstapp1
public partial class Form1 : Form
private skbtServerControl sc;
public Form1()
InitializeComponent();
this.sc = new skbtServerControl(this);
// coxArmaPath = Combo Box (simple drop down)
this.cBoxArmaPath.ValueMember = "Key";
this.cBoxArmaPath.DisplayMember = "Value"; // This doesnt seem to stick after the first datasource set??
public void addServerPathItem(String Key, String Value)
this.cBoxArmaPath.Items.Add(new KeyValuePair<String, String>(Key, Value));
// This works fine, only the "DisplayMember" is displayed and the "ValueMember" is hidden.
// This acts differently with the same types???
public void setServerPathDatasource(List<KeyValuePair<String, String>> source)
this.cBoxArmaPath.DisplayMember = "Value"; // fix datasource problem
this.cBoxArmaPath.ValueMember = "Key"; // fix datasource problem
this.cBoxArmaPath.DataSource = new BindingSource(source, null);
public void clearPathBox()
if(this.cBoxArmaPath.DataSource == null){
this.cBoxArmaPath.Items.Clear();
else
this.cBoxArmaPath.DataSource = null;
private void btnStatic_Click(object sender, EventArgs e)
this.sc.refreshformWindowWithSTATICDatasource();
private void btnNormal_Click(object sender, EventArgs e)
this.sc.refreshFormWindow();
private void btnDynamic_Click(object sender, EventArgs e)
this.sc.refreshformWindowWithDatasource();
public class skbtServerControl
private CoreConfig CoreConfig;
private Form1 frmMainWindowHandle;
public skbtServerControl(Form1 f){
this.frmMainWindowHandle = f;
this.CoreConfig = new CoreConfig();
public void refreshFormWindow()
// Clear Drop Box (empties drop box)
this.frmMainWindowHandle.clearPathBox();
//skbtServerConfig is very simple property object
foreach (KeyValuePair<String, skbtServerConfig> pair in CoreConfig.getServerConfigList())
// Populate Drop Box
this.frmMainWindowHandle.addServerPathItem(pair.Key, pair.Value.getTextualName()); // this works as intended
// cBox gets items like: Some Display Text, Some Display Text, Some Display Text (PERFECT!)
// This works absolutely fine. ValueMembers are hidden.
public void refreshformWindowWithSTATICDatasource()
// Clear Drop Box
this.frmMainWindowHandle.clearPathBox();
var pathDataSource = new List<KeyValuePair<String, String>>()
new KeyValuePair<String, String>("testKey1", "somevalue1"),
new KeyValuePair<String, String>("testKey2", "somevalue2"),
new KeyValuePair<String, String>("testKey3", "somevalue3")
// Populate Drop Box
this.frmMainWindowHandle.setServerPathDatasource(pathDataSource);
// cBox gets items like: Some Display Text, Some Display Text, Some Display Text (PERFECT!)
// ** HERE IS THE PROBLEM?? **
// This creates a type that seems different to the above function which works fine...
public void refreshformWindowWithDatasource()
// Clear Drop Box
this.frmMainWindowHandle.clearPathBox();
var pathDataSource = new List<KeyValuePair<String, String>>();
//skbtServerConfig is very simple property object
foreach (KeyValuePair<String, skbtServerConfig> pair in this.CoreConfig.getServerConfigList())
pathDataSource.Add(new KeyValuePair<String, String>(pair.Key, pair.Value.getTextualName()));
// Populate Drop Box
this.frmMainWindowHandle.setServerPathDatasource(pathDataSource);
// cBox gets items like [asjAETJQ5785d45,Some Display Text], [asawfgQ5785d45,Some Display Text], [asjAhrrQ5785d45,Some Display Text]
// ????? surely this function should act exactly like the function above??
public class CoreConfig
public Dictionary<String, skbtServerConfig> getServerConfigList(){
return new Dictionary<string, skbtServerConfig>()
{"somekey1", new skbtServerConfig("somename1")},
{"somekey2", new skbtServerConfig("somename2")}
public class skbtServerConfig
private String name;
public skbtServerConfig(String name)
this.name = name;
public String getTextualName()
return this.name;
Talking with someone it seems logical that every time I set a new BindingSource the component will not know if I want to keep the same member values so it resets them, but why it only resets displaymember? very strange to me.
Thanks again. -
Cannot display Thai. character in List box elements
Hi all,
I have set the Fonts to Ms San Serif to all items in a form, all items seems can display Thai. character correctly. For List box, it can display Thai also, but the elements in the selections cannot.
Does any expert know how to fix this ?
Thanks!Hi Kinghow,
Thanks for your reply!
The problem still can't solve after set the auto csv code select "Yes". The excel file still can't display Thai character.
Am i using a correct way to generate excel file? Do you have any suggestion to export data to excel using pl/sql?
If i removed below part, then the excel file working well.
htp.tableOpen(cattributes=>'border="1",bordercolor="BLACK",align="CENTER"');
for x in (select srd_line_prop,srd_line_dtl from schd_rptd where srd_queue_no=:P401031_QUEUE_NO and srd_line_prop='H' order by srd_queue_no,srd_line_no)
loop
htp.tablerowopen(cattributes => 'bgcolor="#81F7F3"');
for i in 1..pkg_wwe.split_count(x.srd_line_dtl,'|') loop
if i = 1 then
htp.p('<TD nowrap align="center" width="70px" > <font size="2" face="arial" color="#088A08">');
htp.p(pkg_wwe.split(x.srd_line_dtl,'|',i));htp.p(' ');htp.p(' ');
htp.p('</TD>');
else
htp.p('<TD nowrap align="center" width="70px" > <font size="2" face="arial" color="#08088A">');
htp.p(pkg_wwe.split(x.srd_line_dtl,'|',i));htp.p(' ');htp.p(' ');
htp.p('</TD>');
end if;
end loop;
htp.tableRowClose;
end loop;
htp.tableClose;
I really do not have any idea on how to solve this problem. Is really strange on this problem. -
Displaying list box field in PDF
I have exported to an interactive PDF which contains radio buttons, text fields, combo boxes and list boxes. This form is to be viewed on an iPhone 5 in Adobe Reader. All the form objects work except for the combo/list boxes. They appear and a selection can be made but the selection is not displayed in the box. I have tried to enlarge the box, thinking it was too small to display the text.
I have tested it on an Ipad 3 and an android phone and it doesnt work but it does work on a desktop. The reader app is up-to-date on all devices. This is how it displays (sorry about the quality). The option within the list box are "nothing" ie space, Y and N. Before a selection is made the arrow is displayed but after a selection is made the box is blank.
Can someone please tell me if there is a compatibility issue or a work around for this problem.
Thanks!
GemmaOne more thing: There is a workaround for those who own Acrobat for Windows or Mac. You should be able to open forms with this problem in Acrobat, modify the default values in these fields, return the default values in those fields to their desired state and then resave the document from Acrobat (windows or mac). This forces Acrobat to save the fields in a way that the mobile Readers can properly display and edit. While we absolutely should fix the bug to properly display fields created by InDesign, this workaround may be useful for others so I am posting it here.
Maybe you are looking for
-
Network connecting mac to pc wirelessly
does anyone here have any idea how i could wirelessly connect my MBP to my PC, which is currently running vista? or if that is not possible, then via any other means? thanks!
-
Documentation on BPC V7 benefits for upgrading from service pack 3 to SP7
I am looking for information on Service Pack releases & benefits. Weu2019re currently on V7 SP3 (SQ2005) and want to understand the benefits between SP3 and the subsequent releases up to SP7. Can someone point me as to where I can find literature o
-
Setting time critical digital output based on axis position (PCI-7358)
HI, I need to set a time critical digital output based on encoder position (this will switch fast acting valves). I was planning to try the general purpose DIO but I can't find any examples, I have been through the manuals, searched the site etc. Whe
-
Does anyone know what I can do about this? My client, a medical practice, is trying to save forms in a rather interesting way. They have charts that are divided up into different sections or tabs such as Progress Notes, Patient Info and more. These c
-
I bought my cell phone about three months ago, and everything has been working perfectly by now. However, about 4 days ago, I started having problems with software: every time I try to access messaging from the main menu, nothing happens; and this sa