How to add an data in an existing file
Hi, I have the following problem:
I am implementing a data logger using the RS232 port and Labview, I have not problems with data capture my problem occurs when I store the data in a file, I need that every time the data is registered this data must be updated in the file
How do I can do this?
If the data file is some type of delimited text (tab-delimeted text, csv, etc) you can just use the Write to Spreadsheet File.
Just make sure you wire True to "Append to File?"
Cory K
Similar Messages
-
How to add new fields to the DME file in F110
Hi,
We have a requirement add new fields to the file that is used in F110.
.I did go in to DMEE transaction but I hae no idea how to add new fileds to the existing file.
Can anybody please help me in resolving the issue.
Thanks
Venkat
Edited by: Venkat R on Jun 8, 2009 8:45 AMHi,
There is no function module for that, We have created our own function module and attached to that field.
Refer the below code. This will fetch the document number.
DATA: lwa_item TYPE dmee_paym_if_type,
l_fpayp TYPE fpayp,
l_fpayhx TYPE fpayhx,
first_flag TYPE c,
lv_lifnr TYPE lifnr,
voucher_id TYPE string,
voucher TYPE string,
invoice_id TYPE belnr_d,
voucher_len1 TYPE i,
voucher_len TYPE i.
TYPES:
BEGIN OF lt_regup,
xblnr TYPE xblnr1,
belnr TYPE belnr_d,
END OF lt_regup.
DATA: lt_regup TYPE STANDARD TABLE OF regup,
lv_regup TYPE regup.
Hope this helps.
Raja.A
Edited by: Raja.A on Feb 16, 2011 7:17 PM -
How to add new row and update existing rows at a time form the upload file
hi
How to add new row and update existing rows at a time form the upload file
example:ztable(existing table)
bcent smh nsmh valid date
0001112465 7.4 26.06.2007
0001112466 7.5 26.06.2007
000111801 7.6 26.06.2007
1982 7.8 26.06.2007
Flat file structure
bcent nsmh valid date
0001112465 7.8 26.06.2007 ( update into above table in nsmh)
0001112466 7.9 26.06.2007 ( update into above table in nsmh)
000111801 7.6 26.06.2007 ( update into above table in nsmh
1985 11 26.06.2007 new row it should insert in table
thanks,
Sivagopal RHi,
First upload the file into an internal table. If you are using a file that is on application server. Use open dataset and close dataset.
Then :
Loop at it.
*insert or modify as per your requirement.
Endloop.
Regards,
Srilatha. -
How to add a user to an existing group????
Can't seem to find how to add a user to an existing group (staff). I am trying to share data (rw) between my admin account (root) and a development user. On any other UNIX system I would just add the user name in the /etc/group file & logout/login in. It don't work here!
Suggestions??
thanx
mtOS X doesn't use /etc/groups. This file is present but does nothing AFAIK.
Leopard uses directory services to handle groups and users.
membership in groups with GID>500 can be handled from GUI in system preferences->accounts. other groups can be handled from terminal with dscl (directory services command line). do man dscl for details.
to add a user to a group you'd do
sudo dscl . append /groups/groupname GroupMembership username
However, there should be no need to do it with "staff". every user with an account on your computer is a member of staff by default. -
How to add the date field in the dso and info cube
Hi all.
I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
Thanks & Regard
KKmy prob is solved
KK -
How to add a date suffix to the log file name
In Windows, I want to run certain commands and save the output to a logfile every day. How to add a suffix to the log file name so I can distinguish which log file for which day?
e.g. cmd >> logfile.dateAZ wrote:
In Windows, I want to run certain commands and save the output to a logfile every day. How to add a suffix to the log file name so I can distinguish which log file for which day?
e.g. cmd >> logfile.datemy best friend name is "google", refer to this [url | http://stackoverflow.com/questions/203090/how-to-get-current-datetime-on-windows-command-line-in-a-suitable-format-for-usi]
This is what i did
1) created a dummy file in c drive
2) copy pasted below lines, you can play around more with the format
set _my_datetime=%date%_%time%
set _my_datetime=%_my_datetime: =_%
set _my_datetime=%_my_datetime::=%
set _my_datetime=%_my_datetime:/=_%
set _my_datetime=%_my_datetime:.=_%3) Rename the file from dos
ren some.txt dummy_file_%_my_datetime%.txt4) Here goes the output
C:\dir
dummy_file_Mon_09_20_2010_161347_21.txt
Most of the code i copied from above url, you can tweak a little bit based on ur requirement and format.
Regards
Learner -
[Ai-CS4] How to add an art board to existing document ?
hi all,
can anybody suggest me how to add a new artboard to existing document? I didn't find any ArtBoard Palette in CS4. But in CS5 it is given.
thanks,
D.AThe Artboard panel is new to AiCS5. In CS4, a new artboard can be added by doing either of the two:
1. Pick the Artboard Tool and click-drag it in the canvas area of the Illustrator document.
2. Pick the Artboard Tool, click on the 'New Artboard' button in the Control Panel. Then select the desired size from the list of Artboard Presets in the Control Panel and then click in the desired area of the canvas to add a new Artboard.
Hope this helps.
Neeraj -
How to add one date column and charecter column
hi all,
i have 3 column start_date(date),end_date( date),duration (varchar2)
i am trying to add start_time and duration like this
end_date := to_char(start_time) + duration;
but its showing value_error
how to add one date column and charecter column.
Thanksyou need something that does:
end_date (DATE) := start_date (DATE) + <number of
days> (NUMBER)Not necessarily, because if the duration is just a string representation of a number then it will be implicitly converted to a number and not cause an error
e.g.
SQL> ed
Wrote file afiedt.buf
1 with t as (select to_date('01/07/2007','DD/MM/YYYY') as start_dt, '3' as duration_days from dual)
2 -- END OF TEST DATA
3 select start_dt + duration_days
4* from t
SQL> /
START_DT+
04-JUL-07 -
How to add TIMESTAMP data type in Enterprise Architect...?
Hi all
There is no data type of timestamp in Enterprise Architech. There is only
DATE type. I have ERD prepared from Enterprise Architech. How to modify
DATE type to TIMESTAMP type.
How to add TIMESTAMP data type in Enterprise Architect or in ERD ?
Thanks in advance,
PalHave you asked this question of the vendor of Enterprise Architect? They may have a later version that supports the various TIMESTAMP data types. If your ERD tool doesn't support a data type, other than talking to the vendor or working around the problem (i.e. generate DDL to a text file and edit it before applying it to the database), you're probably out of luck.
Justin -
Hi Friends,
We have 4 below file systems.
Sybase/TST/sapdata_1
Sybase/TST/sapdata_2
Sybase/TST/sapdata_3
Sybase/TST/sapdata_4
Already we have added one data file each in sapdata_1 and 2. Sapdata3 and 4 are emptry.
How to add new data file in sapdata3 or 4.
Please provide syntax for creating a new data file and steps for the same.
Regards,
Karthik.Just for the record: you have here the DBACockpit documentation:
https://websmp201.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000571562012E
And this is a sample of the extend to be executed:
Regards,
Victoria. -
How to add the Date Track Button
How to add the Date Track Button on a customized Form ?
1. Profile of Datetrack:Enabled = Yes
2. All HR Forms includes the Date Trak Button
3. On the Customized Form "Alter Date Track" can be activated from Menu :Tool --> Alter Date Track.
I'd Like the Button to appear on button ruller.
Thanks for helpRachel,
Please review the following notes, it may be helpful.
Note: 177733.1 - How Date Track Works
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=177733.1
Note: 169059.1 - Understanding the Flow of Date Track Dates Through the Forms
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=169059.1 -
Does anyone know how to Add a date drop down list to a pdf file?
Can someone tell me how to add a Date drop down list in a form
There's no built-in function that does that in Acrobat, but there are some third-party tools that do.
The two most known ones are by FormRouter, which is free and based on form fields (but also a bit buggy), and a non-free version created by Max Wyss, which is based on a dialog object. -
How to add more disk space into / root file system
Hi All,
Linux 2.6.18-128
can anyone please let us know how to add more disk space into "/" root file system.
i have added new hard disk with space of 20GB,
[root@rac2 shm]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 965M 767M 149M 84% /
/dev/hda7 1.9G 234M 1.6G 13% /var
/dev/hda6 2.9G 69M 2.7G 3% /tmp
/dev/hda3 7.6G 4.2G 3.0G 59% /usr
/dev/hda2 18G 12G 4.8G 71% /u01
LABLE=/ 2.0G 0 2.0G 0% /dev/shm
/dev/hdb2 8.9G 149M 8.3G 2% /vm
[root@rac2 shm]#Dude! wrote:
I would actually question whether or not more disks increase the risk of a disk failure. One disk can break as likely as one of two of more disks.
Simple stats. Buying 2 lottery tickets instead of one, gives you 2 chances to win the lottery prize. Not 1. Even though the odds of winning per ticket remains unchanged.
2 disks buy you 2 tickets in The-Drive-Failure lottery.
Back in the 90's, BT (British Telecom) had a 80+ node OPS cluster build with Pyramid MPP hardware. They had a dedicated store of scsi disks for replacing failed disks - as there were disk failure fairly often due to the number of disks. (a Pryamid MPP chassis looked like a Xmas tree with all the scsi drive LEDs, and BT had several)
In my experience - one should rather expect a drive failure sooner, than later. And have some kind of contingency plan in place to recover from the failure.
The use of symbolic links instead of striping the filesystem protects from the complete loss of the enchilada if a volume member fails, but it does not reduce the risk of loosing data.
I would rather buy a single ticket for the drive failure lottery for a root drive, than 2 tickets in this case. And using symbolic links to "offload" non-critical files to the 2nd drive means that its lottery ticket prize is not a non-bootable server due to a toasted root drive. -
How to export a data as an XML file from oracle data base?
could u pls tell me the step by step procedure for following questions...? how to export a data as an XML file from oracle data base? is it possible? plz tell me itz urgent requirement...
Thankz in advance
BalaSQL> SELECT * FROM v$version;
BANNER
Oracle DATABASE 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS FOR 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
5 rows selected.
SQL> CREATE OR REPLACE directory utldata AS 'C:\temp';
Directory created.
SQL> declare
2 doc DBMS_XMLDOM.DOMDocument;
3 xdata XMLTYPE;
4
5 CURSOR xmlcur IS
6 SELECT xmlelement("Employee",XMLAttributes('http://www.w3.org/2001/XMLSchema' AS "xmlns:xsi",
7 'http://www.oracle.com/Employee.xsd' AS "xsi:nonamespaceSchemaLocation")
8 ,xmlelement("EmployeeNumber",e.empno)
9 ,xmlelement("EmployeeName",e.ename)
10 ,xmlelement("Department",xmlelement("DepartmentName",d.dname)
11 ,xmlelement("Location",d.loc)
12 )
13 )
14 FROM emp e
15 , dept d
16 WHERE e.DEPTNO=d.DEPTNO;
17
18 begin
19 OPEN xmlcur;
20 FETCH xmlcur INTO xdata;
21 CLOSE xmlcur;
22 doc := DBMS_XMLDOM.NewDOMDocument(xdata);
23 DBMS_XMLDOM.WRITETOFILE(doc, 'UTLDATA/marco.xml');
24 end;
25 /
PL/SQL procedure successfully completed.
. -
How to add norwegian language to my ipa-file in Adobe Flash Professional and Settings for AIR
Hi,
How to add Norwegian languages to my ipa-file in Adobe Flash Professional and Settings for AIR?
The Norwegian users get my apps in english instead of Norweigan. Desperate for help!
Regards YlvaSorry but you will not get help here for that problem. This forum is about AIR Help, an online help format produced using AIR, it is not about AIR itself.
I'll see if I can move it.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge
Maybe you are looking for
-
Is there a way to delete only cookies in safari 5.1?
Is there a way to delete only cookies in safari 5.1? If you go to Preferences -> Privacy -> details, you can choose to remove "website data" but sometimes this includes the local cache and also local storage. Is there any way to delete JUST/SOLEY the
-
Printing by Bonjour to HP Color LaserJet 3550n
I have several Mac users who want to print to the networked CLJ3550n provided by their department. Although the CLJ3550n has a static IP number as do the Mac's, it seems to be accessible only by Bonjour. Once a Bonjour printer for it has been created
-
How can I restore bookmarks from a hard drive?
I had a hard drive problem and could not run windows in the hard drive.I was able to copy the drive to another drive. Now what I would like to do would be to find a file that has the bookmarks on that drive at included on the new hard drive. Can this
-
on the right hand side of the Print out there are black lines appearing in the print out . I got the toner cartridge refilled also. what can i do to remove those lines on the right handside ? I would request the HP experts to please advise solution
-
Installation Display Problem - missing graphics
Morning folks, I've just started to install Sun Express Developer Edition from DVD on to my PC and can't get past the first set of graphical screens. The graphic installer starts properly and I get the graphical selections/options on screen but the b