
28-Jul-2006, 08:23 AM
|  | Guest | | | | | | | | | | image in report. Hi,
Private Sub Report_Page()
Me.Afbeelding.Picture = Me.Foto
End Sub
With this code i can put an image on every page of my report. It works
accept on the first page. I get no picture on page one.
If i use the following code i can monitor the code; this code stops, even Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/11820-image-in-report.html
on the first page, but i get everytime (on every page) a wrong fotolink, if i
continue the code the wright picture does appear.
Private Sub Report_Page() Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11820
linkfoto = me.Foto
Stop
Me.Afbeelding.Picture = Me.Foto
End Sub
So, how can i put the picture on my first page.
--
groeten,
Stefan
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh! | 
28-Jul-2006, 08:23 AM
|  | Guest | | | | | | | | | | Re: image in report.
Is your image control in the Detail section (i.e. 1 image per record) ?
If yes, use the Detail Format event, rather than the Report Page event, eg:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.Afbeelding.Picture = Me.Foto
End Sub
--
__________________________________________________ _____
DBPix 2.0: Add pictures to Access, Easily & Efficiently http://www.ammara.com/dbpix/access.htmlReference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11820
=?Utf-8?B?U3RlZmFu?= <123@abc> wrote:
>Hi, Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11820
>
>Private Sub Report_Page()
> Me.Afbeelding.Picture = Me.Foto
>End Sub
>
>With this code i can put an image on every page of my report. It works
>accept on the first page. I get no picture on page one.
>
>If i use the following code i can monitor the code; this code stops, even
>on the first page, but i get everytime (on every page) a wrong fotolink, if i
>continue the code the wright picture does appear.
>
>Private Sub Report_Page()
> linkfoto = me.Foto
> Stop
> Me.Afbeelding.Picture = Me.Foto
>End Sub
>
>
>So, how can i put the picture on my first page.
>--
>groeten,
>Stefan | 
28-Jul-2006, 08:23 AM
|  | Guest | | | | | | | | | | Re: image in report. Bob,
Thanks, it works fine
--
Stefan
"bob" wrote:
>
>
> Is your image control in the Detail section (i.e. 1 image per record) ?
>
> If yes, use the Detail Format event, rather than the Report Page event, eg:
>
> Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
> Me.Afbeelding.Picture = Me.Foto
> End Sub
>
> -- Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11820
> __________________________________________________ _____
> DBPix 2.0: Add pictures to Access, Easily & Efficiently
> http://www.ammara.com/dbpix/access.html
>
>
>
>
>
> =?Utf-8?B?U3RlZmFu?= <123@abc> wrote:
> >Hi,
> >
> >Private Sub Report_Page()
> > Me.Afbeelding.Picture = Me.Foto
> >End Sub
> >
> >With this code i can put an image on every page of my report. It works
> >accept on the first page. I get no picture on page one. Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11820
> >
> >If i use the following code i can monitor the code; this code stops, even
> >on the first page, but i get everytime (on every page) a wrong fotolink, if i
> >continue the code the wright picture does appear.
> >
> >Private Sub Report_Page()
> > linkfoto = me.Foto
> > Stop
> > Me.Afbeelding.Picture = Me.Foto
> >End Sub
> >
> >
> >So, how can i put the picture on my first page.
> >--
> >groeten,
> >Stefan
>
> | 
Support Us! Become a Promoter! | | Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh! | (View-All)
Members who have read this thread : 0
| | There are no names to display. | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Tools | Search | | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is On | | | | » Gurbani Jukebox | Listen to Gurbani while surfing SPN! | » Active Discussions | | | | | ਨਾਮਾ Today 06:37 AM 2 Replies, 45 Views | | | | | | | | | | | | | | | | | | | | | | | | | » Books You Should Read... | | | |