How to print data at specified columns in a file ?
Friends,
I wrote a data acquisition software in JDK1.2.2 on Win�98.
I have a raw data file where data are stored row wise separated with comma like this,
Data,Time,Var1,Var2,Var3,
30:05:2002,10:15:50,100,200,300,
Codes has written to convert this data file to create a text file where data are printed, separated with tabs, like this
tab--> tab--> tab--> tab--> tab--> newline
Data Time Var1 Var2 Var3
30:05:2002 10:15:50 100 200 300
Now my question is that, is it possible to place this data in text file in desired columns without using tabs ? Like,
Col-1 Col-24 Col-46 Col-63 Col-82
| | | | |
Data Time Var1 Var2 Var3
30:05:2002 10:15:50 100 200 300
I need suggestions,
Avijit
What's wrong with tabs?
Anyway, you might try formatting the text with HTML - very handy for reports etc.
Similar Messages
-
How to print Data Model in Report??
Do anyone know how to print Data Model??
Thanks your help.
- FrankHi Venkat,
Thanks alot.... i am checking the appendix k.
I want to know that if i want to customize the report as per the client requirement,
can you please let me know which template i will use if i required remittence advice as well as check print data on the layout.
The following is the list of field i required:
Vendor ID
Check Date
Check number
invoice date
invoice/ CR memo number
invoice description
invoice gross amount
invoice discount amount
invoice net amount
total gross amount
total discount amount
total net amount
logo
company name and info
bank name and info
check number
check amount spelled out
check date
check amount numeric
payee name
CEO signature
MICR check number
MICR routing number
MICR bank account number
mailing return address
mailing address
Venkat it would be great help if you please let me know the exact process to be follow for check printing report.
I worked on bi publisher report in 11i, but in 12i the process is bit different.
also if you have any template ready can you please send me on my mail id ... i forwarded you the test mail from my official id or on [email protected]
Looking forward to your kind response.
Regards
Ratnesh -
How to print date & time in photos
Thanks for the help.
I need to print either photos with time and dates in them... or the Bridge contact sheet with date and time info.
The final printed image will be used in court to photo document evidence.
Do I have to do a screen capture or is there some other way?
My camera will not allow me to imprint time and date.
I'm using CS4 on both Windows and Mac.
Thanks again in advance for the taking the time to help.
Dances With Pixels
I may have sent this twice, but I'm new to this and this is my first time trying to post.Thank you for taking the time to respond. Much appreciated.
And will follow up on your suggestions.
Date: Tue, 10 Aug 2010 23:55:31 -0600
From: [email protected]
To: [email protected]
Subject: How to print date & time in photos
I think there are (various) Scripts about for that.
For example addExifDate1.5.jsx:
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1346521
One should be able to adapt it to include the time.
You could ask in the Photoshop Scripting Forum or http://www.ps-scripts.com/
> -
How to print table items in column in smartform in 4.6c version.
Hi Experts,
I want to print the items i have in columns (like name invoice number) in smartforms but when i create table in main window there no options for header footer and main area, i have created the template for header and footer but how i print the items in columns. Pls reply ASAP.
Thanks in advance,
Abhishek Pandey.Hi
create a table under main window
Under the Header create a Row or Line
Under the Row create a Cell and Under that Cell create a text field
In that text you can write what ever field name u want to write
Reward if it is helpful to you
Thanks
Krushna -
How to print date & time stamp on photos?
How to print date & time stamp on photos?
Three methods:
File>process multiple files>labels. Be sure to uncheck "same as source", or the originals will be overwritten. It is best to work on duplicate files, esp. while learning.
Use the horizontal or vertical type tool to add the information manually to each picture file
If the same information is to be applied to several pictures, e.g. a copyright notice, use of a brush made in PSE is very efficient -
How to print date/time in report page footer?
Hi
I have a report which users can print as PDF.
However, I like to display current date/time in report footer.
I can see the Page Footer in section but can't figure out how to print date/time there.
Thanks for help.hi movilogo
Please try this.
Create hidden item P1_DATE
Create On load process in page 1 and put this code
begin
:P1_DATE:=TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MM:SS');
end;
Open your region in Page 1 put this code in Footer area
*&P1_DATE.*
Refresh your page.
you will get the output like this.
16-SEP-2009 11:09:17
thanks
Mark Wyatt -
How to print date in cheque box in sapscript??
Hello Guru,
We have developed or design new form for cheque printing in sapscript
how to print date in cheque box in sap.
1
6
1
2
2
0
1
1
thanks in advance.
Thanks & Regards
Richahi,
If your requirement is to display date with box,first create a Box by using following syntax
* &sy-datum&
/: BOX XPOS '0' CH YPOS '3.65' LN WIDTH '77.50' CH HEIGHT '4.5' LN FRAME '10' tw
then adjust the box size according to your requirement by changing xpos,ypos,width and height
with regards
Edited by: naresh bammidi on Dec 16, 2011 8:00 AM -
how to print data in the following format
"CCMMDDYY"hi
good
yes you can very much print in that format, just follow this process
1-declare 4 strings
2-store all the different type of data in different variables
3-concatenate them and store them in a different variable
4-display tht varibale which contain that concatenate value
thanks
mrutyun^ -
How to Select data using same column name from 3 remote database
Hi,
Can anyone help me on how to get data with same column names from 3 remote database and a single alias.
Ex.
SELECT *
a.name, b.status, SUM(b.qty) qantity, MAX(b.date) date_as_of
FROM
*((table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3)a,*
*(table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3)b)*
WHERE b.dept = 'finance'
AND a.position = 'admin'
AND a.latest = 'Y' AND (b.status <> 'TRM') AND b.qty > 0;
GROUP BY a.name, b.status ;
NOTE: the bold statements is just an example of what I want to do but I always gets an error beacause of ambiguous columns.
Thanks in advnce. :)
Edited by: user12994685 on Jan 4, 2011 9:42 PMuser12994685 wrote:
Can anyone help me on how to get data with same column names from 3 remote database and a single alias.Invalid. This does not make sense and breaks all scope resolution rules. And whether this is in a single database, or uses tables across databases, is irrelevant.
Each object must be uniquely identified. So you cannot do this:
select * from (table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3) a3 objects cannot share the same alias. Example:
SQL> select * from (dual, dual) d;
select * from (dual, dual) d
ERROR at line 1:
ORA-00907: missing right parenthesisYou need to combine the objects - using a join or union or similar. So it will need to be done as follows:
SQL> select * from (select * from dual d1, dual d2) d;
select * from (select * from dual d1, dual d2) d
ERROR at line 1:
ORA-00918: column ambiguously definedHowever, we need to have unique column names in a SQL projection - so the join of the tables need to project a unique set of columns. Thus:
SQL> select * from (select d1.dummy as dummy1, d2.dummy as dummy2 from dual d1, dual d2) d;
DUM DUM
X X
SQL> I suggest that you look closely at what scope is and how it applies in the SQL language - and ignore whether the objects referenced are local or remote as it has no impact to fundamentals of scope resolution. -
How to copy data from one column to other column
hi,
can any one tell me how to copy data of one column to other column for some specific data
example
productno ocalyear actualsales prevplansales currentplansales
p001 2007 100 120
p002 2007 90 100
p003 2007 120 130
p004 2007 140 120
p005 2007 150 150
i want to copy data of p001 and p002 from prevplansales to current plansales
productno ocalyear actualsales prevplansales currentplansales
p001 2007 100 120 120
p002 2007 90 100 100
p003 2007 120 130
p004 2007 140 120
p005 2007 150 150
is it possible to do?
please suggest me.
i will assign pointsHi,
I think the needed techniques are already described in the documentation, e.g. in
http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
or
http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
The main techiques used in the above example to bind the filter of the planning function to selected (marked) objects in the analysis item or to drop down boxes (or both). These techniques are used in the above examples.
Regards,
Gregor -
How to insert data in BLOB column??
How to insert data in BLOB column.
Create table BLOBTest (message BLOB)
insert into blobtest
(message)
values
('I am loving it');
gives error ORA-01465: invalid hex number.('I am loving it');This is not considered Binary (BLOB) data. Are you sure you don't want a Character (CLOB) column?
-
How to insert data into BLOB column using sql
Hi all,
How to insert data into BLOB column directly using sql .
create table temp
a blob,
b clob);
SQL> /
Insert into temp values ('32aasdasdsdasdasd4e32','adsfbsdkjf') ;
ERROR at line 1:
ORA-01465: invalid hex number
Please help in this.Thanks,
P Prakashsee this
How to store PDF file in BLOB column without using indirect datastore -
How to extract data From Hyperion Essbase to Flat Files
Hi ,
Can anyone tell me how to extract data from Hyperion essbase to Flat file(e.g. .csv , .txt ,...) or Oracle Table using ODI.
Regards,
AvneetHi sutirtha,
I have make one column as key column now i am getting this error,
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 1, in ?
com.hyperion.odi.essbase.ODIEssbaseException: The number of columns returned by script [10] is less than the source data columns exposed [12]
at com.hyperion.odi.essbase.ODIEssbaseDataReader.getAppData(Unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseReader.extract(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx7.f$0(<string>:1)
at org.python.pycode._pyx7.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.g.A(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Caused by: com.hyperion.odi.essbase.ODIEssbaseException: The number of columns returned by script [10] is less than the source data columns exposed [12]
at com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.validateColumns(Unknown Source)
at com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.init(Unknown Source)
... 33 more
com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: The number of columns returned by script [10] is less than the source data columns exposed [12]
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.g.A(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source) -
How to read data from a zipped MS Access file?
How to read data from a zipped MS Access file?
RPJ,
You do not need to use the Close Zip File.vi when you unzip a folder. This VI is used when you are creating a zip folder.
As for examples, I found a couple of ActiveX based MS Access examples. These programs look to be pretty basic. For more in depth example I would search Microsoft Developers Network
http://zone.ni.com/devzone/cda/epd/p/id/2188
http://zone.ni.com/devzone/cda/epd/p/id/1694
Regards,
Jon S.
National Instruments
LabVIEW R&D -
How to insert data in a column with uniqueidefier data type
Guys,
I need insert data in a column with uniqueidefier data type, when i am trying to that getting error.
error message says: "Conversion failed when converting from a character string to uniqueidentifier."
I have data in table a col1,col2,col3,col4 - col3,col4 has datatype as varchar and i am updating table b columns col1,col2 with table a col3 and col4.
Please guide how to do it.Hi,
Not any String can be convert to uniqueidentifier.
1. you have to make sure u use a value which is fir to be uniqueidentifier
2. Use convert or cast in the insert query in order to convert the string into uniqueidentifier
insert X ... convert(uniqueidentifier, 'string which fit to be convert to uniqueidentifier')
Please post DDL+DML for more specific help
DDL = Data Definition Language. In our case that is, CREATE TABLE statements for your tables and other definitions that are needed to understand your tables structure and there for let us to test and reproduce the problem in our server. Without DDL no one
can execute any query.
How to get DDL: Right click on the table in Object Explorer and select script table as CREATE. Post these create table scripts here.
DML = data manipulation language is a family of queries used for manipulating the data it self like: inserting, deleting and updating data. In our case we need some sample data in order to check the query and get result, so we need some indert query for
sample data.
If you post a "create query" for the tables and "insert query" with some sample, then we could help you without Assuming/Guessing. There is a reason that DDL is generally asked for and expected when discussing query problems - it helps
to identify issues, clarify terminology and prevent incorrect assumptions. Sample data also provides a common point of reference for the discussion. A script that can be used to illustrate or reproduce the issue you have, will encourage others to help.
[Personal Site] [Blog] [Facebook]
Maybe you are looking for
-
How do I convert a PDF of a ppt slide handout to a regular ppt?
I have a PDF of a powerpoint presentation, but it is a handout format, with 4 slides per page. I want to convert it into a normal powerpoint presentation with 1 slide per slide. However, when I save it as a ppt, it creates a presentation where each s
-
Lightning camera connection kit causing crashes (iPad mini)
I ordered an lighting camera connection kit (with a usb input) from amazon, new. http://www.amazon.com/Apple-Lightning-Camera-Adapter-MD821ZM/dp/B009WHV3XA/ref=s r_1_1?ie=UTF8&qid=1361988752&sr=8-1&keywords=lightning+camera+connection+kit It came in
-
How do I get the Grid lines to show on the printed sheet in numbers?
When I print out a page from Numbers the Grid lines do not appear. What do I need to do to correct this?
-
Closed Network is still visible
I have an Airport Express setup to create a network. On the same "wireless" tab in the AirPort Utility, when you click on the "Wireless Network Options" there is a check mark in the box for "Create Closed Network". However, the network is still visib
-
Hello , I am writing because I have a problem with my photoshop. think it's the video card , vertical red lines are created in the image when I zoom , it's virtual does not affect the final image. and not on all the zoom points this fault. And update