Link to home
Start Free TrialLog in
Avatar of SpaceCoastLife
SpaceCoastLife

asked on

Column Layout in Access Xp VBA Report

I have a report in an Access project that is for labels.  In the report's setup under the File, Page Setup, Columns it is set to Number of Columns = 3 and Column Layout is Across, then Down.  I would like to give the user the ability to check a box on a form and change the Column Layout to Down, then Across during runtime.  

Only some of my users want this type of layout, which is why I want to make it operational via a checkbox.  Can someone tell me how I would do this programmatically with VBA?  I was messing around with PrtMip, but I cannot get it to work.  Do I need to do this on the 'On Open' event within the report - or am I supposed to do this when I call the opening of the report?
ASKER CERTIFIED SOLUTION
Avatar of PatHartman
PatHartman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SpaceCoastLife
SpaceCoastLife

ASKER

Thanks for the conclusion.  I was able to just switch my report to the alternative layout altogether, however, I'll remember this for next time in case I run into this situation again.
That was easy.  I've never had anyone request the option for z-order to be specified at runtime.  A report almost always makes the most sense one way or the other.