Query abt setAttribute('width','500');
Hello Every body,
I am using javascript to set the size of button.
when I use
setAttribute('width',500);
It works for ie but not for mozilla
for mozilla
setAttribute("width","191px"); works
I do not want to check navigator.appName to check browser type and then use
setAttribute('width',500); or setAttribute("width","191px");
Is there any solution
Thanks
Waiting for your response
Thanks guys for the help.
Just to clarify what I am looking for, here are the tables. The main table from access database is -
Length
Width
No of Available pieces
300
600
20
600
400
10
900
600
5
………..the list is very long.
User enters the value : Length Needed = 900 , Width needed = 1200
Query gives this output -
Option 1
Length
Width
No of needed pieces
300
600
6
Option 2
Length
Width
No of neede pieces
900
600
2
Option 3
Length
Width
No of needed pieces
900
600
1
300
600
3
………so on
Similar Messages
-
How can I query the rendered width of a text object
Does anyone know of a way to query the rendered width of a bound field object. We are using a proportional font (Times New Roman) and need to figure out, how wide the output is going to be. Thank you!
Hi Niall, thanks again. I am currently working on a project where we convert Crystal Reports
documents to LiveCycle Production Print with the goal of creating the exact same output in
LiveCycle as it was produced in Crystal Reports.
We define a field in LiveCycle with the exact same properties for width, height, font, font size etc. as
it is defined in Crystal Reports.
When we populate the field with data that exceeds the defined width of the field, the data gets cut
off at a different position than in Crystal Reports, sometimes even in the middle of a character.
If I could query the length of the rendered output, I could shorten the input data until the rendered
output would fit in the field. -
Problem saving a report when using rpad in query for fixed-width
Hi There,
I'm using 9.0.4 and trying to make and save a report that will eventually produce a fixed-width text output (as opposed to delimited).
I keep getting: REP-1051 Unable to save document to file mypath/filename
REP-1070 Error while opening or saving a document - Non-specific file error occurred.
My sql query is a large string that RPADs everything and concatenates into one very long string (about 600 characters). The report runs fine while I'm working on it, but I can't save it. I finally pared the query down to a small fraction of what I need, and it did save, but as soon as I started adding back to the query, it failed again.
Does anyone know how to work around this? I don't have any flexibility with my version of Reports, as the client will not update their version.
TIA, JHi Ronan,
You can use the parameter WRAPPING to adjust the height of the header lines. Please have a look at note 1292696 which explains how to.
Best regards,
Janine -
Basic query abt business logic
i need to have a website which will search from a database and display results is it advisable to have my business logic (i.e database query)in servlet only since it is a small aplication or i should have a different file for business logic?
I am very new to this technologies no do not have much knowledge.
i am thinking to use jsp for display since it automatically handles sessions.
tiaso i should have my database query logic
based on search parameters in my servlet only???No
should have a different file for business logic?Yes. Your servlet can create an object of a Search class(in a different file) and call its methods to do the searching. Then your servlet can attach the result to the request:
request.setAttribute("someName", SearchResults);and then forward the request to the JSP using a RequestDispatcher:
RequestDispatcher view = request.getRequestDispatcher("/results.jsp");
view.forward(request, response);Then your jsp can retrieve the data:
SearchResults data = (SearchResults) request.getAttribute("someName");MVC. Model View Controller:
Controller = servlet
Model = Search class
View = jsp
Your directory structure might look something like this:
yourApp
--searchForm.htm
--results.jsp
--WEB-INF
-------classes
-----------com
---------------myWebsite
--------------------web
--------------------------MyServlet.class (package com.myWebsite.web;)
--------------------model
--------------------------Search.class (package com.myWebsite.model;) -
After Query execution report throwing "500 Internal server error".
I have created a new query and transported to QA till last week it was working, due to some testing perpose I have created copy query and added new functionalities and was successful and still working fine in QA.
After that I have made the same changes in DEV and moved the original query one to QA and after execution report is throwing an error "500 Internal server error".
Contacted BASIS and they said the conncections are fine.
Can anybody please suggest to resolve this issue!
Regards,
VJHai All,
First I am running the report from Query designer...
And Main report is created in DEV, moved last week into QA , then saved as MAIN_copy in QA and added extra fields was running fine.
Then went to DEV made the same changes to MAIN report like for the Query MAIN_copy and tranported to QA, now MAIN query is throwing "500 internal server error when i am running from query designer in QA.
When i try to run from RSRT it is going to debug screen @ the breakpoint and caught exception, if i stop and see the error it shows the below
System error in program SAPLRZI0 and form RESOLVE_SELECTION_OBJECT-01- (see long text) -
hi all,
my query is on outbound interface, i have already an idoc which has data i have to retrieve it from z_tp_idocread function module.and i have to map the fields with idoc fields those idoc fields i can find from zrmd_a07 for custom fields and hrmd_a07 for normal fields.so i have to map in the format of header trailer and body and i have to send it ti flat file
through outbound interface.
i want an example program for this.its very urgent.
try to help me in this asap.
thanking you,and how do we .. create a connection pooling
-
Hi,
I am working on two reports in one client wants to see all those orders and order items against which delivery status is ""A or B". Can anyone please tell me how to do that?
Second is they want to see sales order for one customer by various order types..like sales order, return order, credit order and debit order. Can anyone please help me how to do this scenarios and deliver the results.
ThanksHey,
For your 1st requirement, you can filter the Order Item and restrict it by A and B and
For your 2nd requirement, create a variable on the characteristic Order Type (Sales Order Type) and drag this characteristic in the Free characteristic or Filter. When you execute the query it will ask you give order type, you can create this variable as a selection option, multiple or intervals.
Infact you can use this method for your 1st option as well, you can create a variable for delivery status where you can give values like 'A' or 'B'.
I hope this will resolve your issue.
Let me know.
~Teder
Edited by: Teder on Feb 26, 2009 1:52 PM -
[GeForce 6] Query abt compatibility (NX6800GT-TD256 )
Hi,
I wanted to go for NX6800GT-TD256 (or NX6800 Ultra-T2D256) but the problem is that my mobo ( which is Gigabyte 7VKMP)
supports AGP 4x only and I don't want to upgrade my mobo currently, so I wanted to ask will this MSI card work on my mobo ( as I know its AGP 8x)
Pls help.I posted this query in another public forum, and somebody told me that he also tried to use 8x card(didn't specified name) in 4x slot but it didn't worked. He told me to refer to motherboard manual and the card docs which I m going for... told me to check for some voltage issues .
-
Hi All,
I have designed 3 fla's like login, main menu,help.
All swf's embed in aspx page. All under 1 solution.
I'm having enable full screen option in loginpage. If I
select this,
All 2 swf's also in full screen mode, Unless I uncheck the
full screen option.
I wrote the full screen function in login page only, How to
pass to another fla's?
I used SendAndLoad
i.e Lobby_lv.load("url"+"?"+fullscreen, "_self", "POST");
In PathURL I have mentioned the Lobby page. If the fullscreen
option is true means, lobby.fla gets the value and enable the full
screen function. But I'm not getting the value in the lobby.fla
How to solve this?
Thanks in Advance>>I used SendAndLoad
i.e Lobby_lv.load(PathURL+"?"+fullscreen, "_self", "POST");
I'm not quite sure what you are trying to do. The LoadVars
class, is not for
loading swf files, it is for sending and loading data to/from
a server-side
script. If you want to load a movie, then the MovieClipLoader
class is your
best bet - in AS2 anyway.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
Query abt creating a directory?
i created a directory as
create or replace directory image as 'd:\photos\';
i got message as directory created.
does my image directory contains all the data as in 'd:\photos\ '??
if yes how to know tht my image directory has all the data from 'd:\photos\'
if no then how to insert the data from 'd:\photos\' to my image directory ??
Thanks in Advance,.......
Regards,
Santosh.MinupureyCREATE DIRECTORY just create a logical link in your database between the given name and the physical directory. This order will not create the physical directory nor put anything into it. You have to copy the file in that physical diorectory via your system.
Once the Oracle Directory is created , you have to grant rights like READ/WRITE to it.
At this moment, you would be able to use this Oracle Directory with the UTL_FILE or DBMS_LOB package's functions to read/write the content of this directory.
Take the time to read the documentation, rather than doing only one part of the job, then counting on the Forum to get the rest of the process, then keep also in minf that this has nothing in relation with the Oracle Forms product.
Francois -
Small query abt call transaction
Can we call two transaction in a bdc call transaction program.....Pls help me asap..........
Hi Nagarjuna,
You can call as many transactions as you want in your program. But your BDC internal table should be refreshed and re-populated with the appropriate transaction information. If you don't do that then only the first transaction will execute and all other calls will complain about screen not found. So your sequence should be
Fill BDC itab with transaction data for transaction XYZ.
Call transaction XYZ.
Refresh BDC itab.
Fill BDC itab with transaction data for transaction ABC.
Call transaction ABC.
continue as many times as needed.
If the transactions are interdependent, then you need to look into locking errors, update delays and buffered data vs database data.
If these posts were helpful, please reward and close the post. If you have more specific questions, revert back to the forum.
Regards,
Srinivas -
Hi,
Is there any possiblity to connect dll directly to flash
using flashRemoting.. will it support vb.net ?I have attached the actionscript for the data connection. The
odd thing about this issue is some of the data is being displayed
from the webservice call and then some is not. The drop down list
is not being populated but I am getting some text in a textarea
that is on the form. My datasource is a SQL Server database and in
ColdFusion administrator, I used the actual machine name to point
to the datasource because it is directly linked to my web server.
This configuration is the one giving me problems. If I change the
datasource to my test SQL Server (server.somewhere.com) it works
fine. Does this help any? -
Query abt XCELSIUS ENGAGE SERVER
Hi Gurus,
I want to make dashBoard reports using our SAP BI 7.0 as source system.
What is the BO product I have to download?
Is it XCELSIUS ENGAGE SERVER??
What is the prerequisites?
Kind Regards
BiswarupBiswarup,
You may wish to refer the link below, Xcelsius SP2 is now with the SAP BI connector. You can get this feature in Engage, Engage server and Enterprise version as well...so anything version is fine.
/thread/1449759 [original link is broken]
-Anil -
Hi,
I have a requirement like this,I have taken LinkToAction UI element on one view and some UI elements on another view.If I click on LinkToAction the other
view has to be displayed on the same page.
Thanks&Regards
MadhuHi Armin,
I have exactly done like u told.
But it is giving this exception on clicking the linktoaction
com.sap.tc.webdynpro.progmodel.context.ContextException: Path null does not point to an attribute, but to com.sap.tc.webdynpro.progmodel.generation.DelegatingView@591cb2
at com.sap.tc.webdynpro.progmodel.context.Paths.createAttributePointer(Paths.java:94)
at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.TextEdit.getValue(TextEdit.java:989)
at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.TextEdit.getValue(TextEdit.java:1041)
at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.TextEditAdapter.getText(TextEditAdapter.java:226)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.TextEditRenderer.render(TextEditRenderer.java:35)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:285)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:97)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:252)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:193)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:41)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:285)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:97)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:374)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:51)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:285)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:97)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:45)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:285)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:97)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:545)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:354)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:254)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:157)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:416)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:640)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Thanks&Regards
Madhu -
if any1 has used j2me polish,then plz answer.
when i open the sample projects from j2me polish,it gives error
saying"#style is unknown preprocessor directive".I hav installed j2me polish properly.im new to polish but.pls reply.smart@gayu wrote:
if any1 has used j2me polish,then plz answer.J2me is a great tool for generating fantastic interfaces!
its a pity that most users do not know to use it
when i open the sample projects from j2me polish,it gives error
saying"#style is unknown preprocessor directive".I hav installed j2me polish properly.im new to polish but.pls reply.do you know to use apache ant?
you need ant to build the application
1. set the bin directory of ant in the class path
2. open the command prompt and navigate to the directory of the sample (make sure the dir contains the file 'build.xml')
3. in the command prompt type 'ant' (without quotes)
cheers
Maybe you are looking for
-
Following code uses iterator.remove() ArrayList.remove(). public class CollectionRemove private static void checkIteratorRemove() List<String> list = new ArrayList<String>(); list.add("1"); list.add("2");
-
Is it posssible to make plahylists in the library on the pc in itunes?
i have been told that i shouldnt delete songs from my library even if i have converted them to my iphone device on the pc cause next time i will syns my ihpne to pc the songs will be deletred from my iphone as well.the list in the library under the m
-
Zen Micro's Battery flat after 14 hours of being turned of
Now I'm confused, I fully charged my Zen Micro twice and then turned it off, and overnight the battery is fully drained. This cant be right can it's I know others have experience the rundown issue, but making it sooo flat that it wont even turn on? D
-
Cant see full image on facebook
in facebook.com when i try to open a photo it will not load, i can see them miniture, but not open large no problem before downloading the 4.0 new version i checked with options and eventually blocked images but it is not that kind of problem thanks
-
Dear all, I am new to workflow . I am doing one scenario ,in that 5 level of approval.i am completed the first level. approving the first level The approver give the comment and attachment in the mail i need to forward