ExcelDestination Format issue using SSIS
Hi Everyone,
I have one scenario, My Process is exporting some data from sql server table to excel destination with date related columns like below.
Query:
SELECT
TOP 10 [DiscountAmount]
,[ProductStandardCost]
,[TotalProductCost]
,[SalesAmount]
,[TaxAmt]
,[Freight]
,[CarrierTrackingNumber]
,[CustomerPONumber]
,[OrderDate]
,[DueDate]
,[ShipDate]
FROM [AdventureWorksDW2012].[dbo].[FactInternetSales]
Create excel Tab script:
CREATE
TABLE `Excel Destination`
`Copy of SalesAmount` MONEY,
`Copy of TaxAmt` MONEY,
`Copy of TotalProductCost`
MONEY,
`Copy of Freight` MONEY,
`Copy of ProductStandardCost`
MONEY,
`Copy of OrderDate` DATE,
`Copy of DueDate` DATE,
`Copy of ShipDate` DATE,
`Copy of DiscountAmount`
DOUBLE PRECISION,
`Copy of CustomerPONumber`
NVARCHAR(25),
`Copy of CarrierTrackingNumber`
NVARCHAR(25)
Please share your suggestions on this.
Regards,
Vaishu
Thanks Vaibhav for your help.
once we export data into excel, we expect date filed with date format only, not in string format.
Regards,
Vaishu
Hi Vaishu,
You can try below two options.
1. You can have one blank excel file as a template. In advance, use the required date filter.
Select above template excel file in Excel Destination folder. Once SSIS package loads the data in excel, user can use that filtering.
2. After the Excel Destination/Data flow task, you can have one Script Task. Write .NET code which will change that filtering. (I'm not sure if that is possible through .NET)
-Vaibhav Chaudhari
Similar Messages
-
Hi Forum ,
I need to do cleanup on a column to display clean data by eliminating the various <HTML> in the source. I would like to do a replace using the charindex, but my query becomes too big and i might miss some tags. What would be the best approach removing
the <tags> or formating them to display in correct format? .
Please give me some example if we can format data according to the tags using SSIS components.
<p><font face="Times New Roman"><span style="font-size: 11pt; ">DAVID BACKER, JR
</span><span style="font-size: 11pt; color: navy; ">L
</span></font><span style="font-size: 11pt; ">
<font face="Times New Roman"> 11111 Erwin 185th Ter <br />Jersey Gardens, NJ 10156/* Microsoft SQL Server Integration Services Script Component
* Write scripts using Microsoft Visual C# 2008.
* ScriptMain is the entry point class of the script.*/
// C# code
using System;
using System.Data;
using System.Text.RegularExpressions; // Added
using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
using Microsoft.SqlServer.Dts.Runtime.Wrapper;
[Microsoft.SqlServer.Dts.Pipeline.SSISScriptComponentEntryPointAttribute]
public class ScriptMain : UserComponent
// Method that will be executed for each row.
public override void Input0_ProcessInputRow(Input0Buffer Row)
// Replace the value of the message column
Row.Notes = RemoveHtml(Row.Notes).Replace(" ", " ")
.Replace("&", " ").Replace("-->", "
").Replace(""", "\"")
.Replace("<", "<").Replace(":
YES", ": YES ").Replace(": NO", ": NO ");
// A string method that removes html tags
// with a regex pattern
public String RemoveHtml(String message)
// The pattern for a html tag
String htmlTagPattern = "<(.|\n)+?>";
/// ///"<(.|\n)+?>"
/// ///"(?<=<[^>]*) "
// Create a regex object with the pattern
Regex objRegExp = new Regex(htmlTagPattern);
// Replace html tag by an empty string
message = objRegExp.Replace(message, String.Empty);
// Return the message without html tags
return message;
Ntext Source DataType
I convert the columns to convert(varchar(max),jr.NOTES) as Notes -
Please suggest how can we verify file format using SSIS 2008 .
We have ragged files placed in directory which need to be loaded into DB. Before loading we need to validate the file format before loading.
The file schema is as follows.
01 XREF_RCD.
05 XR_JOB PIC X(4).
05 XR_PHASE PIC X(2).
05 XR_DATE PIC X(6).
05 XR_ST_CHECK_NO PIC S9(8)
05 XR_END_CHECK_NO PIC S9(8)
05 XR_ST_SERIAL PIC S9(8)
05 XR_END_SERIAL PIC S9(8)
05 XR_AMOUNT PIC S9(7)V99
05 XR_ISSUE_DATE PIC X(6).
05 XR_CONTENT_FLAG PIC X.
05 XR_XREF_CARD_PROCESSED PIC X.
Could you please suggest how can we validate using SSIS 2008 and
invalid value in header (alpha character for numeric field), more than 20% of records with errors, format is not correct also need to validated.Before we load the data we need to verify invalid value in header (alpha character for numeric field),
more than 20% of records with errors,
format is not correct (values starting or ending in wrong position), if the above validation pass then only the data can be loaded. please suggest how can we achieve in SSIS . The FileFormat and filedata is available below.
please find the file contents.
49530110050230088937300889393008893730088939000036714100506
54000110050230089190300894103008919030089410000066614100506
73880110050230090564300907593009056430090759000104503100506
73880110050230090564300907593009056430090759000104503100506
45980110050230088829300888793008882930088879000033453100506
58160110050230089820300898263008982030089826000058278100506
41680110050130088623300886413008862330088641000035877100506
41680110050241683471416834714168347141683471000000949100505
82900110050230093642300936633009364230093663000069407100506
54520110050230089411300894193008941130089419000048629100506
83580110050230093664300936683009366430093668000083136100506
56320110050230089556300895613008955630089561000073072100506
74160110050230090760300907983009076030090798000099724100506
57920110050230089562300895823008956230089582000079256100506
45950110050230088649300888283008864930088828000185937100506
81770110050230092335300928073009233530092807000118370100506
70760110050230089827300899233008982730089923000083451100506
74200110050230090799300908493009079930090849000047305100506
84450110050230093699300937153009369930093715000076723100506
83930110050230093669300936983009366930093698000043699100506
75120110050230091002300910043009100230091004000034908100506
10100110050230088620300886223008862030088622000194662100506
79600110050230091402300914093009140230091409000119741100506
58110110050230089583300897633008958330089763000140539100506
58117710050230089764300897643008976430089764000047663100506
52460110050230088940300891893008894030089189000097617100506
48820110050230088928300889343008892830088934000142420100506
48824110050230088935300889363008893530088936000144862100506
82810110050230093510300936413009351030093641000156790100506
76090110050230091060300911413009106030091141000111451100506
74210110050230090850300909943009085030090994000130955100506
75760110050230091030300910323009103030091032000075843100506
File Layout
XR_JOB PIC X(4).
XR_PHASE PIC X(2).
XR_DATE PIC X(6).
XR_ST_CHECK_NO PIC S9(8)
XR_END_CHECK_NO PIC S9(8)
XR_ST_SERIAL PIC S9(8)
XR_END_SERIAL PIC S9(8)
XR_AMOUNT PIC S9(7)V99
XR_ISSUE_DATE PIC X(6).
XR_CONTENT_FLAG PIC X.
XR_XREF_CARD_PROCESSED PIC X -
How to Format a excel template sheet column data using ssis
Hi,
I am filling an excel sheet named sheet1 of a predefined template using SSIS. The template has many other sheets which are calculated using predefined formulas referring sheet 1. Currently I am able to successfully fill the data in sheet1 but other sheets not
getting populated until I manually perform Text Column conversion on few columns like Date,Time(hh:mm:ss). Could some one please help me to achieve this task. Can I automate the Text to Column
conversion operation after filling the excel.
Thanks in advance,
JithuHi Jithu,
If you tried to write the the template the proper (textual) datatypes and the column is and it does not work then
I only can suggest to write a macro that does the Text Column conversion and have the macro triggered from within the package perhaps better off using a separate process (e.g. a console app that is done using Office interop libraries) as doing it right in
the package is quite laborious.
Arthur
MyBlog
Twitter -
== Issue
==
I have another kind of problem with Firefox
== Description
==
I have various formatting issues:
a. When I open a msg from my web browser (Cablevision), the font is sooo small I need a magnifier to read it. How can I set the font to a size I can easily read?
b. When I forward msgs, the text gets all distorted and I need to clean it up (some symbols, lots of spaces between words). How can this be fixed?
c. When I want to tell someone about a website, I cannot type the URL in so that all they have to do is click on it. How can this be fixed?
d. When I open messages, the text opens in a small window and covers the "Show Images" button. Why?
== This happened
==
Every time Firefox opened
== Ever since I started using Firefox (a few months ago)
==
'''Troubleshooting information'''
I didn't find any results
== Firefox version
==
3.6.3
== Operating system
==
Windows 7
== User Agent
==
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
== Plugins installed
==
*-nphpclipbook
*Office Plugin for Netscape Navigator
*The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
*Default Plug-in
*Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
*NPRuntime Script Plug-in Library for Java(TM) Deploy
*The Hulu Desktop Plugin allows Hulu.com to integrate with the Hulu Desktop application.
*Shockwave Flash 10.0 r45
*Adobe Shockwave for Director Netscape plug-in, version 11.5
*iTunes Detector Plug-in
*3.0.40624.0
*NPWLPG
*Next Generation Java Plug-in 1.6.0_20 for Mozilla browsersThe text editor is the text area that you use on the webmail (Yahoo, Hotmail) website to create a new mail.
You can compare that with the ''Post new message'' text area that you use to create a new post on this forum.
Just above the text area that you use to enter the message text there is usually a button bar with buttons that allows some text formatting like Bold and Italic and can also include a button to make a clickable hyperlink.
Check the tooltip of each button by hovering with the mouse over each button.
Make Link - https://addons.mozilla.org/firefox/addon/142 -
Format issue in opening an XLS attachment sent through email by ABAP2XLSX
I have downloaded the ABAP2XLSX nuggets and tried to send an attachment in the email using the SAP. But when opening the attachment it is giving up an format issue and not able to view the content. I am able to save the XLSX file on the PC and able to read it but when I send it to email it doesn't open correctly and it is in a non readable format. Please find the code that I have been using. Can someone help me on this.
TYPES: BEGIN OF tp_zzrule,
zzprog TYPE zzfunc,
zzdata TYPE zzcri1,
zzseq TYPE zzseq,
zzkey1 TYPE zzkey1,
zzkey2 TYPE zzkey2,
END OF tp_zzrule.
DATA: w_zzrule TYPE tp_zzrule,
t_zzrule TYPE TABLE OF zzourule.
TYPE-POOLS: abap.
DATA: v_document TYPE REF TO cl_document_bcs,
v_recipient TYPE REF TO if_recipient_bcs,
v_main_text TYPE bcsy_text,
v_send_request TYPE REF TO cl_bcs,
v_msub TYPE so_obj_des,
v_size TYPE so_obj_len,
v_string2 TYPE string,
v_attsub TYPE sood-objdes,
v_mailid TYPE ad_smtpadr,
v_sent(1) type c,
v_sent_to_all TYPE os_boolean,
v_string TYPE string,
v_repid TYPE sy-repid,
v_title TYPE so_text255,
v_dochead TYPE so_text255.
DATA lt_test TYPE TABLE OF sflight.
DATA: lo_excel TYPE REF TO zcl_excel,
lo_excel_writer TYPE REF TO zif_excel_writer,
lo_worksheet TYPE REF TO zcl_excel_worksheet,
column_dimension TYPE REF TO zcl_excel_worksheet_columndime.
DATA: ls_table_settings TYPE zexcel_s_table_settings.
DATA: lv_file TYPE xstring,
lv_bytecount TYPE i,
lt_file_tab TYPE solix_tab,
t_objtxt like solisti1 occurs 0 with header line,
t_objbin like solisti1 occurs 0 with header line,
t_objpack like sopcklsti1 occurs 0 with header line,
t_reclist like table of somlreci1 with header line.
DATA: lv_full_path TYPE string,
lv_workdir TYPE string,
lv_file_separator TYPE c.
CONSTANTS: lv_default_file_name TYPE string VALUE 'multi sheet test.xlsx'.
PARAMETERS: p_path TYPE zexcel_export_dir,
p_empty TYPE flag.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path.
lv_workdir = p_path.
cl_gui_frontend_services=>directory_browse( EXPORTING initial_folder = lv_workdir
CHANGING selected_folder = lv_workdir ).
p_path = lv_workdir.
INITIALIZATION.
cl_gui_frontend_services=>get_sapgui_workdir( CHANGING sapworkdir = lv_workdir ).
cl_gui_cfw=>flush( ).
p_path = lv_workdir.
START-OF-SELECTION.
IF p_path IS INITIAL.
p_path = lv_workdir.
ENDIF.
cl_gui_frontend_services=>get_file_separator( CHANGING file_separator = lv_file_separator ).
CONCATENATE p_path lv_file_separator lv_default_file_name INTO lv_full_path.
SELECT *
INTO TABLE t_zzrule
FROM zzourule
WHERE zzprog = 'RV63A999'.
SELECT * FROM sflight INTO TABLE lt_test.
" Creates active sheet
CREATE OBJECT lo_excel.
For first Sheet in the excel workbook
" Get active sheet
lo_worksheet = lo_excel->get_active_worksheet( ).
lo_worksheet->set_title( ip_title = 'Test sheet one').
ls_table_settings-table_style = zcl_excel_table=>builtinstyle_medium2.
ls_table_settings-show_row_stripes = abap_true.
lo_worksheet->bind_table( ip_table = lt_test
is_table_settings = ls_table_settings ).
lo_worksheet->freeze_panes( ip_num_rows = 3 ). "freeze column headers when scrolling
column_dimension = lo_worksheet->get_column_dimension( ip_column = 'E' ). "make date field a bit wider
column_dimension->set_width( ip_width = 20 ).
For second Sheet in the excel workbook
lo_worksheet = lo_excel->add_new_worksheet( ).
lo_worksheet->set_title( ip_title = 'Second sheet' ).
lo_worksheet->set_cell( ip_column = 'B' ip_row = 2
ip_value = 'This is the test for second sheet by Pavan' ).
ls_table_settings-table_style = zcl_excel_table=>builtinstyle_medium2.
ls_table_settings-show_row_stripes = abap_true.
lo_worksheet->bind_table( ip_table = t_zzrule
is_table_settings = ls_table_settings ).
This will create excel.
CREATE OBJECT lo_excel_writer TYPE zcl_excel_writer_2007.
lv_file = lo_excel_writer->write_file( lo_excel ).
" Convert to binary
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = lv_file
IMPORTING
output_length = lv_bytecount
TABLES
binary_tab = lt_file_tab.
Save the file on to the PC
cl_gui_frontend_services=>gui_download( EXPORTING bin_filesize = lv_bytecount
filename = lv_full_path
filetype = 'BIN'
CHANGING data_tab = lt_file_tab ).
*--Create and set document with attachment.
v_main_text-line = 'This is the main text not sure where this would print'.
append v_main_text.
TRY.
v_send_request = cl_bcs=>create_persistent( ). "#EC .., bzw.
CATCH cx_send_req_bcs . "#EC NO_HANDLER
ENDTRY.
v_msub = 'Test excel with multi sheets.XLS'.
TRY.
v_document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = v_main_text
i_subject = v_msub ).
CATCH cx_document_bcs . "#EC NO_HANDLER
ENDTRY.
v_size = lv_bytecount.
*--Add the attachment.
TRY.
v_document->add_attachment( "#EC .., bzw
i_attachment_type = 'EXT'
i_attachment_type = 'XLS'
i_attachment_type = 'RAW'
i_attachment_subject = v_attsub
i_attachment_size = v_size
i_att_content_hex = lt_file_tab ). "#EC .., bzw.
i_att_content_hex = lt_file_tab ). "#EC .., bzw.
CATCH cx_document_bcs . "#EC NO_HANDLER
ENDTRY.
*--Add document object to send request.
TRY.
v_send_request->set_document( v_document ). "#EC .., bzw.
CATCH cx_send_req_bcs . "#EC NO_HANDLER
ENDTRY.
*--E-mail recipent list
t_reclist-rec_type = 'U'.
t_reclist-receiver = <email Id here>.
APPEND t_reclist.
CLEAR t_reclist.
LOOP AT t_reclist.
CLEAR v_mailid.
v_mailid = t_reclist-receiver.
*--Create mail recipient object.
TRY.
v_recipient = cl_cam_address_bcs=>create_internet_address( v_mailid ). "#EC .., bzw.
CATCH cx_address_bcs . "#EC NO_HANDLER
ENDTRY.
*--Add recipient object to send request.
TRY.
v_send_request->add_recipient( v_recipient ). "#EC .., bzw.
CATCH cx_send_req_bcs . "#EC NO_HANDLER
ENDTRY.
ENDLOOP.
**--Add recipient object to send request.
TRY.
v_sent_to_all = v_send_request->send( i_with_error_screen = 'X' ).
CATCH cx_send_req_bcs . "#EC NO_HANDLER
ENDTRY.
*--Send document.
COMMIT WORK.
IF sy-subrc = 0.
MESSAGE s999(zou01) WITH text-020.
v_sent = 'X'.
ENDIF.I realize this is an old post, but am wondering if you ever resolved this. I'm having the same issue. Download an xlsx file locally opens fine, but attaching the seemingly exact same file throw errors/warnings when trying to open via an email attachment.
-
I am looking for a solution to whether if it is best to get two hard drives or one that can do two things that I want.
I am looking for a hard drive format that can both back up my 500GB Macbook Pro but I was also wondering if I could also put movies on it from another hard drive that is PC based. Would partitioning the hard drive work for this? I don't know what are the best formats to use.
If this is too hard it might just be easier having a separate 500GB hard drive for back up of my Mac and another bigger hard drive for the movies etc (the files are probably bigger than 4GB). Any help would be greatly appreciated as I need to make a decision soon!Csound1 wrote:
Microsoft has not released the official exFAT file system specification, and a restrictive license from Microsoft is required in order to make and distribute exFAT implementations. Microsoft also asserts patents on exFAT which make it impossible to re-implement its functionality in a compatible way without violating a large percentage of them.[13] This renders the implementation, distribution, and use of exFAT as a part of free or open-source operating systems or of commercial software, for which the vendors could not obtain a license from Microsoft, not only technically difficult, but legally impossible in countries that recognize United States software patents.
Can't help with that, if one is using a Windows machine then they are subjected to their rules and control.
Limited support outside Windows and Mac OS X operating systems as of 2012, when most consumer electronic devices could only handleFAT12/FAT16/FAT32, rendering exFAT (and flash memory formats using it) impractical as a universal exchange format.
The OP said they plan to store movies on the external drive.
Many movies today are well over 4GB in size, thus exFAT has to be used and formatted on the PC, which the Mac can then read.
Older Windows NT versions up to Windows Vista without Service Pack 1 do not support exFAT.
Irrelevant, Microsoft provides a free download of exFAT for Windows XP, and Vista shouldn't be running on pre SP1 anyway.
Some distributions of Linux have begun to include support for exFAT. It is however, only available as a file system in user space, as it's not supported by the kernel.
Irrelevant, OP is using Windows and OS X, not Linux and if they did Linux can read the files at least and transfer, which is all they care about really.
Windows Vista is unable to use exFAT drives for ReadyBoost. Windows 7 removes this limitation, enabling ReadyBoost caches larger than 4 GiB.[14]
Irrelevant, the OP's is intending to use it as transfer drive between Mac's and Windows for movies.
The standard exFAT implementation only uses a single file allocation table and free space map. FAT file systems instead used alternating tables, as this allowed recovery of the file system if the media was ejected during a write (which occurs frequently in practice with removable media). The optional TexFAT component adds support for additional backup tables and maps, but may not be supported.
Some relevancy, but only exFAT can handle 4GB+ files between Mac's and PC's, so the need outweighs the possible problem.
The OP needs to follow the standard Windows practice of "safely removing hardware" before physically disconnecting the external drive. If a write is occurring, it won't allow disconnecting until the write is finished.
Support for up to 2,796,202 files per subdirectory only.[1][nb 3] Microsoft documents a limit of 65,534 files per sub-directory for their FAT32 implementation, but other operating systems have no special limit for the number of files in a FAT32 directory. FAT32 implementations in other operating systems allow an unlimited number of files up to the number of available clusters (that is, up to 268,304,373 files on volumes without long filenames).[nb 4]
Not a issue, only in extreme cases of a lot of small files. The OP plans to use it for movies which are usually large and take up a lot of space on the drive.
IMMO It looks like you just ran off and copied something to argue your point when all the points are basically irrelevant.
There is only one format that can easily share 4GB sized files between Mac's and PC's without further complications.
It's ALSO possible to install MacDrive on the PC and format the drive on the Mac HFS+, but I didn't recommend that because I know it's a hassle just like third party NTFS writing software is a hassle on Mac's.
If you so anti-Microsoft format, then you must know Paragon has to pay a license fee to Microsoft for using the NTFS format.
At least with exFAT there is no fee to Redmond, at least not yet. -
Can't install windondows 8.1 on my macbook pro - format issue
Can't install windondows 8.1 on my macbook pro - format issue
Running latest version of Mavericks.
Followed the exact bootcamp proceduce.
Have official window 8.1 version on cd.
All goes well until I have to format the 65Gb partition. Disk=0 and partition=4
Can't get over it. Altough I formatted it via a hint found on the internet with "dislpart" in NTFS. Wich also went weel and give the labelname "BOOTCAMP". But still no luck.
I have two questions:
1/ How to start my mac again in normal mavericks mode?
2/ How can I overcome the windows installation issue?
Tried already a lot of hints found on the internet.First, make a time machine backup. You will need to erase ands reformat your hard drive. I had the same issue. The issue is that you can't install Windows using bootcamp without having the hard drive formatted as Mac OS Extended (Journaled). Do this from disk utility or recovery mode (hold down command and r at startup). Then you have to restore the backup to the hard drive. Then make a usb installer drive with bootcamp and then partition and install. Here's a tip: after you install bootcamp and are in the Windows desktop, go into the installer drive and then go into the bootcamp or support folder, then find a installer that contains the Apple bootcamp drivers. Also, you will need to convert the disk to an iso file. TO MAKE THE USB DRIVE FROM A DISC, USE THIS LINK
Boot Camp: Creating an ISO image from a Windows installation DVD - Apple Support -
FCP and Motion formatting issues with DVCPro 50?
The material is DVCPro 50 NTSC 48khtz. (Item properties indicate that I initially digitized it properly.) My sequence settings are DV50 NTSC 48khtz.
I wanted to create a vignette effect so I exported my clips as a Quicktime (current settings) sequence to Motion. When I was done there I exported the sequence from Motion back to FCP as a DV NTSC movie.
Some of the Motion effected clips will play, look great and then all the sudden I see a black band appear on the East side of the frame. I can stretch it in Motion some but it just degrades the image so I'd rather not.
I'm surely grateful if someone can steer me in the right direction here.Thanks for the workflow tips and suggestions. I backtracked to my original sequence and found the problem originates there. I have narrow black lines on both sides of all these clips. Since I resized a few clips with moves, I didn't recognize the problem. Now that I'm closer the root of it, any suggestions?
By the way, these problematic clips are intercut with no problem library footage that was also shot on DVCPro 50 and I took in on the same deck.
I cruised the forum for any occurence of a similiar issue and most replies seem to suggest a formatting issue. I don't get it since I think I have everything set up correctly. As a precaution, I also tossed out my preferences using FCP Rescue 5.
Welcome to the discussions, splotch.
Not sure what is causing this, but I might propose an
alternate workflow. Have your clips on the timeline
as you wish, ctrl/right click on them and select
Send To Motion.... Click the
embedded and open Motion ticks, give it a name, then
continue. Do your work in Motion, save, quit, and
fall back into FCP. Your clips may lose their
"anamorphicness" on their round trip, but just
ctrl/right click on the clip and select Item Properties/Format..., then
click on the anamorphic button.
Try this and see if you are still getting the same
problem...
Patrick -
Final Cut Pro to Final Cut Express -- Format issues?
Hi,
I'm shooting a project on a Panasonic HVX-200A, and my cameraman is going to import the footage to his Final Cut Pro station. He's then going to transfer the FCP footage and data over to an external hard drive, which I am going to use to edit the film using Final Cut Express.
Will there be any formatting issues if I bring the data from Final Cut Pro to Final Cut Express?
Thanks!!
Sameer KetkarClip files can be easily imported into FCE if they are QuickTime DV-NTSC/DV-PAL or Apple Intermediate Codec (720p30, 1080i50/60). If they are other formats/codecs they should be converted to DV or AIC before importing into FCE.
FCPro project files cannot be imported into FCExpress.
I'd suggest a trial run before committing the project to this workflow. -
Reports exported to Excel - Formatting issues
We have two Business Objects Enterprise servers (boxi r2 and boxi r3.1 sp3) running side by side. We find that reports created using boxi r2 and exported to Excel format look fine. When we run the same report and export to excel using boxi r3.1 sp3, we encounter the following formatting issues:
<ol>
<li>All columns do not fit on pages. The last 2 to 3 columns spill over onto extra pages.</li>
<li>There are some columns where most of the values are blank, but when a row is exported that has a value in that column, all subsequent column positions for that row shift.</li>
<li>All rows do not fit on page. The last two rows flow onto a new page, then there seems to be a page break.</li>
<li>On some reports dates are displayed as ######.</li>
<li>On some reports column headings are not centered.</li>
<li>I would appreciate any input that would help us determine a fix for the formatting issues we are encountering.</li>
</ol>
The report is executed using CrystalDecisions.CrystalReports.Engine.
Here is the code from the application that does the export:
ExportOptions exportOptions = new ExportOptions();
exportOptions.ExportFormatType = ExportFormatType.Excel;
exportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
DiskFileDestinationOptions diskOptions = new DiskFileDestinationOptions();
diskOptions.DiskFileName = filename + ".xls";;
exportOptions.ExportDestinationOptions = diskOptions;
ExcelFormatOptions XLOptions = new ExcelFormatOptions();
XLOptions.ExportPageBreaksForEachPage = true;
XLOptions.ExportPageHeadersAndFooters = ExportPageAreaKind.OnEachPage;
exportOptions.ExportFormatOptions = XLOptions;
rptDoc.Export(exportOptions);
Please note the following details about our environment:
<h5>Report Designers:</h5>CR Designer version: xi Rel 2
<h5>Developer environment</h5>Has the following installed:
- Business Objects Enterprise XI Release 2
- VS .Net 2008
- Crystal reports Basic for Visual Studio 2008
- Crystal Report 2008 Runtime SP3
- Boxi .Net SDK
- SAP BusinessObjects Enterprise XI 3.1 Client Tools sp3
- .Net Version: 2.0
<h5>Crystal Server environment:</h5>Two clustered Business Objects Enterprise servers with the following installed & configured
- Business Objects Enterprise XI Release 2
- Crystal Reports XI Release 2
- SAP BusinessObjects Enterprise XI 3.1 SP3
- .Net Version: 2.0
<h5>Web Servers:</h5>Two load balanced web servers with the following installed and configured
- Business Objects Enterprise XI Release 2
- Crystal Report 2008 Runtime SP3
- Crystal Reports XI Release 2 .Net 2005 Server
- SAP BusinessObjects Enterprise XI 3.1 SP3
- .Net Version: 2.0Umm, the code you provided has nothing to do with Business Objects Enterprise...(?). So, I'm a bit confused by the mention of BOE and "The report is executed using CrystalDecisions.CrystalReports.Engine" in essentially one paragraph.
Can you pls explain?
- Ludek -
XI R2 To 3.1 Sp2 migration and report format issues
Hello,
is there a way to fix or troubleshoot report format issues after migrating to 3.1?
We have a heavy report that the format (the way the report looks) is very important. In crytal Reports 2008 sp2 the format is OK.
But from BOE CMC or from url reporting the report format have problems.
Thank you
Edited by: RUHVER BARENGI on May 18, 2010 9:47 AM
Edited by: RUHVER BARENGI on May 18, 2010 9:48 AMHi Ruhver,
Crystal Report documents are heavily dependant on the printer driver for formatting. If you design the report using a specific default driver than it will be dependant on that printer driver for formatting. When you publish it to Enterprise, the same printer driver may not exist so the report will be re-formated to fit the default driver on the server, or if no driver exists, it will use an internal method to format the report.
Try this as a test.
1) Open your report in the CR 2008 designer.
2) Click on the File/Page Setup.
3) Select the "No Printer" option. This tells the report to use this internal method to format the report
4) Save this document as "Title - No Printer"
5) Export it to Enterprise
6) Test this report again. Formatting should be identical in BOE vs CR.
Keep in mind that when you change the driver in step 3, the report in the designer will re-format. You may need to tweak the report again in order for the formatting to be as desired.
Test this out and if you require further assistance with this, I would suggest opening a message. This is a common issue and a support engineer could likely help you with this pretty easily.
Hope this helps,
Jb -
Hi,
How to export a sequence with stills (jpg) into a DVD format by using Compressor without having the interlaced issue on the outcome? The stills in the Canvas look crisp but once exported to DVD format, the outcome images look interlaced. How can I best match the crisp look of the high resolution JPGs in time line when exported to DVD?
My Sequence settings match the image settings:
Frame Size: 1024 x 768
Pixel Aspect Ratio: Square
Field Dominance: None
Compressor: Photo JPG
I tried to export the sequence of img as an independent QT movie file by using Apple ProRes 422 output settings. The video file looks great. I then imported it back to time line into new sequence and exported into DVD format trying both: deinterlace and "same as source" setting. Both output DVD files still have the interlaced issue.
I also tried to work with JPGs converted to TIFFs on a different sequence with same as Tiff settings and the issue still persists.
I will appreciate any advices.
Thank you,
IzabelaDear Nick,
Thank you, I understand now it is the aspect ratio issue.
Are you suggesting that I should use Photoshop or Graphic Converter to convert the 1024 x 768 to 720 x 480 prior to importing them into FCP seqence?
> Give the DVD authoring software the correct size:
I am using FCP 7.0.3 to create the sequence of images (there has to be specific timing and transitions), which I then export to DVD format by using Compressor.
Do you mean that I should set the FCP timeline sequnece settings to 720 x 480?
Please let me know. Thank you,
Izabela -
How to add specific header and footer to flat file using SSIS 2008
The SSIS package need to create file with headers, totals and adds a status to position one of the records.
Header: "$$ADD ID=ENTK0557 BID='IA HBZAC14HBZACHRYCORP' PASSWORD='CUSTOMER ' %AU HBZAC14" is added.
$$ADD = Static
ID=ENTK0557 = Static
BID='IA HBZAC14HBZACHRYCORP' = "HBZAC14" is the company, "HBZACHRYCORP" is company name
PASSWORD='CUSTOMER ' = static
HBZAC14 = company
Control Totals:
T010533343 000050 0002659604 000000 0000000000
T = Totals
010533343 = Account Number
000050 = Total records
0002659604 = Total checks
000000 = TBD
0000000000 = TBD
Data for the file
DECLARE
@T AS
TABLE
[BR-ISSUE-VOID-IND] [char]
(1)
NULL,
[BR-ACCT-NBR] [varchar]
(9)
NULL,
[FILLER1] [char]
(1)
NULL,
[BR-SERIAL-NBR] [varchar]
(8000)
NULL,
[BR-CHECK-AMT] [varchar]
(8000)
NULL,
[BR-CK-ISSUE-DATE] [varchar]
(6)
NULL
INSERT
INTO @T
[BR-ISSUE-VOID-IND]
[BR-ACCT-NBR]
[FILLER1]
[BR-SERIAL-NBR]
[BR-CHECK-AMT]
[BR-CK-ISSUE-DATE]
SELECT
'C'
,NULL,' ',30090072,2114.39,100502
UNION
ALL
SELECT
'C'
,NULL,' ',30090190,430.58,100502
UNION
ALL
SELECT
'C'
,NULL,' ',30092371,589.93,100502
UNION
ALL
SELECT
'C'
,NULL,' ',30092550,1198.6,100502
SELECT
FROM @T
File SnapShot.Using SSIS its difficult unless you use a script task after the data flow to add the header footer bits.
A much better option in this case would be bcp as you can generate query with values in the order you want and bcp it out
http://msdn.microsoft.com/en-us/library/ms162802.aspx
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
Format issue causing iBook navigation problems
Hello!
I created an iBook for a client, but some of the default functions of an iBook aren’t working when it’s previewed on iPad. My question is: since the file format seems to be the issue, what can be done to alleviate it?
Problems
When previewing the iBook on the iPad...
Framing features such as navigation bar, book info, bookmark tool, etc. are missing
The pages lack animated page turns
Right and left page edge riffles are missing
When the iPad is turned vertically…
Pages scroll top to bottom instead of left to right as they should
All images disappear
Basically, the iBooks works mostly well in landscape mode but not so much in portrait mode. The client checked other iBooks to compare and the iBook I created is the only one with problems with the interface functions.
Steps Taken To Save & Preview File
Saved the iBook file as an IBA file. I also Exported it as an iBooks file.
Sent IBA and iBooks files to the client to preview on his iPad (I don’t have one so I can’t preview it myself).
The client opened the IBA file using iBooks Author then clicked the “Preview” button.
The IBA file cross-loads to the iPad and the problems can be seen.
The client also attempted to load the IBA and iBooks files on the Book Proofer application (this application does accept IBA and iBooks files), but that didn't work either. The client told me that are some file format issues unrelated to content, leading me to believe that it's a format issue.
Technical Specifications
iBook Author version I used to create iBook
1.1 (the latest)
iBooks version client used to preview iBook
iBooks version 2.1.1 (April 16, 2012 release)
iPad version the iBook is being previewed on
1st Generation 64GB iPad
File being used to preview on iPad
The IBA and iBooks files for the iBook
Could it be file format incompatibilities? Has anyone had this issue before? I hope the information I provided is useful. Any insight about these issues is greatly appreciated!
Thanks,
CatrinaAgain, sorry, a 'Shared' .ibooks file has the same format as what users download from the store.
You don't need to be in the store to circulate that file. 'private' as defined depends on you. Email that file if possible and/or put it on your own server/dropbox and share the link to trusted individuals.
If you're sending the .iba file to someone that then uses it in iBA, they need to use the 'Shared' menu to generate an .ibooks file, then drop that into iTunes and sync to their device.
See iBooks Author: Publishing and distribution FAQ - Support
Maybe you are looking for
-
Replacing the "No rows returned" message in Portlets
Hi all, How to remove (or replace) the default message that comes in each Portlet if the query doesnot return anything ? By default the Portlet shows the message "No rows returned" , how to customize it or remove it. Ayman
-
Dear all we have a sales order for a material and prd people hv released and saved a prd order for this material, now sales order get cancelled then how to close tht order and clear any reservation of material and machinary against tht order thanks
-
Hi , I have a LOV switcher attribute in my VO. After saving my page, I need the getter of the switcher to be executed so that the page shows the correct LOV returned by the switcher. How do I go abt it? Appreciate your help on this.
-
I have Element 8 that doesn't connect to the backup server. I get an initialize message when it starts but then after about 5 minutes goes away and says backup/syncronization is normal but nothing is being sent. I always have a pending file which n
-
when displaying pictures through apple tv the pictures come up in a scrambled or random order rather than in the order they are in my iphoto event or album. how do i fix this