Draw a Christmas Tree with a star on top using VBA on an Access report.
Send the report object, top center coordinate and height for the Christmas Tree. Optionally, you can choose colors.
The code that does the drawing is all in one module that you can easily import into your projects. The Christmas Tree uses Circle and Line methods. The star uses Print.
DOWNLOAD the Access ACCDB database and code:
https://msaccessgurus.com/VBA/Draw_Ch...
00:10 This is an Access report
00:14 In the design view, we see that Merry Christmas is written in a control.
00:35 The Christmas tree and star are drawn using VBA.
00:44 report Page event
02:40 Draw_ChristmasTree Sub
04:35 tree stump
05:31 draw the tree
06:15 star on top is a character in the Wingdings 2 font
07:08 ♫ on the first day of Christmas, Access gave to me a star on a Christmas Tree ♬
Merry Christmas, God Jul, Feliz Navidad, Joyeux Noël, Frohe Weihnachten, Buon Natale, Веселого Різдва ... to you, your family, and friends
kind regards,
crystal
Remote Training and Programming
Let's connect and team-develop your application together. I teach you how to do it yourself.
https://msaccessgurus.com