PDA

View Full Version : BitMaps inCrystal



Percy Augustus Corbett
31-Oct-2005, 02:30 PM
All, Please;

>In your data directory you need a file of the same name >as your dat file
> but with an *.ini extension
>
> Example:
> [BitmapPath]
> Path=V:\Workspaces\Bitmaps\
> [Fields]
> PHOTO_PATH=TRUE
>
> If your datafile is Empl.dat, then this file is called Empl.ini
> If the field containing the bitmap name is Empl.Photo_Path then under
> [FIELDS] you put the field name of PHOTO_PATH=TRUE.
>
> After creating the ini file as I instructed, Verify Database. Drag and
> drop Empl.Photo_Path onto your report (it will say it is a blob field).
>
> -Dave

in VDF6.2 andCrystal 7 I don´t blob field.I do not have field blob and this
process does not function. If the field will be ASCII does not have skill
to place one bitmap that it is not absorbed?
The user has that to choose one in several bitmaps to print, if I place an
image it I am permanent, I do not have as to help me?

Thanks in advance


--
Percy Augustus Corbett
TECPAC - Sistemas e Serviços
Campinas SP

wila
31-Oct-2005, 03:02 PM
Percy,

Have you read this?

http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=1228

hth,
Wil

Percy Augustus Corbett wrote:
> All, Please;
>
>
>>In your data directory you need a file of the same name >as your dat file
>>but with an *.ini extension
>>
>>Example:
>>[BitmapPath]
>>Path=V:\Workspaces\Bitmaps\
>>[Fields]
>>PHOTO_PATH=TRUE
>>
>>If your datafile is Empl.dat, then this file is called Empl.ini
>>If the field containing the bitmap name is Empl.Photo_Path then under
>>[FIELDS] you put the field name of PHOTO_PATH=TRUE.
>>
>>After creating the ini file as I instructed, Verify Database. Drag and
>>drop Empl.Photo_Path onto your report (it will say it is a blob field).
>>
>>-Dave
>
>
> in VDF6.2 andCrystal 7 I don´t blob field.I do not have field blob and this
> process does not function. If the field will be ASCII does not have skill
> to place one bitmap that it is not absorbed?
> The user has that to choose one in several bitmaps to print, if I place an
> image it I am permanent, I do not have as to help me?
>
> Thanks in advance
>
>

Marco
31-Oct-2005, 06:01 PM
Percy,

If it is just one logo out of eg 3 or 5, then I would do it by having a
section for each logo. Then suppress all sections with thhe logo's not
applicable.

Eg,
We have 3 types of letter head for almost all letters printed from
Crystal. We use exactly this technique, where each brand has its own
section. We just pass the brand code to the report as a formula, and the
right letter head with logo is printed.

This would offcourse not work if your bitmaps are out of a database, or
would get clumsie if you have more than eg 5 letterheads/brands.

Cheers,
Marco

Percy Augustus Corbett wrote:
> All, Please;
>
>
>>In your data directory you need a file of the same name >as your dat file
>>but with an *.ini extension
>>
>>Example:
>>[BitmapPath]
>>Path=V:\Workspaces\Bitmaps\
>>[Fields]
>>PHOTO_PATH=TRUE
>>
>>If your datafile is Empl.dat, then this file is called Empl.ini
>>If the field containing the bitmap name is Empl.Photo_Path then under
>>[FIELDS] you put the field name of PHOTO_PATH=TRUE.
>>
>>After creating the ini file as I instructed, Verify Database. Drag and
>>drop Empl.Photo_Path onto your report (it will say it is a blob field).
>>
>>-Dave
>
>
> in VDF6.2 andCrystal 7 I don´t blob field.I do not have field blob and this
> process does not function. If the field will be ASCII does not have skill
> to place one bitmap that it is not absorbed?
> The user has that to choose one in several bitmaps to print, if I place an
> image it I am permanent, I do not have as to help me?
>
> Thanks in advance
>
>

phvwijk
31-Oct-2005, 08:48 PM
Percy.

Maybe not what you want to read, but if you use Crystal XI you will be able
to show a bitmap if the Bmp_filename.jpg is in a file.
I personaly would not try to make Crystal XI work with Vdf 6.2 and move Vdf
11.1 but that is maybe no option for you.
I worked the ini file and got it working but never below vdf 7 and crystal
8.5

I can not recall that the crystal 7 driver had the possibility to do that.
Think that was introduced with the Crystal 8 driver.

Peter H. van Wijk
X-Organize Consultancy N.V.

"Percy Augustus Corbett" <tecpac@uol.com.br> wrote in message
news:t8r9kIl3FHA.2708@dacmail.dataaccess.com...
> All, Please;
>
>>In your data directory you need a file of the same name >as your dat file
>> but with an *.ini extension
>>
>> Example:
>> [BitmapPath]
>> Path=V:\Workspaces\Bitmaps\
>> [Fields]
>> PHOTO_PATH=TRUE
>>
>> If your datafile is Empl.dat, then this file is called Empl.ini
>> If the field containing the bitmap name is Empl.Photo_Path then under
>> [FIELDS] you put the field name of PHOTO_PATH=TRUE.
>>
>> After creating the ini file as I instructed, Verify Database. Drag and
>> drop Empl.Photo_Path onto your report (it will say it is a blob field).
>>
>> -Dave
>
> in VDF6.2 andCrystal 7 I don´t blob field.I do not have field blob and
> this
> process does not function. If the field will be ASCII does not have skill
> to place one bitmap that it is not absorbed?
> The user has that to choose one in several bitmaps to print, if I place an
> image it I am permanent, I do not have as to help me?
>
> Thanks in advance
>
>
> --
> Percy Augustus Corbett
> TECPAC - Sistemas e Serviços
> Campinas SP
>
>

Percy Augustus Corbett
1-Nov-2005, 07:18 AM
Thanks; Wil, Marco and Peter... I will tryed...
"Percy Augustus Corbett" <tecpac@uol.com.br> escreveu na mensagem
news:t8r9kIl3FHA.2708@dacmail.dataaccess.com...
> All, Please;
>
> >In your data directory you need a file of the same name >as your dat file
> > but with an *.ini extension
> >
> > Example:
> > [BitmapPath]
> > Path=V:\Workspaces\Bitmaps\
> > [Fields]
> > PHOTO_PATH=TRUE
> >
> > If your datafile is Empl.dat, then this file is called Empl.ini
> > If the field containing the bitmap name is Empl.Photo_Path then under
> > [FIELDS] you put the field name of PHOTO_PATH=TRUE.
> >
> > After creating the ini file as I instructed, Verify Database. Drag and
> > drop Empl.Photo_Path onto your report (it will say it is a blob field).
> >
> > -Dave
>
> in VDF6.2 andCrystal 7 I don´t blob field.I do not have field blob and
this
> process does not function. If the field will be ASCII does not have skill
> to place one bitmap that it is not absorbed?
> The user has that to choose one in several bitmaps to print, if I place an
> image it I am permanent, I do not have as to help me?
>
> Thanks in advance
>
>
> --
> Percy Augustus Corbett
> TECPAC - Sistemas e Serviços
> Campinas SP
>
>