Help on data manipulation
Hope I can explain this correctly, here goes,
I have to do a help desk program for a conversion on a old help desk program, in each record there is supporting documents, but instead of putting this info a clob, the old program
has a pointer in the column like C:\Documents and Settings\burnetde\Desktop\Daarel's\Remedy\Ms Done DR Closure Requests.msg
and like
C:\Documents and Settings\dburnette\My Documents\SCRs & DRs\Z Cooper Update Notice_Jun 05.doc
so not all the same.
then the old program just has all the actual supporting docs in one directory so that the just the names are in there like
Ms Done DR Closure Requests.msg
Z Cooper Update Notice_Jun 05.doc
hope can I match them up and put them in a clob in my new program.
Thanks for you help,
Doug
Hi Doug
Firstly, as APEX is a web application, you won't (easily) be able to reference documents unless they are on the same server as the APEX installation - so I would forget going down that route (C:\... sounds like it may be on the client machine).
Secondly, the CLOB datatype is for Character Large OBject, for your purposes you would probably want to use Binary Large OBject (BLOB).
Now, this is simple enough, get them into the database and then you can reference them in reports etc. If you search for BLOB in the APEX help you should find plenty there to help you displaying them inline or as links.
Cheers
Ben
http://www.munkyben.wordpress.com
Don't forget to mark replies helpful or correct ;)
Similar Messages
-
I am using Labview 7.1 and have been trying to capture data from 12 channels simutaneously sampled at 2MS/s each and streaming to disk for up to a minute or more. The hardware I am using is 2 x PXI 6133 S series boards with a MXI4 link to a Pentium D 2.8 Ghz machine with 2Gb ram. I have 2 sata drives set up in a raid 0 configuration which should give me hard disk write speed faster or equal to the MXI-4 transfer speed.
I have first started off by using the example code "multi device sync - analog input- cont acquisition" which has enabled me to sync the two boards and sample at the required speed.
To stream the data to disk, I have first merged the data from each board together to save it to one file. I have tried using the storage vi's but I end up with a Daqmx read error (trying to read data that is no longer available). I have played around with the read data size to the point that I either get a insufficient memory error, or I get the "trying to read data that is no longer available" error. I have also tried using the file IO blocks with some success and have found that I have been able to stream to disk only if I configure the daqmx read block to output the data in "raw 1D I16" format and plugging it into the file-write block. In doing this, I have noticed that using multiple channels on one daqmx read task, I will get all the channels in one 1D array rather than a 2D array organized by channels. This makes it messy to read at the end of this, and I also don't want to write another vi to separate the channels, due to the high chance of getting the data mixed or messed up if I happen to change the number of channels on a board
Is there a cleaner way of streaming this data to disk and keeping the channel data separated from each other?, and/or is there a better way to capture and handle the data I need?
I have attached the vi which I have got to consistantly work streaming to disk using the raw 1D I16 format.
Thanks in advance to anyone who can help.
Attachments:
multidevicesync_analoginput_streamtodisk.vi 197 KBHi,
i can suggest following
Refer to an example VI called as "High speed data logger.VI" in conjunction with "High Speed data logger reader.vi" in Labview examples. Alhrough the logger might be in Tradiditional Daq format, it can be quite easily converted to Daq Mx format to store data in Binary (I32 format) . I have used this for many of my applications and i have found that the data retrieved does not have any "messups".
Why not keep a seperate file for each card? This way, you do not have to load your application with extra process. You only have to acquire and save. After saving in Binbary format, you can retrive it offline, convert it to ascii format and merge the data files of various cards to get one consolidated ascii data file.
hope this helps
Regards
Dev -
Hi Everyone,
I need help with oracle dates. I would like to format the following dates and keep it as a DATE datatype NOT char.
1/10/2007 8:57:45 PM TO 1/10/2007 (only the data part of SYSDATE)
1/10/2007 8:57:45 PM TO 1/1/2007 (first of the month)
If I use the To_Char function, it will return a character string. The problem is that I need to retain the DATE datatype so I can join this query to tables with date fields.This?
sql>
select trunc(sysdate)
from dual;
TRUNC(SYSD
01/11/2007 -
Hi friends.....i need a help regarding date manipulations
I want to know that how can i get the week date ranges of a specified month.
for example: the input is month = 6 and year = 2007
i need the output as 01.05.07 - 07.05.07
08.05.07 - 14.05.07
15.05.07 - 21.05.07
21.05.07 - 27.05.07
27.05.07 - 30.05.07
Waiting for your positive response.
Kesavadas Tparameters : month(2), year(4).
data : date type sy-datum.
data : last_date type sy-datum.
data : day(2) value '01', last_day(2).
data : from_date type sy-datum, to_date type sy-datum.
concatenate year month day into date.
CALL FUNCTION 'SG_PS_GET_LAST_DAY_OF_MONTH'
EXPORTING
day_in = date
IMPORTING
LAST_DAY_OF_MONTH = last_date.
last_day = last_date+6(2).
from_date = date.
to_date = date + 6.
while to_date <= last_date.
write : / from_date, '-', to_date.
from_date = to_date + 1.
to_date = from_date + 6.
endwhile.
if from_date <= last_date.
write : / from_date, '-', last_date.
endif.
This works fine. Hope this solves your problem.
Regards
Anil Madhavan -
Need Date manipulation in BI Publisher report template
Hi All,
I need date manipulation in BI Publisher report template for e.g sysdate+4 this means i need 4 days after todays sysdate.
That menas if today date(sysdate) is 09/01/2008 then i need (sysdate+4) i.e 13/01/2008.
Please help me.
Thanks
Edited by: user562690 on Jan 9, 2009 3:21 PMHi M14,
I have doubt on similar type.I have AgreementStartDate as
<AgreementStartDate>12/03/2008 07:24:10</AgreementStartDate> in XML format.
I am not able to apply same formula for thsi date format in similar manipulation.
Please help me.
TIA
skr -
How to solve "error occurred in the data manipulation engine"? 64bit Windows 7
Hi all
I'm having quite a testing time here trying to use the new SAP PA 2.0. After installation the software launches, the Automated Analytics seems to work fine but not the Expert Analytics.
Steps as follows:
Launch PA
Choose and launch Expert Analytics
Choose Try with Samples
Open the Dairy Wholesaler file
Error: An error occurred in the data manipulation engine. Check the manipulation parameters. (HDB 01001)
I also get this same error when I try to create my own New Dataset.
I’m on 64bit Windows 7 Pro
Is there anyone who knows how to solve this problem. I've searched the SCN and online and have tried the following:
1. Uninstall and re-install. Doesn't help
2. Uninstall and delete old lumira related folders on the C drive e.g. the SAPPA and SAPVI folders on the C drive, then re-install.
Much appreciated if anyone could shed some light on this. I've previously had Lumira working with no issues. I've since uninstalled Lumira, Predictive Analytics, and Infinite Insights (as PA 2.0 is all of this combined)
Regards
RiaIn case anyone has the same problem, I found the the following helpful (taken from Error after upgrading to 1.18 ). The solution is for Lumira however its the same steps for PA2
1. You might want to try a ‘clean’ uninstall / reinstall . After uninstalling, try deleting these folders:
C:\Users\Public\sapvi
C:\Users\<user>\AppData\Local\SAP\Lumira
C:\Users\<user>\AppData\Local\Temp\sapvi
In this step I searched for every SAP related file in AppData in the Public, User, and my own username folder under \Users\
2. Next, to launch the application, explicitly click "Run as Administrator" on the install file -
Dear Experts
My question: are BI cubes all about quering and reports? can perform data manipulation process, e.g. payroll, to the cube OLAP database directly, something like stored procedures in ordinary relational databases?????
thanks in advanceHi Khidir,
According to your description, you want to know if we can manipulation data in SQL Server Analysis Services database, right.
As Reeves said, SSAS provide Writeback feature which is used for budgeting, forecasting or any other scenario in which you need enter data into your structure. Please refer to the link below to wee how to enable/disable writeback feature for a cube.
http://msdn.microsoft.com/en-us/library/ms178845.aspx
However, OLAP designed for storing and retrieving large amounts of data to be used for ad-hoc reporting and analytics. And helps users to make more informed business decisions by enabling them to analyze information accumulated during a company’s day to
day operations.
http://www.informit.com/articles/article.aspx?p=1313996
http://www.nenit.net/pages/ssas.aspx
Hope this helps.
Regards,
Charlie Liao
TechNet Community Support -
hi everyone,
my name is zhi. I have asked for help in privous post about data manipulation. I am still waiting for the other respond. however, i need to finish my porject within a week. So I really hope someone can help me to get the correct responds from the sensor.
i am geting the reading from the micro-epsilon sensor , ILD-1800. however, i cannot get a proper reading. i know this is because i am no manipulating the data correctly. Since this is my first time doing it. i have no idea which way is the correct way to. Plus, no one i our school know how to do data manipulation in Labview. please help.
I have an screenshot , VI, and manufacture manual (please take a look at page 31) in attachment.
thanks in advance.
zhi
Attachments:
ILD1800_X9751053-C07.pdf 1057 KB
trial2.vi 59 KB
shot1.JPG 180 KBHi Zhi,
I'm guessing you're looking for the Join Numbers and the Logical Shift.
I'll post some screenshots that show where they are.
Message Edited by pallen on 04-24-2008 03:46 PM
Patrick Allen
Attachments:
join numbers.jpg 54 KB
Logical Shift.jpg 53 KB -
Is there a Java utility class to help with data management in a desktop UI?
Is there a Java utility class to help with data management in a desktop UI?
I am writing a UI to configure a network device that will be connected to the serial port of the computer while it is being configured. There is no web server or database for my application. The UI has a large number of fields (50+) spread across 16 tabs. I will write the UI in Java FX. It should run inside the browser when launched, and issue commands to the network device through the serial port. A UI has several input fields spread across tabs and one single Submit button. If a field is edited, and the submit button clicked, it issues a command and sends the new datum to the device, retrieves current value and any errors. so if input field has bad data, it is indicated for example, the field has a red border.
Is there a standard design pattern or Java utility class to accomplish the frequently encountered, 'generic' parts of this scenario? lazy loading, submitting only what fields changed, displaying what fields have errors etc. (I dont want to reinvent the wheel if it is already there). Otherwise I can write such a class and share it back here if it is useful.
someone recommended JGoodies Bindings for Swing - will this work well and in FX?Many thanks for the reply.
In the servlet create an Arraylist and in th efor
loop put the insances of the csqabean in this
ArrayList. Exit the for loop and then add the
ArrayList as an attribute to the session.I am making the use of Vector and did the same thing as u mentioned.I am using scriplets...
>
In the jsp retrieve the array list from the session
and in a for loop step through the ArrayList
retrieving each CourseSectionQABean and displaying.
You can do this in a scriptlet but should also check
out the jstl tags.I am able to remove this problem.Thanks again for the suggestion.
AS -
Search help for date field in Editable ALV
Hello Friends,
I am using editable alv using 'reuse_* '.
I have used date as input field. While creating fieldcatlog also i have declared dat as a mkpf-budat.
But i am not getting serach help for date in output.
Is it possible with reuse or i have to go by object oriented ?Hi,
Just pass the Edit option of the fieldcatalog for those specific fields...
fcat-edit = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_callback_pf_status_set = 'PF_STATUS_SET'
i_callback_user_command = 'USER_COMMAND' "<---- pass this
i_callback_top_of_page = 'TOP'
is_layout = it_layout
it_fieldcat = it_fcat
i_default = 'X'
i_save = 'A'
it_events = it_event
TABLES
t_outtab = it_final
EXCEPTIONS
program_error = 1
OTHERS = 2.
*& Form USER_COMMAND
* text
* -->R_UCOMM text
* -->RS_SELFIELD text
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN '&DATA_SAVE'. "<-------check this
PERFORM save_data.
ENDCASE.
ENDFORM. "USER_COMMAND -
Help for date field not working after upgrade
hi experts,
In our BSP application for a page we had an inputfield (date).
Onvaluehelp for input field we were calling the saphelpdate function.
however after upgrade this functionality is not working properly as no pop up comes after clicking on the icon.
we have upgraded to SPS 16 recently.
please help me.
regards,
Arvind.Hi, I try upper case but nothing happen. This is all my code by far, I hope you can help me:
DATA: BEGIN OF T_PCONT OCCURS 0,
PCONT LIKE ZPSPERMISOS-PSOBKEY,
END OF T_PCONT.
DATA: BEGIN OF T_FIELDS OCCURS 0.
INCLUDE STRUCTURE help_value.
DATA END OF T_FIELDS.
DATA: BEGIN OF T_VALUES OCCURS 0,
VALUE(60) TYPE c.
DATA: END OF T_VALUES.
DATA: N TYPE i.
SELECTION-SCREEN BEGIN OF BLOCK b20 WITH FRAME TITLE text-b02.
SELECT-OPTIONS:
P_CONT FOR ZPSPERMISOSH-PSOBKEY OBLIGATORY NO-EXTENSION NO INTERVALS,
P_INT FOR ZPSPERMISOSH-PARTNER OBLIGATORY NO-EXTENSION NO INTERVALS,
P_FEC FOR ZPSPERMISOSH-ZFINICN NO-EXTENSION NO INTERVALS,
P_RAZ FOR ZPSPERMISOSH-ZRAZONFINIC NO-EXTENSION NO INTERVALS.
SELECTION-SCREEN END OF BLOCK b20.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_CONT-LOW.
PERFORM P_HELP_P_CONT USING P_CONT-LOW.
*& Form P_HELP_P_CONT
FORM P_HELP_P_CONT USING P_P_CONT.
DESCRIBE TABLE T_PCONT LINES N.
IF N EQ 0.
T_FIELDS-FIELDNAME = 'PSOBKEY'.
T_FIELDS-TABNAME = 'ZPSPERMISOS'.
T_FIELDS-SELECTFLAG = 'X'.
APPEND T_FIELDS.
CLEAR T_FIELDS.
SELECT PSOBKEY FROM ZPSPERMISOS
INTO TABLE T_PCONT.
SORT T_PCONT BY PCONT.
CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE'
EXPORTING
CUCOL = 10
CUROW = 1
TABNAME = 'T_PCONT'
FIELDNAME = 'PCONT'
IMPORTING
SELECT_VALUE = P_P_CONT
TABLES
FIELDS = T_FIELDS
VALUETAB = T_VALUES.
ENDFORM. " P_HELP_P_CONT
Edited by: J. Garibaldi on Nov 25, 2009 11:14 AM
Edited by: J. Garibaldi on Nov 25, 2009 11:16 AM -
F4 help for date in select options..
Hi Gurus,
I want a search help for date field which belongs to select options.
I know if it is a parameter we directly map the attribute value to that data element.
Can some help me with this..
Best Regards,
Navin Fernandes.Hi Gurus,
The select options works for date.. I got the solution.
It directly relates to the default data dcitionary help.
Got it from this example: WDR_TEST_SELECT_OPTIONS
Best Regards,
Navin Fernandes. -
Hi,
I have created an iview in Visual Composer for a query. it contains date field on selection variable fomr. i tried entering date in various format, but it gives an error : variable expects interval value ; enter an interval".
can we provide search help for date field in VC?
Regards,
Sonali.Hi,
You have to create search help it avoid inconsistency.
Thanks & Regards,
Venkat. -
Need Help with data type conversion
Hello People,
I am new to java, i need some help with data type conversion:
I have variable(string) storing IP Address
IPAddr="10.10.103.10"
I have to call a library function which passes IP Address and does something and returns me a value.
The problem I have is that external function call in this library excepts IP Address in form of a byte array.
Here is the syntax for the function I am calling through my program
int createDevice (byte[] ipAddress).
now my problem is I don't know how to convert the string IPAddr variable into a byte[] ipAddress to pass it through method.Class InetAddress has a method
byte[] getAddress() You can create an instance using the static method getByName() providing the IP address string as argument. -
Best Practice for Package Implementation of Data Manipulation
Hi,
Would like to ask which is better implementation for data manipulation (insert, update, delete) stored procedure for a single table.
To create a single procedure with input parameter for the action such as 1 for insert, 2 for update and so on
or
to create separate procedures for each like procedure pInsData for insert, pUpdData for update...Hi,
Whenever you create a procedure it resides as a seperate object in database.
In my opinion its better to create a single procedure which takes care of all DML concern to a table, rather than creating different procedures for each DML.
If your number of DML are more and interrelated then its better to create a package and put all related DML procedures in the package concern to one transaction or table. This is because whenever you will call a package entire package will be placed in the memory for a particular session. So if you create different procedures for DML then you need to call the procedures each time you want it to be executed.
Twinkle
Maybe you are looking for
-
how should I upload my pc saved files to my macmini with paralle desk top 7 running windows 8 consumer preview
-
My story sounds similar...
Okay, I just looked through some of these topics and my issue sounds very similar. Before, nothing would sync onto my ipod, and it wouldn't completely restore. I got really angry, so I figured, hey, maybe I just need to download the new itunes. Then.
-
This magazine is just a simple PDF replica of our print magazine but I want to the URLs linked when I am viewing it on the iPad and Android devices. Is this possible?
-
InDesign (CS5) beachballs when clicking into a text frame
Hi, I'm working on a document that causes a weird problem: when I click into a text frame, sometimes this causes InDesign to beachball for a few seconds. Activity monitor shows that InDesign takes 100% CPU time - no other activity involved. After a f
-
How to input id data in jtable column 1 and load the detail in other column
Dear all, I am new to java, I am writing a POS using Java. I want to scan goods barcode into column 1 of a jtable, then the program will load the product's name and price in column 2 and column 3 from database. And also I want to have another row ava