View Single Post
  #2  
Old June 7th, 2010, 07:39 AM posted to microsoft.public.access.reports
Allen Browne
external usenet poster
 
Posts: 11,706
Default easiest way to create gridlines in an Access 2003 report

You can use the Line method of the report in its Page event.
Use a loop to repeat at whatever grid size you want.
Measurements are in twips, where 1440 twips = 1 inch

This is how the Line method works:
Me.Line (Me.ScaleTop, Me.ScaleLeft)-(Me.ScaleTop, Me.ScaleHeight), vbRed

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"Liam0364" wrote in message
...
Does anyone know an easy way to create gridlines in an Access 2003 report
so
that it resembles a spreadsheet, other than manually drawing vertical and
horizontal lines?


Ads