Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Report in Win98SE & 2000 problem
Message
De
27/08/2003 23:01:12
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Produits tierce partie
Titre:
Crystal Report in Win98SE & 2000 problem
Divers
Thread ID:
00824065
Message ID:
00824065
Vues:
44
Dear All,

I'm using Crystal Report 8.5 and VB 6.0. And i have already design a report to print out my company product catalogue with product picture. It's work fine under Win98SE platform. But when i run the same program with same config in Win 2000 platform. All the catalogue picture are the same as the first product picture loaded.

My coding in the CR designer as following:
****************************
Private Sub Section10_Format(ByVal pFormattingInfo As Object)
If UCase(Field5.Value & ".jpg") = UCase(Dir(syspath & "photo\" & Field5.Value & ".jpg")) Then
Set stylepic.FormattedPicture = LoadPicture(syspath & "photo\" & Trim(Field5.Value) & ".jpg")
Else
Set stylepic.FormattedPicture = LoadPicture(syspath & "photo\" & "no_pic.jpg")
End If
End Sub
****************************
Section10 is the Detail Section of the Crystal Report
Field5 is the Product Code which the product picture filename is the same as the product code.Example : Product Code: ABC100 , the product picture ABC100.jpg

Did anyone experience on this? Anyone can give me some hints on it?
Thanks you very much
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform