OptionButton in UDO-Fom: Values in the Database are not the ValidValues
Hello,
my OptionButtons are configured with ValOn = "Y" and ValOff = "N". Also in the Database I defined the UDF as ValidValues = {"Y","N"} and alphanumeric size 1.
But now my UDO-binded Form always write "1" and "2" to the Database when I select the OptionButton. Did anyone had the same confusing issue with handling the OptionButton?
I'm using SBO 2005 A PL 44.
Kind regards
Christian
Hi Cristian
Look for DataType what associated to option buttons in your form.
Bye
P.S. 19.Grid sample from SAP SDK Examples.... dt_SHORT_TEXT
' Option buttons
' Create a user Datasource for the option buttons
userDS = oForm.DataSources.UserDataSources.Add("OpBtnDS", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
' No Grouping
oItem = oForm.Items.Add("optNo", SAPbouiCOM.BoFormItemTypes.it_OPTION_BUTTON)
oItem.Left = 480
oItem.Top = 160
oOpt = oItem.Specific()
oOpt.Caption = "No grouping"
oOpt.DataBind.SetBound(True, , "OpBtnDS")
'CardCode
oItem = oForm.Items.Add("optCode", SAPbouiCOM.BoFormItemTypes.it_OPTION_BUTTON)
oItem.Left = 480
oItem.Top = 180
oOpt = oItem.Specific()
oOpt.Caption = "Card Code"
oOpt.GroupWith("optNo")
oOpt.DataBind.SetBound(True, , "OpBtnDS")
Similar Messages
-
The song palying and the album are not the same.
When I'm playing my music on my iphine, the song and the album are not the same. Sometimes they are not even close to the same thing.
hi
You have to click on the song with the right click (or Option Click) and click on get information,
in that menu you can define the order in the album -
iPad changed to Suomi language can't set it back to English. The settings are not the same as the advice given by support???
Just follow this:
http://support.apple.com/kb/ht2371 -
Changes made to the database are not being affected in Toplink work bench..
Hi,
Im recently encountering the following problem with Toplink mapping work bench.
The cchanges are not visible when I make any changes to the underlying database tables and retrieve that tables into mapping work bench .
The retrived table information still contains old information and the new fields added are not seen and the old fields which were deleted are not deleted.
Is there any cache associated with TOplink..if so How can I flush that cache so that i always end up with the latest DDL s in my Toplink
Thanx in advance...
Regards
MahiYou need to explicitly refresh the tables. In the Mapping Workbench, select or multi-select the tables you'd like to refresh, right click on them and choose "refresh".
IF you are doing that, and not seeing the changes, then the most likely issue is that you are connecting to a different database and/or using a different JDBC login.
- Don -
The latest Premier Pro CC 2014 update forced me to convert and create version of my project while guaranteeing that the project would not be altered; however, the timelines/sequences are not the up to date versions I had. I saved different version of this project for various purposes, but they were all named differently(i.e joe and mary wedding, joe and mary wedding 2, joe and mary wedding 3, joe and mary wedding 3.1). I do not know if they just pulled the timelines from the earliest version, eradicated the data entirely, or something else.
Since the program prompts me to create and save a new version for the updated premier, I still have the previous projects, but cannot open them. I imagine they are unchanged, but cannot be sure.
Thoughts? Is it possible to uninstall an update re-install it later?
Please advise.
Thank you.
BrianAlso...
Add to right click menu of timelines an entry for "go to next keyframe" and "go to last keyframe" a la After Effects, we should also be able to assign a kb shortcut to this.
There are buttons on either side of the create keyframe button to advance forward or backward in the effects control panel or timeline.
You can also advance forward or backward in the effects control window by holding shift while dragging the playhead.
Allow copy/paste of selection of audio/video effects, not just one at a time. Sure we can copy/paste attributes but since we can also copy/paste effects it would only make sense to allow to copy/paste a selection of effects.
I guess I don't get this one. If I have 5 effects on a clip, I can simply command-click on the ones I want to copy over to the other clip. -
Some of the apps are not showing in the launchpad only the names are not the icon
Some of the apps icons are not showing in launchpad. Only their names are showings
So what version of Premiere Pro are we talking about here?
Describe what "cant select" and "cant increase" means.
We cant see what you are doing or with what or where!
These arent things that get "broken". -
When exporting to PDF, the pictures are not the same size I "placed" them
I am "placing" pics that are 653 x 983 pixels, 300 DPI, using CS4. However, my issue is when exporting to PDF, the PDF doesn't look like the same size I "placed" the pic until I blow it up to about 350%. I do not have a printer set up to my computer so I can't do the print/pdf option. Am I doing something wrong here? I can't figure it out. Your help is appreciated. Thanks!
Well, right when I open the PDF, it's just way too small, imagine it being the size of a business card. I have to keep zooming in until it gets to the size I originally intended it to be. When I create a new document am I suppose to make it the same size as the picture?
-
Number of query values and destination fields are not the same.
Hey can any one help me out with this. I have no idea where i'm going wrong.
String query_beg="insert into [insert$] values('"+rs1.getString("USERID")+"','"+rs1.getString("NAME")+"','"+beg_1+"','"+beg1_1+"','"+rs1.getTime("LOGINTIME")+"','"+rs1.getString("CLIENT_TIMEZONE")+"')";
int num = stmnt2.executeUpdate(query_beg);Thanks in advance!
CheersI think it�s missing some field in your values
-
My keyboard has a probleme because I cannot use at for emails and Y is Z for exemple. Can someone just explain the way to get anormal keyboard.
ThanksDo you have a German keyboard? German and a few other languages are "qwertz" instead of the usual "qwerty"
go to System Preferences > Language and Text, in Input Sources tab choose the language relevant to your keyboard. if your PHYSICAL keyboard is "qwerty" then choose english/american english or whatever language you bought your keyboard in, if it's "qwertz" then choose german or whatever language you bought your keyboard in -
Most Popular Items Report: items listed in report are not the document names or titles
I have a document library that's loaded with typical corporate ppt, word, and pdf files. When I run a Most Popular Items report on the library, the list of items displayed in the report are not the document file names or document titles.
Instead, the report is showing information that seems to pulled from within the content itself.
For example, there's a new corporate ppt template in the document library and the Most Popular Items report shows the sharepoint url for the ppt file as being one of the most popular items. Let's say that the file is named Standard_ppt_template.ppt.
The url for one of the most popular items reflects that in the URL. However, the item is listed in the Most Popular Item as "Company Confidential". The report seems to be pulling the words "Company Confidential" listed in the
footer of the ppt template and showing that as the most popular content item.
Is there a reason or setting why the Most Popular Items report is not returning a list of items based on either the file name or the document title?
Thanks in advance for any advice.Hi,
According to your post, my understanding is that the PPT files items in the “Most Popular Items” report display these items’ names seem to be pulled from the PPT files’ content.
Per my test, the Word, Excel, PDF, .txt, .png files items in the “Most Popular Items” report will display these items’ names based on the corresponding items’ title value if they have, or the corresponding file name if these items don’t have the title value.
However, it’s by design that the PPT files items in the “Most Popular Items” report will display these items’ names only based on the beginning of these PPT files’ content rather than these files’ names and the corresponding items’ title value.
Best Regards,
Yumi Fu -
Can retrieve value from one table, but not the other (exception thrown)
Hi
I hope some friendly soul can help me out here. I have a local Access database file. I am able to get a value from all tables except for one, which throws this error: "System.NullReferenceException:
Object reference has not been specified to an object".
The rather simple lines of code when working is this:
Dim email As Object
value = MyDataSet.Tables("Table")(0)(1).ToString
Msgbox(email)
However, when simply changing from "Table" to "AnotherTable", the exception is thrown. I
have seriously no idea why. I've made sure the datatypes are the same and that the values are not NULL.
What gives?Hello,
Going with your last reply, you should be accessing data via the strong typed classes that get generated.
Example using Microsoft Northwind database accessing the customers table in a MS-Access database. Note the check for Rows, we could even go farther if we are questioning issue with the data via try-catch statements writing errors to the IDE Output window.
I would highly recommend never referencing rows without first checking if there are rows and secondly never reference columns by ordinal index, always use the column name. One example with ordinal positioning, suppose someone did SomeDataTable.Columns("SomeColName").SetOrdinal(3)
and you expect the ordinal position to be 1 ? things will crash-n-burn. Food for thought :-)
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.CustomersTableAdapter.Fill(Me.MainDataSet.Customers)
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If MainDataSet.Customers.Rows IsNot Nothing Then
Dim FirstCompanyName As String = MainDataSet.Customers.FirstOrDefault.CompanyName
MessageBox.Show(FirstCompanyName)
Else
MessageBox.Show("No rows in customer table")
End If
End Sub
End Class
In this case we get the first record from below in Button1 Click
Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. -
Timeout: Tuxedo kills the service but not the database connection
Hi all,
I am experiencing some performance problems on my system due an efficient SQL and a Tuxedo improper timeout handling.
A service is using a "problematic" SQL (we will tune it but it's not the main problem). After 60 seconds from the execution, Tuxido kills the services for a timeout.
At this point I would like Tuxedo to notify DB2 database as well in order to stop processing the SQL. Instead the SQL continues running on the database (also if the service is killed) and this produce a gradual slow down of the performances.
In the UBBCONFIG, we are using a service configuration like the following timeout configuration:
.RESOURCES
SCANUINIT 5
SANITYSCAN 6
BLOCKTIME 12
.SERVICES
DEFAULT: SVCTIMEOUT=45
service1 SVCTIMEOUT=60 TRANTIME=60
service2 SVCTIMEOUT=60 TRANTIME=60
Note: not all the services are listed in the .SERVICES section and we are using the default NOTIFY as well as an OPENINFO.
Can you please help me in finding a configuration to kill both the services and the database?
Thanks in advance,
BenedettoHi Benedetto.
First of all, Tuxedo doesn't kill services, it kills servers. Your UBBCONFIG file specifies three timeouts, BLOCKTIME, SVCTIMEOUT, and TRANTIME.
BLOCKTIME specifies how long a Tuxedo API that needs a response will wait for that response. If the response isn't received in that period of time, Tuxedo will return TPETIME to the caller. As with any failure, if the request was part of a transaction, the transaction is marked rollback only. Note, this timeout does not affect the request, whether sitting in a server's IPC queue or currently executing in a server.
SVCTIMEOUT is a much more severe timeout and determines how long Tuxedo will allow a service implementation to execute. If a service implementation doesn't reply within the SVCTIMEOUT period, Tuxedo will issue an OS level KILL request to kill the process. If the server is marked restartable, Tuxedo will then try to restart the server assuming none of the restart limits have been reached. Killing the server causes the request to be lost within the server so the caller will stay blocked until BLOCKTIME is reached at which point the above actions will take place.
TRANTIME is the amount of time Tuxedo allows a transaction to remain active and viable. When this period expires, Tuxedo will mark the transaction as timed out with the only option being rollback. As well, Tuxedo aborts any API requests that would normally cause messaging to occur, i.e., making a tpcall() within a timed out transaction will fail without any attempt to call the service.
So in your case, the issue is partially that you have the values of your timeouts in somewhat reverse order. Typically we see BLOCKTIME being the smallest value, with TRANTIME typically larger than BLOCKTIME, and SVCTIMEOUT larger even still, although there are good reasons for exceptions to this guideline. Part of the reasoning behind this is that killing a server is a significant thing and its usually best to try and let the server complete whatever its doing, if if the work has been timed out either due to BLOCKTIME or TRANTIME, since the cost of killing and restarting a server is significant.
Tuxedo will notify the database of the transaction status when the application finally issues a tpcommit() or a tpabort() request, but not until then. Although, if SVCTIMEOUT is hit, then killing the server should cause the database connection to be lot.
If you could describe the behavior you are seeing and the relevant portions of your ULOG we can try to make some sense of what is happening.
Regards,
Todd Little
Oracle Tuxedo Chief Architect -
How to find the database table behind the xtags varibles?
if in xtags we find that some varibles are not having the right data coming from xml -> database tables so how can we find out the names of database table behind it .
<!-- <xtags:variable id="msds" context="<%=specs%>" select="//header/msds"/>
<a href="/MSDS/<%=msds%> target="#">MSDS</a>
-->
now how to find the database table and the column name of database table from which the value of id msds is coming
Here they have stored the name of pdf file . from this code pdf file is displayedHi,
Thanks for your response. It is PM related. When I run a T Code - IK18, the field Total Counter Reading field appears. I am looking for that particular fields actual table name and field name. I think I have found it in IMGR table. Now I want to get IMRG-READG in my report, but there is no common fields in neither MKPF or MSEG table. So what can I do to connect IMRG table with either of them ? -
Enterprise Manager is not able to connect to the database instance. The sta
Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
Listener is shown as unavailable.
lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-NOV-2012 11:52:40
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=freds-server.i-surname.co.uk)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 27-NOV-2012 11:50:02
Uptime 0 days 0 hr. 2 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/11g/network/admin/listener.ora
Listener Log File /opt/oracle/diag/tnslsnr/freds-server/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=freds-server)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=freds-server)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "GWORCL.i-surname.co.uk" has 2 instance(s).
Instance "GWORCL", status UNKNOWN, has 1 handler(s) for this service...
Instance "GWORCL", status READY, has 1 handler(s) for this service...
Service "GWORCLXDB.i-status.co.uk" has 1 instance(s).
Instance "GWORCL", status READY, has 1 handler(s) for this service...
The command completed successfully
I suspect that this is not just an OEM issue.
see
Listener working but not working for Enterprise manager oracle 11gr2 Linux.
for configuration files
Edited by: Neill_R on Nov 27, 2012 11:51 AMThis was solved by : Osama_mustafa
in the general questions forum
emca -deconfig dbcontrol db -repos drop
emca -config dbcontrol db -repos create -
Dear all,
I have trouble to connect em console to database instance. My database is 11.2.0.3 and before this I did the patching from version 11.2.0.1, and now i cannot get fully functionality of em console.
error is:
Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
It shows that agent is connected, database and listener is up.
I did recreation, dropping and recreating with emca, but no success.
Did anyone have similar problems with em console?
Regards,You need to first of all, Connect to the Database as SYSDBA (because your were not connected), then start the database (because it is not started).
If you already used the username and password in the command prompt and you are sure that the database is already stared, then you need to set the ORACLE_SID before you open SQLPlus. This is because if SQLPlus does not know the SID you are connecting to, it simply thinks it is not up or has no service hence the message "Connected to an idle instance".
Maybe you are looking for
-
Why does the remote app not work with Apple TV 1st gen anymore.
This is a review I just left on the app store, I am posting it word for word, and i hope that dowsnt complicate anything. My hope is that this finds the right party to address the situation, and if any user has a fix, I would love to hear it. I have
-
Does Reader allow one to make comments?
I just downloaded Reader onto new MacBook. I was asked to review and comment on a document send to me as pdf. Thought I would have to print it and mark it up by hand, but it appears that reader allows comments and/or sticky notes to be attached. I
-
I get a monthly email from BT advising me that my new bill is ready. The problem is that we use OneBill and the account number given isn't my OneBill account number. I've spoken to customer services who can't see that this account number is connected
-
Image stays pinned but it's not pinned? How does this happen?
I recently bought a template form Musegain and one of the images is a fill in a rectangle at 100% width. The image stays stationary when scrolling the page in a browser yet it is not pinned. Any ideas why and how this can be done would greatly appr
-
Client Independent Customizing
Hi Experts, Can anyone help me to find all the client independent customizing that may affect PS module? Thanks in advance, Neil