{"id":325,"date":"2016-07-06T14:05:17","date_gmt":"2016-07-06T18:05:17","guid":{"rendered":"http:\/\/access-diva.com\/blog\/?p=325"},"modified":"2016-07-08T21:07:01","modified_gmt":"2016-07-09T01:07:01","slug":"adding-a-custom-image-to-a-command-button","status":"publish","type":"post","link":"https:\/\/access-diva.com\/blog\/?p=325","title":{"rendered":"Adding a custom image to a Command Button"},"content":{"rendered":"<p>A little tired of the stock images that come with Access?\u00a0 You can add your own&#8230;<\/p>\n<p><strong>Step 1<\/strong> &#8211; In Design Mode of your Form (if the Property Sheet is not open do so now) click on the Command Button.\u00a0 Then in the Property Sheet select the Ellipse button, the one with the three dots, on the Picture line&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-347 size-full\" src=\"http:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/PictureNone.png\" alt=\"PictureNone\" width=\"355\" height=\"320\" srcset=\"https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/PictureNone.png 355w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/PictureNone-300x270.png 300w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/PictureNone-150x135.png 150w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/p>\n<p>&#8230;and the <strong>Picture Builder<\/strong> window will open&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-349 size-full\" src=\"http:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/PictureBuilder.png\" alt=\"PictureBuilder\" width=\"539\" height=\"223\" srcset=\"https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/PictureBuilder.png 539w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/PictureBuilder-300x124.png 300w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/PictureBuilder-150x62.png 150w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/PictureBuilder-400x165.png 400w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/p>\n<p><strong>Step 2<\/strong> &#8211; From the <strong>Picture Builder<\/strong> window select <strong>Browse&#8230;<\/strong> and the <strong>Insert Picture<\/strong> will open.\u00a0 In the lower right hand corner you will see&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-350 size-full\" src=\"http:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/Bitmap.png\" alt=\"Bitmap\" width=\"274\" height=\"154\" srcset=\"https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/Bitmap.png 274w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/Bitmap-150x84.png 150w\" sizes=\"auto, (max-width: 274px) 100vw, 274px\" \/>Where is says <strong>Bitmaps (*.bmp)<\/strong> select the drop down and change to <strong>All Files (*.*)<\/strong>&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-351 size-full\" src=\"http:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/AllFiles.png\" alt=\"AllFiles\" width=\"293\" height=\"166\" srcset=\"https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/AllFiles.png 293w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/AllFiles-150x85.png 150w\" sizes=\"auto, (max-width: 293px) 100vw, 293px\" \/><strong>Step 3<\/strong> &#8211; Navigate to the folder where you have the image you want to display on your Command Button and select the image&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-352 size-full\" src=\"http:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/SelectImage.png\" alt=\"SelectImage\" width=\"106\" height=\"58\" \/><\/p>\n<p>&#8230;and select <strong>Open<\/strong> from the lower right hand corner.\u00a0 Then select <strong>OK<\/strong>&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-353 size-full\" src=\"http:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/OK.png\" alt=\"OK\" width=\"539\" height=\"223\" srcset=\"https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/OK.png 539w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/OK-300x124.png 300w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/OK-150x62.png 150w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/OK-400x165.png 400w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/p>\n<p>And, WA-LAH, your image is on your Command Button!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-354 size-full\" src=\"http:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/reminder.png\" alt=\"reminder\" width=\"364\" height=\"465\" srcset=\"https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/reminder.png 364w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/reminder-235x300.png 235w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/reminder-117x150.png 117w\" sizes=\"auto, (max-width: 364px) 100vw, 364px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>Tip:<\/h4>\n<p>In your <a href=\"http:\/\/www.access-diva.com\/d11.html\" target=\"_blank\">Model Database<\/a> create a Form that has all your *mostly used*\u00a0Command Buttons.\u00a0 Then when creating a new database you can easily copy\/paste\u00a0your\u00a0Command Buttons from it to your Forms without going thru the steps above\u00a0for each Command Button AND you have the added plus of setting\u00a0up a Button Legend for the End Users.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-360 size-full\" src=\"http:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/buttonGlossarFullPage.png\" alt=\"buttonGlossarFullPage\" width=\"484\" height=\"633\" srcset=\"https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/buttonGlossarFullPage.png 484w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/buttonGlossarFullPage-229x300.png 229w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/buttonGlossarFullPage-115x150.png 115w, https:\/\/access-diva.com\/blog\/wp-content\/uploads\/2016\/07\/buttonGlossarFullPage-400x523.png 400w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_325\" class=\"pvc_stats all  \" data-element-id=\"325\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/access-diva.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>A little tired of the stock images that come with Access? You can add your own&#8230;<\/p>\n<p>Step 1 &#8211; In Design Mode of your Form (if the Property Sheet is not open do so now) click on the Command Button. Then in the Property Sheet select the Ellipse button, the one with the three dots, [&#8230;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_325\" class=\"pvc_stats all  \" data-element-id=\"325\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/access-diva.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,39],"tags":[92,21],"class_list":["post-325","post","type-post","status-publish","format-standard","hentry","category-access-tips","category-command-buttons","tag-command-button","tag-controls","odd"],"_links":{"self":[{"href":"https:\/\/access-diva.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/access-diva.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/access-diva.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/access-diva.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/access-diva.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=325"}],"version-history":[{"count":6,"href":"https:\/\/access-diva.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/325\/revisions"}],"predecessor-version":[{"id":389,"href":"https:\/\/access-diva.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/325\/revisions\/389"}],"wp:attachment":[{"href":"https:\/\/access-diva.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/access-diva.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/access-diva.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}