N
Nigel
Is there a way/how do I do it to customise the ribbon in Access 2007, as you
can it previous vewrsions to customise toolbars and menus.
Thanks
can it previous vewrsions to customise toolbars and menus.
Thanks
Set rsForm = frmRibbonImages.RecordsetClone
When I dig (and it has been some time) into this I don't understand how it
could ever work. I must be missing something? Images is an Attachment
control
on the USysRibbonImages form, as far I can tell the Attachment object has
no
member PictureDisp?
Any direction would be greatly appreciated.
I couldn't agree with you more, but judging from its source, I have toAlbert D. Kallal said:I do not like that example at all..
The logic simply means you are opening a form in hidden mode, and the MOVING
THE RECORD to the correct position (and, the form will then display the
image from the recordset in an image control..and then you grab that image
from the form, and then close the form. Hardly a reasonable way to get a
simple image in a production environment. When I think about this, it means
that a ribbon to display one little image for a button would be opening a
WHOLE form to grab *ONE* simple image.
(I guess I saying I really don't like that code example one bit).
I agree and understand. Being desperate to get this to work, I was justYou can't use the RecordSetClone, you MUST use RecordSet. Remember,
reocrdsetclone moves independent of the form. When you use recordset, then
when you do a move/find etc, then the form actually MOVES WITH your
reocrdset. The example code has the above written as reocrdset, and NOT
recordsetclone. The reason for this is you MUST MOVE the form to the correct
record so the form can "render" the image on a image control on that form
(then your code is then going go "pluck" that image from the image control
on
the form).
Sorry I don't understand this comment. What is PictureDisp and what is itsI not looked, but if you don't have a image on the form, then you have to
add it...
I would suggest that you consider placing the images in a directory
(relative) to your application. Or, we come up with a way to pull the image
directly out of a table. It just seem so kluge to launch a whole form and
then start navigating records in that form to the correct record to display
a
simple image for ONE control on a ribbon.
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.