473,654 Members | 3,096 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Date formating in Crysta Reports (VB.NET)

KK
Hi,

I am displaying a crystal report based on XML data
In XML I will get the date in this format.

<DOB>1946-05-22T00:00:00.000 0000-04:00</DOB>
<EDIT_DATE>99 99-09-09T00:00:00.000 0000-04:00</EDIT_DATE>
<EFFDT>2002-08-01T00:00:00.000 0000-04:00</EFFDT>

The code for generating report is

Private Sub generateRecapRp t()
Dim filePath As String
filePath = "test.xml"
Dim DSErrors As New DataSet("Errors ")
DSErrors.ReadXm l(filePath)
Dim rpt As New ErrorsRpt
rpt.SetDataSour ce(DSErrors)

CrystalReportVi ewer1.ReportSou rce = rpt
CrystalReportVi ewer1.Show()
End Sub

In ErrorsRpt.rpt, I am displaying the fields as it is. Please advise
how to format the date. I need the date to be displayed as 08-13-2002
02:35:45 (2002-08-13T02:35:45.000 0000-04:00).
Thanks.

Nov 21 '05 #1
0 841

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1233
by: B. Harwood | last post by:
I am researching the value of purchasing Crystal Reports 9 over using the version of Crystal included with Visual Studio. I am currenly using Visual Studio.NET with C#, writing web applications, and have created many reports with Visual Studio's version of Crystal for export to pdf format. So far, I have been able to do pretty much what I need to do with the Visual Studio version of Crystal; however, there really seem to be limited...
0
1695
by: Stefanos | last post by:
Hi, I am using VS .NET 2003 and the included Crystal Reports .NET. I have built a windows form that displays a grouping report using the report viewer. I would like the end-user to be able to choose the grouping field from a dropdown list. I've tried the sample code in the Crystal Help for .NET and it doesn't work for me.
2
1950
by: Jeannette | last post by:
Hi! there, I am currently working on web-based reports using crystal reports.NET 2003 and I am new to this reporting tool. I notice that the WEB forms report viewer toolbar does not include the 'PRINT' button, in which users can specify the print layout - portrait or landscape. Does anybody know how to add a 'PRINT' button to the web forms report viewer toolbar? Any help would be GREATLY appreciated!
2
1022
by: cgia | last post by:
I see that VS.NET comes with Crystal Reports .NET, officially "The" reporting tool for .NET . But, when trying to use it, it works only in the local machine, not with a remote webserver. Wherever I look for documentation (Crystal Decisions, newsgroups, ...) I always get the same message: you need to upgrade to the version 9. So is it just a commercial move? Has anybody used succesfully the .NET version?
0
1050
by: Sunil Sabir | last post by:
Dear All, I am actually quite new to Crystal Reports.Net. I am using Crystal Reports Viewer Control to display the report.But the problem is that my report is not displayed in the middle of the web form.Instead it displays the report in the right part of the screen and most of the left part is empty.I want to display the
0
914
by: test | last post by:
Where could I find an asp.net web host that supports crystal reports.net? Do I need to deploy each reference, or are there hosts with crystal reports.net preinstalled?
2
1173
by: kumarujjwal | last post by:
if any of you have license key of Cryatal Reports .net that come with VS .Net 2003, plz mail.
1
16382
by: ngpost1 | last post by:
I have a Crystal Reports.Net report being generated from my C# application. I would like to change the background color of the details section (not the text mind you) of the report on certain conditions. For example if the value of the 'Meeting Number' is greater than 100 the background color of the details section will be light yellow, otherwise it will be white. There will be multiple records in this reports so one (or a few) detail...
0
3820
by: p.strong | last post by:
Gday, I am trying to deploy a windows forms application that uses crystal reports for .net 2005... Prior to publishing the application to a webserver, I have checked the prerequisite to install crystal reports .net 2005, however when I go to access the URL to install the application on a client computer I get the error:
0
1288
by: tommaso.paxia | last post by:
hi guys, I have an application on .net framework 1.1 that uses crystal reports .net (version 9)... now I wanted to install it on windows vista... No way! First problem I can't install MSDE... ok I use sql express (even if I have to install framework 2.0 too)... secondo huge problem... Even if I added merge modules for CR.net and my deployment package is working on xp and 2000 when I try to open a report it says... "...
0
8376
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8489
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8594
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7307
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6161
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5622
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1596
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.