How to set Excel Options using  crystal reports 2008

Hi,
I am trying to figure out CR 8.5 (Crystal report control) Equivalents in Crystal reports 2008 using crystal report viewer in .Net but not able to find the exact replacments.
Properties used in CR 8.5
CRAXDRT.ExportOptions.ExcelUseWorksheetFunctions=True
CRAXDRT.ExportOptions.ExcelUseTabularFormat =True
CRAXDRT.ExportOptions.SetLogOnInfo(1,3,4,5)
Please let me know the replacements for the above mentioned properties in .Net using crystal report viewer (CR 2008)
Thanks in Advance
Regards,
Ramnath

Hello,
The code that has been provided is of Report Designer Component.
RDC has been deprecated in Crystal Reports 2008.
Use the 'ExcelFormatOptions' class. It provides many options regarding exporting in an excel format.
ExcelFormatOptions myExportFormatOptions = new ExcelFormatOptions();
Try exploring the Developer guide for Crystal Reports .NET SDK [here|http://www.sdn.sap.com/irj/boc/sdklibrary#section7]..

Similar Messages

  • Can we create Multi Tabbed excel Sheet using Crystal Reports 2008

    Hi,
      We want to create a Crystal Report which will export the output as multiple Tab's ( we can use sub reports).  Can we create a Multi Tabbed excel Sheet using Crystal Reports 2008 ( not  Crystal reports Basic 2008). Please share any information/links on how to do that.
    Also if it is not supported please let us know which version supports it.
    Thanks,
    Vasu

    At least one of the 3rd-party Crystal Reports Desktop Scheduling tools listed at: http://www.kenhamady.com/bookmarks.html provides that functionality.  It allows you to burst a single report so that each Group at level 1 becomes a separate tab.  You can control the tab names (and tab colors) via fields/formulas inside the report.
    You can also automate the process of exporting to (and also replacing or appending to) specified tabs inside existing workbooks.

  • Step- by- Step on How to Load Excel data into Crystal Reports?

    Hi Friends,
                      Can anyone send me a Step- by- Step on How to Load Excel data into Crystal Reports? Pls help me. Thanks in Advance.
    Vijay

    It's also important to 'prep' the excel file prior to connecting to it.
    Give the data tab a meaningful name
    Make sure the column headers are unique and that every column has a header
    Delete any blank tabs
    If you have trouble with Excel changing the data type of a field (say, a social security number you want to be a string value rather than a number so you don't lose leading zero) an alternative would be to save the spreadsheet file as a CSV, create a schema.ini to specify the data types for each column (example below) and use the same steps to connect except instead of choosing Excel 8.0, scroll to the bottom and choose Text.  You have to make sure the CSV file is in the same folder as the schema.ini file that defines the columns.
    Schema.ini example:
    200912PUSD.csv
    ColNameHeader=True
    Format=CSVDelimited
    MaxScanRows=25
    CharacterSet=OEM
    Col1=SSN Char Width 9
    Col2=LAST_NM Char Width 25
    Col3=FIRST_NM Char Width 25
    Col4=DOB Date
    Col5=STDNT_ID Char Width 10
    Col6=SORTKEY Char Width 10
    Col7=SCHOOL_NM Char Width 30
    Col8=OTHER_ID Integer
    Col9=GRADE Char Width 2
    The filename in the first line needs to have the []  brackets around it, but I couldn't get it to display in this forum correctly.
    Edited by: Eric Petersen on Jan 27, 2010 9:40 AM

  • How to view multiple reports using crystal reports 2008

    Hi ,
    I am working on vb6 project where in i am trying to generate reports using crystal reports 2008.
    For this , i am making use of Interop Form Wrapper class in vb6.
    I have a business requirement where in i need to view multiple reports  on my screen.
    please suggest me as to how this can be achieved.
    Thanks in Advance
    Regards,
    Ramnath

    Hi Ludek,
    I  am directly now using crystal report viewer control in my vb6 project.
    As mentioned in previous mail, i have created a Interop Wrapper class over crystal report viewer control in .Net using visual studio 2008 and i am making use of wrapper class in my vb6 project.
    I am able to access all the properties that have been defined in my Interop wrapper Class but the only stuff i need is to view multiple reports generated one after the another for a single button click Event.
    Please find below the code that iam using to load and generate reports.
    Note:
    1. frm is the instance of my Interop Wrapper Class built over CR viewer control
    2. All the user defined methods of Wrapper class that you see below will internally call the actual crystalreportviewer   properties defined in my Wrapper class
    Say for e.g   frm.DisplayToolbar(True) will internally  execute  crystalreportViewer1.DisplayToolbar = True
    frm.SetReportSource(strRptFilePath,0)          
    frm.SetSelectionFormula(strrecordSelectionFormula)
    frm.DisplayToolbar(True)               
    frm.ShowExportOption(True)
    frm.ShowPrintOption(True)
    frm.ShowRefreshOption(True)
    frm.ShowPAgeNavigateOption(True)
    frm.ShowZoomOption(True)
    frm.ShowParameterPanelOption(True)
    frm.Show()
    Thanks in Advance
    Regards,
    Ramnath

  • How to get the Report Page count using crystal reports 2008

    Hi,
    I  have to implement a business logic where in i will have to display the no. of pages generated for the report
    Say for e.g. crytal report that's generated spans 25 pages in the report.
    Then i will have to display a message to the user after the report generation something like  "25 Pages generated"
    So, how would i get this report page count so that i can fetch the value and display the same to the user.
    Any sample code snippet would be of great help.
    Thanks in Advance
    Regards,
    Ramnath

    Hi,
    I am using crystal reports 2008 and i  visited the link forwarded in your previous mail and got the solution for getting the lastpagenumber of the report.
    nPages = crReport.FormatEngine.GetLastPageNumber(New CrystalDecisions.Shared.ReportPageRequestContext)
    but, i don't find FormatEngine  property for ReportDocument object.
    I just wanted to know whether this property is availale in crystal reports 2008 or should i even install any service packs for this.
    Please find below the namespaces that importing in my class
    Imports System.Windows.Forms
    Imports System.Drawing.Printing
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.Windows.Forms
    Imports CrystalDecisions.CrystalReports.ViewerObjectModel
    Imports CrystalDecisions.Shared.ReportPageRequestContext
    Please let me know how can i get the formatEngine property for reportdocument object
    Thanks in Advance
    Regards,
    Ramnath

  • Exporting Options in Crystal Reports 2008

    I am using Crystal Reports 2008 to make my report for my users.   I am also programming a viewer in vb 2005 so the users can view the report without changing it.  In the viewer I need to be able to export to excel or pdf or any other format.  I want the user to be able to specify where and how to export the report.  However when they press on the export button it is giving a save as dialog box, which, while it gives options to save as excel or pdf, it does not give the options such as to application, or to file, which are there in the full crystal report product. 
    My form gets the report name, sets up the data source and then displays it in a
    CrystalReportViewer object. 
    CrystalViewer.ReportSource = MyReportDocument
            CrystalViewer.DisplayToolbar = True
            CrystalViewer.ShowRefreshButton = False
            CrystalViewer.DisplayStatusBar = True
            CrystalViewer.EnableDrillDown = True
            CrystalViewer.EnableRefresh = False
            CrystalViewer.EnableToolTips = True
            CrystalViewer.ShowExportButton = True
    The export button is there, it just does not give all of the options that I would have expected.  I see there are ways to programatically use the options, however the export dialog box that appears in crystal reports 2008 would be useful to the user here.  Is there a way to make that box show up.  Perhaps it should be and I am doing something wrong.  I am very new to .net and crystal 2008, we used to use crystal 8.0 with vb6 for a viewer.  In that version the export dialog box showed up correctly.  Thank you for your help.  Also, if i am posting this in the wrong forum area please let me know so i can post it where it should be.

    You are doing things the correct way, unfortunately the export dialog is very basic.  If you want this extra functionality, you will have to code it yourself.

  • Unable to load password protected Accdb file using crystal reports 2008

    Hi,
    I am trying to generate crystal reports  using crystal reports 2008 and in the process, I am internally setting accdb file to all my rpt files .
    When i try to map my accdb file (Without passord protection) to all my rpt files, everything works fine and i am able to generate reports.
    But, when i try to map the password protected accdb file to the rpt file, it throws me an error saying
    "LogOn failed. "
    Details :         ADO Error Code : 0X
    Source:         Microsoft Access Database Engine
    Description : "Cannot start your appliaction, The workgroup information file is missing or exclusively opened by other users"
    SQL State  : 3028
    I have made sure that none of my applications are running when i try this.
    Please find the screenshot for the same.
    Please let me know how to resolve this issue as i need to work with password protected accdb files for generating reports.
    Thanks in Advance.
    Regards,
    Ramnath

    Hi Ludek,
    This is happening in CR designer.
    Besides, please find below the additional basic info regarding this
    Crystal reports version      : 2008
    Database connection type : OLE
    OLE DB Driver                    :  Microsoft Office 12.0 Access Database Engine OLE DB Provider
    Database                           :  Access 2010
    Dev Language                   :  VB.Net
    Regards,
    Ramnath

  • Server error in printing in server using crystal report 2008 with VS2008

    Hi,
    We are using Crystal report 2008 in VS 2008. Everything working fine in local but when we deployed it in the server we are getting the below while print the report.
    "An error occurred on the server. Printing will be stopped. Would you like to view the error information"
    Anyhow the report is printing but I don't know why this error is occur and how to stop this. I had installed the CR runtime in the server. I dont know what is going wrong. The same we tested locally in a non crystal report installed PC.
    Please help me to get rid out of this error.
    Thanks
    Natraj

    Soemthing strange going on here.
    Typically this Integrated vs Classic is an issue with images where Classic uses web.config tags between <system.web><httpHandlers><u2026 crystalimagehandler../></httphandlers></system.web>
    Integrated uses tags between <system.webserver>u2026<handlers><..crystalimagehandler/></handlers></system.webserver>
    Not sure why this would affect printing.  Do you have tags that specifying where to download the printcontrol from?  On the other hand, I would think that if images had anything to do with it, then you'd get red Xs when viewing.  As far as I know, the printcontrol.cab doesnu2019t need to be specified in the <system.webserver> tags.
    This one may be best resolved over the phone. Phone support can be obtained here:
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    Ludek

  • Connect to SAP R/3 using Crystal Reports 2008

    How to connect to SAP R/3 using Crystal Reports 2008 from Crystal Designer?

    thanks, I can get the data from SAP R/3 to crystal report.
    but still dont know how to do the second question mentioned in previous message:
    once the table I want to get the data from is a cluster, and have found the mapping data dictionary of this data cluster, which displayed in crystal report connection as well, however, the data is not what I wanted.

  • Need alternative for activex print control using Crystal reports 2008

    I have created a .Net web application (2.0/3.5 .Net framework) with crystal reports 2008.
    Reports are viewed using Crystal reports 2008 activex viewer.
    On click of PRINT icon in activex viewer, activex print control download prompt will be displayed on client machine.
    I need to avoid downloading of activex print control on client machine. Is there any other alternative or option to use print functionality in viewer without downloading activex print control on client machine?
    Or Is there any other workaround for print functionality in Crystal reports 2008 Viewer without downloading activex print control?
    Note: Activex print control download prompt will not be displayed when using Crystal reprots XI Release 2 version.
    Thanks,
    Jagannath

    Does anyone know which files need to be registered for the ActiveX print control?  We occasionally have users who somehow break their Crystal ActiveX controls, and they can no longer see the print options.  In Crystal 10, I was able to fix these issues by pushing a package which registered several files on the user's computer.

  • Problem using Crystal Reports 2008 with DB/C FS ODBC Datasource.

    HI,
    I'm trying to use Crystal Reports 2008 to connect to an ODBC datasource that using the DB/C FS driver from dbcsoftware (www.dbcsoftware.com).  When I connect to the source and add a table it shows all string fields as 255 characters long when that is not the case in the data definition for the driver.
    This issue has been brought up and resolved in previous versions of Crystal Reports.  In Crystal Reports XI it was ADAPT ticket 00307997.  It's worth noting that even though this issue says it was resolved in version XI with service pack 4 I still experience it in that version of CR as well. 
    If anyone has a solution to this for Crystal Reports 2008 please share.
    Thank you,
    David Guthu

    Hi David,
    Looking over the Adapt it was fixed in CR XI R2 Service Pack 4. CR XI is not the same so not sure if this is a typo or not.
    I don't see a branch for CR 2008 so I'll create one for you but this may be a different issue. The adapt was for all fields coming back as 65K and not 255. Also this was tracked in 2004 and fixes created for all versions of Cr at the time. These fixes get rolled forward so I'm thinking FS changed their driver with their latest build or at some earlier build.
    Note from Developer:
    DBCFS ODBC driver return meta data (e.g. column type) as SQL_DOUBLE instead of SQL_NUMERIC.
    ODBC bind as SQL_DOUBLE or SQL_NUMERIC but always retrieve data (in this case column type) as SQL_NUMERIC.
    Have you contacted FS to see if they have any patches or updates available? Are they following ANSII 92 Standards?
    To build a business case for this issue can you purchase a single support case, once it's been resolved you can get a refund, the reason being it adds more weight to the issue and we can escalate it at a higher level. Otherwise it goes in as a low priority issue and no fix date set.
    Also, we can then pass files back and forth etc. which we can not do through forums.
    Can you turn on ODBC tracing? I would like to see what the trace file shows.
    Thank you
    Don

  • Can we use Crystal Reports 2008 tool to directly reports on SAP R\3 data?

    Hi,
    Can we use Crystal Reports 2008 Designer to directly reports on SAP R\3 data without any additional Integration Kit for SAP?
    I believe the Integartion Kit is only for reporting on SAP BW data.
    Thanks in advance for your response and any additinal details you can provide.
    Thanks,
    Sri

    Please post this query to the Crystal Reports Design forum:
    SAP Crystal Reports
    That forum is monitored by qualified technicians and you will get a faster response there.
    Thank you for your understanding,
    Ludek

  • How to set Command Timeout in Crystal report while calling from C# code

    I am using Crystal report XI R2.  I am calling SQL server 2005 stored procedure as source in the report. I want the report should timeout from the website if the stored procedure doesn't return resultset after 5 minute. Could you please assist how should I chnage the below code to achieve that.
    Code :
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using CrystalDecisions.CrystalReports.Design;
    using CrystalDecisions.Shared;
    using CrystalDecisions.Web;
    using CrystalDecisions.CrystalReports.Engine;
    namespace CrystalTest
        public partial class _Default : System.Web.UI.Page
            protected ReportDocument rd;
            protected CrystalReportViewer Crv;
            protected void Page_Load(object sender, EventArgs e)
                rd = new ReportDocument();
                rd.Load(Request.MapPath("FXRate.rpt"));
                SetDBLogonForReport(GetCrvConnectionInfo(), rd);
                ParameterFields crtParamFields;
                ParameterDiscreteValue crtParamDiscreteValue1;
                ParameterField crtParamField1;
                ParameterDiscreteValue crtParamDiscreteValue2;
                ParameterField crtParamField2;
                ParameterDiscreteValue crtParamDiscreteValue3;
                ParameterField crtParamField3;
                ParameterDiscreteValue crtParamDiscreteValue4;
                ParameterField crtParamField4;
                ParameterDiscreteValue crtParamDiscreteValue5;
                ParameterField crtParamField5;
                ParameterDiscreteValue crtParamDiscreteValue6;
                ParameterField crtParamField6;
                crtParamFields = new ParameterFields();
                crtParamDiscreteValue1 = new ParameterDiscreteValue();
                crtParamField1 = new ParameterField();
                crtParamDiscreteValue1.Value = "USD";
                crtParamField1.ParameterFieldName = "@BaseCurrCode";
                crtParamField1.CurrentValues.Add(crtParamDiscreteValue1);
                crtParamFields.Add(crtParamField1);
                crtParamDiscreteValue2 = new ParameterDiscreteValue();
                crtParamField2 = new ParameterField();
                crtParamDiscreteValue2.Value = "EUR";
                crtParamField2.ParameterFieldName = "@CounterCurrCode";
                crtParamField2.CurrentValues.Add(crtParamDiscreteValue2);
                crtParamFields.Add(crtParamField2);
                crtParamDiscreteValue3 = new ParameterDiscreteValue();
                crtParamField3 = new ParameterField();
                crtParamDiscreteValue3.Value = "2008-05-28 00:00:00";
                crtParamField3.ParameterFieldName = "@FromDate";
                crtParamField3.CurrentValues.Add(crtParamDiscreteValue3);
                crtParamFields.Add(crtParamField3);
                crtParamDiscreteValue4 = new ParameterDiscreteValue();
                crtParamField4 = new ParameterField();
                crtParamDiscreteValue4.Value = "2008-05-28 00:00:00";
                crtParamField4.ParameterFieldName = "@ToDate";
                crtParamField4.CurrentValues.Add(crtParamDiscreteValue4);
                crtParamFields.Add(crtParamField4);
                crtParamDiscreteValue5 = new ParameterDiscreteValue();
                crtParamField5 = new ParameterField();
                crtParamDiscreteValue5.Value = "ashok12";
                crtParamField5.ParameterFieldName = "@CurrentUser";
                crtParamField5.CurrentValues.Add(crtParamDiscreteValue5);
                crtParamFields.Add(crtParamField5);
                crtParamDiscreteValue6 = new ParameterDiscreteValue();
                crtParamField6 = new ParameterField();
                crtParamDiscreteValue6.Value = DateTime.Now.ToString("dd MMM yyyy hh:mm");
                crtParamField6.ParameterFieldName = "@ClientTime";
                crtParamField6.CurrentValues.Add(crtParamDiscreteValue6);
                crtParamFields.Add(crtParamField6);
                Crv.ParameterFieldInfo = crtParamFields;
                Crv.DisplayGroupTree = false;
                Crv.BestFitPage = true;
                Crv.ReportSource = rd;
            private void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
                Tables tables = reportDocument.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                    TableLogOnInfo tableLogonInfo = table.LogOnInfo;
                    tableLogonInfo.ConnectionInfo = connectionInfo;
                    table.ApplyLogOnInfo(tableLogonInfo);
            public static CrystalDecisions.Shared.ConnectionInfo GetCrvConnectionInfo()
                CrystalDecisions.Shared.ConnectionInfo con = new CrystalDecisions.Shared.ConnectionInfo();
                con.ServerName = System.Configuration.ConfigurationSettings.AppSettings["conServer"].ToString();
                con.DatabaseName = System.Configuration.ConfigurationSettings.AppSettings["conDatabase"].ToString();
                con.UserID = System.Configuration.ConfigurationSettings.AppSettings["sesUser"].ToString();
                con.Password = System.Configuration.ConfigurationSettings.AppSettings["sesPwd"].ToString();
                return con;
            private void Page_Unload(object sender, System.EventArgs e)
                if (rd != null)
                    rd.Close();
                    rd.Dispose();
                if (Crv != null)
                    Crv.HasCrystalLogo = false;
                    Crv.Dispose();

    Yes it is possible to use datasets. resources listed below. One hting to be aware of; Using datasets larger than about 5,000 records (depending on the report) is not advisable. Performance will potentially be an issue with datasets that are too large.
    Crystal Reports Guide To ADO.NET
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401c4455-a31d-2b10-ae96-fa57af5aec20
    Reporting Off ADO.NET Datasets
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2091d0c3-da1d-2b10-22be-a3426b183f75
    VS2005_Walkthroughs
    http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Walkthroughs.pdf
    VB samples:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe
    In the above samples see VBNET_WIN_ADODOTNET
    C# samples
    https://smpdl.sap-ag.de/~sapidp/012002523100006252722008E/csharp_win_smpl.exe
    BTW., notes databse is here:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    Articles can be searched here;
    https://www.sdn.sap.com/irj/sdn/businessobjects-articles
    Ludek
    Edited by: Ludek Uher on Feb 17, 2009 1:22 PM

  • Oracle 10g olap cube connectivity issue using Crystal Reports 2008

    Hi
    Kindly help me out with a solution. I have created a cube in oracle 10gR2 database using Oracle Analytic Workspace Manager. I am trying to connect to this cube using Crystal report Olap datasorces. But I am only getting 4 options to connect to Hyperion Essbase, HOLOS Cube, Microsoft OLEDB, Microsoft OLAP Analysis Services 8.0 and 9.0.  I am not getting any option for connection to Oracle OLAP. How do I do that or if it does not support kindly let me know.
    Thanks in advance
    Troyee

    Hi Troyee,
    I have discussed the issue with OLAP engineer and he told me that connectivity to OLAP cube is not supported.
    and please next time address OLAP questions to the following category:
    Expert Forums » Business Objects » Other Business Objects Products
    (see the relevant category description)
    Vitaly Izmaylov
    Crystal Reports Design forum moderator

  • Can not use crystal reports 2008

    Hi All
    I m not able to use crystal reports on windows server. I can use it everyehere  bt not on the server i dnt know if the problem is bcoz it's a 64bit machine or not.
    We are using .Net application.
    Thanks in advance.
    Anita

    Hi Anita
    Crystal Reports 2008 doesnu2019t have 64 bit support or runtime hence you are getting the attached error.                                                                               
    To run the application with Crystal reports there are two workarounds:                                                                               
    1. Run the IIS under 32 bit mode so that your application will use 32 bit Crystal Reports runtimes.                                                                               
    For this please do the steps mentioned below:                                                                               
    1.When compiling the application in Visual Studio .NET 2008 you will need to force it to 32 bit mode.                              
    You can do this by right-clicking the project name in the Solution Explorer.                                                       
    2.For VB.NET                                                                               
    Click Compile, then Advanced Compile Options.  For the Target CPU drop down box, change it from "AnyCPU" to "x86" then click OK.   
    3.For C#.NET                                                                               
    Click Build and change the Platform Target option from "Any CPU" to "x86".                                                                               
    Now follow the steps mentioned in the Kbase article from below link:                                                               
      http://support.microsoft.com/kb/894435                                                                               
    You should then be able to run the application on a 64 bit OS without error.                                                                               
    The second workaround is                                                                               
    To change the references in your web application to CR 10.5 i.e. Crystal Reports basic for Visual Studio 2008. Crystal Reports 10.5 has the runtime for 64 bit machine.                                                                               
    For this:                                                                               
    1. Uninstall Crystal Reports 2008 from your machine.                                                                               
    2. Run the set up file for Visual Studio 2008 (from CD or the installation source that you use).                                                                               
    3. Click on Repair.                                                                               
    4. From the list of components select Crystal Reports 10.5 and click on Next.                                                                               
    5. After the repair is done you should be able to use the application using Crystal Reports.                                                                               
    Hope this helps!!
                                                                                    Regards,                                                                               
    Sourashree

Maybe you are looking for

  • How do I get my iPhone 4s to print using AirPrint

    I have a HP LaserJet P1102w printer that has the latest firmware and drivers installed, but I cannot get it to print fom my iPhone 4s.  I am probably doing something wrong that is right in fromt of me.  Both Apple and HP say this printer is AirPrint

  • BI 7. Report Error

    Hi Experts, I am working BI 7.0, now simple one report created, i want to executed it saying Error : No Applicable Data Found. But, in Infube all data available, What to do, I am very confusion, i am not able to see the report results. Please provide

  • Held on accessing values in a JSP

    Hi, I have JSP with some input fields embedded in it. Consider the input fields as follows. Call the JSP as index.jsp <input type = "text" name = "userid"> <input type = "text" name = "email"> I also have a submit button which passes control to anoth

  • Pure ASP Upload help needed...

    Trying to create simple upload page... But nothing seems to be happening Can anyone offer suggestions on what to check? I created 2 pages... Page #1 = Simple form with 3 fields title, file upload and page Page #2 = simple thank you message to confirm

  • How to synchronize iphone 4S with iphone 5?

    Hi, I have just bought an iPhone 5 and all my data are on my old iPhone 4S, how to synchronize them together? Thank you