Crystal Report question...

  • Thread starter Thread starter MounilK
  • Start date Start date
M

MounilK

Hi all,
I am very much new to the world of Crystal Reports. On my server I
have say..10 reports(.rpt's); which are modified once in a while. On my
clients there are copies of these reports(.rpt's). What I'd like to do is
that each day when the client fires up, it checks the version of each report
and compares it with the version of that report on the client. If client has
an older version, then download the new version.

My question is how do i get the version information of a particular .rpt
file?

TIA,
Mounil.
 
Don't know about checking the version of a report, but you could check the
date/time stamp of the file instead...
 
Hi Brendan,
Thanks for your reply. I did think about that but i think
there should be something to describe the revisioning of a report. like for
an assembly, there is a assembly.version property.

cheers,
Mounil
 
Hi,

No idea if you can do so, I have never heard of a "version" in a CR report.
What you can do is check for either the modification dates or even maybe
get a hashcode of the file, if you assume than the server always have the
lastest version if the client and server have different version you update
the client.


cheers,
 
Hi Ignacio/Brendan,
Thanks for your reply. I think based upon the replies
in the NG's, the way to go is to check the FileInfo.LastWriteTime of
the Server report and the Client report; and download the file if
necessary. Thanks for your help.

Cheers,
Mounil.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top