Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Loading InkPic with Data

6 posts in DataWindow Last posting was on 2009-03-03 17:28:45.0Z
Clive Collie Posted on 2009-03-02 09:11:33.0Z
From: "Clive Collie" <clive_doesnt_like_spam@dillistone.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Loading InkPic with Data
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49aba2c5@forums-1-dub>
Date: 2 Mar 2009 01:11:33 -0800
X-Trace: forums-1-dub 1235985093 10.22.241.152 (2 Mar 2009 01:11:33 -0800)
X-Original-Trace: 2 Mar 2009 01:11:33 -0800, vip152.sybase.com
X-Authenticated-User: panorama
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88889
Article PK: 418141

Can anybody tell me how to populate and InkPic control at runtime using dot
notation?

Thanks
Clive


John Strano[Sybase] Posted on 2009-03-02 19:47:19.0Z
From: "John Strano[Sybase]" <nichtspamjstrano@csi.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <49aba2c5@forums-1-dub>
Subject: Re: Loading InkPic with Data
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49ac37c7$1@forums-1-dub>
Date: 2 Mar 2009 11:47:19 -0800
X-Trace: forums-1-dub 1236023239 10.22.241.152 (2 Mar 2009 11:47:19 -0800)
X-Original-Trace: 2 Mar 2009 11:47:19 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88894
Article PK: 418146

Is there a reason LoadPicture() will not do?

--
John Strano - Sybase Technology Evangelist

"Clive Collie" <clive_doesnt_like_spam@dillistone.com> wrote in message
news:49aba2c5@forums-1-dub...
> Can anybody tell me how to populate and InkPic control at runtime using
> dot notation?
>
> Thanks
> Clive
>


John Strano[Sybase] Posted on 2009-03-02 19:49:43.0Z
From: "John Strano[Sybase]" <nichtspamjstrano@csi.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <49aba2c5@forums-1-dub>
Subject: Re: Loading InkPic with Data
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49ac3857$1@forums-1-dub>
Date: 2 Mar 2009 11:49:43 -0800
X-Trace: forums-1-dub 1236023383 10.22.241.152 (2 Mar 2009 11:49:43 -0800)
X-Original-Trace: 2 Mar 2009 11:49:43 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88895
Article PK: 418147

If you're referrring to an InkPicture DW item, have you considered

<DW Control Name>.Object.<InkPicturename>.BackImage

...?
--
John Strano - Sybase Technology Evangelist

"Clive Collie" <clive_doesnt_like_spam@dillistone.com> wrote in message
news:49aba2c5@forums-1-dub...
> Can anybody tell me how to populate and InkPic control at runtime using
> dot notation?
>
> Thanks
> Clive
>


Clive Collie Posted on 2009-03-03 09:34:21.0Z
From: "Clive Collie" <clive_doesnt_like_spam@dillistone.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <49aba2c5@forums-1-dub> <49ac3857$1@forums-1-dub>
Subject: Re: Loading InkPic with Data
Lines: 51
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49acf99d$1@forums-1-dub>
Date: 3 Mar 2009 01:34:21 -0800
X-Trace: forums-1-dub 1236072861 10.22.241.152 (3 Mar 2009 01:34:21 -0800)
X-Original-Trace: 3 Mar 2009 01:34:21 -0800, vip152.sybase.com
X-Authenticated-User: panorama
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88896
Article PK: 418148

I did mean the DW InkPic.

According to the help BackImage is "A string value specifying the name of
the long binary column that contains the background image for the control."

I want to apply the image directly to the control from a blob. The DW is not
connected to a DB. I can fill the "normal" fields but not the InkPic.

It is a bit of a mystery how the inkpic goes about it's work. I have tried
SQLPreview on both the DW and the transaction object but nothing is shown. I
had to trace the DB to find out what it was up to. The fact that it seems to
use a whole other channel of communication has in many ways spoiled my
plans. I normally shift data around by extracting it from a datastore using
ds.object.data but that doesn't include any data loaded into an inkpic.
GetFullState does work but is not suitable for my purposes. Even then inkpic
control on a dw actually crashes my report generator program (a combination
of PBNI and .NET and InkPic seems to blows it up).

For displaying pictures stored as blobs in the db it has caused me many
issues (admittedly I do go about things in a way probably not anticipated by
Sybase). Applying data directly to the control was my last shot.


Regards
Clive

"John Strano[Sybase]" <nichtspamjstrano@csi.com> wrote in message
news:49ac3857$1@forums-1-dub...
> If you're referrring to an InkPicture DW item, have you considered
>
> <DW Control Name>.Object.<InkPicturename>.BackImage
>
> ...?
> --
> John Strano - Sybase Technology Evangelist
>
>
> "Clive Collie" <clive_doesnt_like_spam@dillistone.com> wrote in message
> news:49aba2c5@forums-1-dub...
>> Can anybody tell me how to populate and InkPic control at runtime using
>> dot notation?
>>
>> Thanks
>> Clive
>>
>
>


John Strano[Sybase] Posted on 2009-03-03 14:46:20.0Z
From: "John Strano[Sybase]" <nichtspamjstrano@csi.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <49aba2c5@forums-1-dub> <49ac3857$1@forums-1-dub> <49acf99d$1@forums-1-dub>
Subject: Re: Loading InkPic with Data
Lines: 69
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49ad42bc$1@forums-1-dub>
Date: 3 Mar 2009 06:46:20 -0800
X-Trace: forums-1-dub 1236091580 10.22.241.152 (3 Mar 2009 06:46:20 -0800)
X-Original-Trace: 3 Mar 2009 06:46:20 -0800, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88900
Article PK: 418152

So in that you're using a free a freeform DW you're not able to add a long
binary column to store the image, correct?
That's a real poser. I can't immediately think of a magic bullet for this
one.

In that you're not utilizing a DB connection/repository, can you
tolerate using an InkPicture contraol instead and use the overloaded
LoadPicture() call that uses a blob?
--
John Strano - Sybase Technology Evangelist

"Clive Collie" <clive_doesnt_like_spam@dillistone.com> wrote in message
news:49acf99d$1@forums-1-dub...
>I did mean the DW InkPic.
>
> According to the help BackImage is "A string value specifying the name of
> the long binary column that contains the background image for the
> control."
>
> I want to apply the image directly to the control from a blob. The DW is
> not connected to a DB. I can fill the "normal" fields but not the InkPic.
>
> It is a bit of a mystery how the inkpic goes about it's work. I have tried
> SQLPreview on both the DW and the transaction object but nothing is shown.
> I had to trace the DB to find out what it was up to. The fact that it
> seems to use a whole other channel of communication has in many ways
> spoiled my plans. I normally shift data around by extracting it from a
> datastore using ds.object.data but that doesn't include any data loaded
> into an inkpic. GetFullState does work but is not suitable for my
> purposes. Even then inkpic control on a dw actually crashes my report
> generator program (a combination of PBNI and .NET and InkPic seems to
> blows it up).
>
> For displaying pictures stored as blobs in the db it has caused me many
> issues (admittedly I do go about things in a way probably not anticipated
> by Sybase). Applying data directly to the control was my last shot.
>
>
> Regards
> Clive
>
>
>
> "John Strano[Sybase]" <nichtspamjstrano@csi.com> wrote in message
> news:49ac3857$1@forums-1-dub...
>> If you're referrring to an InkPicture DW item, have you considered
>>
>> <DW Control Name>.Object.<InkPicturename>.BackImage
>>
>> ...?
>> --
>> John Strano - Sybase Technology Evangelist
>>
>>
>> "Clive Collie" <clive_doesnt_like_spam@dillistone.com> wrote in message
>> news:49aba2c5@forums-1-dub...
>>> Can anybody tell me how to populate and InkPic control at runtime using
>>> dot notation?
>>>
>>> Thanks
>>> Clive
>>>
>>
>>
>
>


Clive Collie Posted on 2009-03-03 17:28:45.0Z
From: "Clive Collie" <clive_doesnt_like_spam@dillistone.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <49aba2c5@forums-1-dub> <49ac3857$1@forums-1-dub> <49acf99d$1@forums-1-dub> <49ad42bc$1@forums-1-dub>
Subject: Re: Loading InkPic with Data
Lines: 84
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49ad68cd$1@forums-1-dub>
Date: 3 Mar 2009 09:28:45 -0800
X-Trace: forums-1-dub 1236101325 10.22.241.152 (3 Mar 2009 09:28:45 -0800)
X-Original-Trace: 3 Mar 2009 09:28:45 -0800, vip152.sybase.com
X-Authenticated-User: panorama
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88902
Article PK: 418154

I don't get the binary column thing in a datawindow. When I first heard abut
it I though here was an alternative to SELECTBLOB. However I can't work it
out. It still seems to be tied in with OLE with the dialog insisting on
filling out all the fields for OLE class etc. Also it seems to use the same
strange database back channel that the ink picture uses. I was hoping data
would go inline like all the other data and could be found in dw.object.data
somehow embedded in the data(...) bit.

I remember writing a Delphi program back in 1994 that displayed bitmaps
stored in a DB. Maybe PB12...

"John Strano[Sybase]" <nichtspamjstrano@csi.com> wrote in message
news:49ad42bc$1@forums-1-dub...
> So in that you're using a free a freeform DW you're not able to add a long
> binary column to store the image, correct?
> That's a real poser. I can't immediately think of a magic bullet for this
> one.
>
> In that you're not utilizing a DB connection/repository, can you
> tolerate using an InkPicture contraol instead and use the overloaded
> LoadPicture() call that uses a blob?
> --
> John Strano - Sybase Technology Evangelist
>
>
> "Clive Collie" <clive_doesnt_like_spam@dillistone.com> wrote in message
> news:49acf99d$1@forums-1-dub...
>>I did mean the DW InkPic.
>>
>> According to the help BackImage is "A string value specifying the name of
>> the long binary column that contains the background image for the
>> control."
>>
>> I want to apply the image directly to the control from a blob. The DW is
>> not connected to a DB. I can fill the "normal" fields but not the InkPic.
>>
>> It is a bit of a mystery how the inkpic goes about it's work. I have
>> tried SQLPreview on both the DW and the transaction object but nothing is
>> shown. I had to trace the DB to find out what it was up to. The fact that
>> it seems to use a whole other channel of communication has in many ways
>> spoiled my plans. I normally shift data around by extracting it from a
>> datastore using ds.object.data but that doesn't include any data loaded
>> into an inkpic. GetFullState does work but is not suitable for my
>> purposes. Even then inkpic control on a dw actually crashes my report
>> generator program (a combination of PBNI and .NET and InkPic seems to
>> blows it up).
>>
>> For displaying pictures stored as blobs in the db it has caused me many
>> issues (admittedly I do go about things in a way probably not anticipated
>> by Sybase). Applying data directly to the control was my last shot.
>>
>>
>> Regards
>> Clive
>>
>>
>>
>> "John Strano[Sybase]" <nichtspamjstrano@csi.com> wrote in message
>> news:49ac3857$1@forums-1-dub...
>>> If you're referrring to an InkPicture DW item, have you considered
>>>
>>> <DW Control Name>.Object.<InkPicturename>.BackImage
>>>
>>> ...?
>>> --
>>> John Strano - Sybase Technology Evangelist
>>>
>>>
>>> "Clive Collie" <clive_doesnt_like_spam@dillistone.com> wrote in message
>>> news:49aba2c5@forums-1-dub...
>>>> Can anybody tell me how to populate and InkPic control at runtime
>>>> using dot notation?
>>>>
>>>> Thanks
>>>> Clive
>>>>
>>>
>>>
>>
>>
>
>