Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Border Style Property

Status
Not open for further replies.

jojones

Programmer
Dec 4, 2000
104
AU
How can I change the BorderStyle of a Form when in Form View? When I try

Me.BorderStyle = 1
I get a "You can't assign a value to this object" error

and when I try

Me.BorderStyle.Value = 1
I get an "Invalid Qualifier" error on BorderStyle.

Not sure what to do. Please help. Thanks
Jo :) Cheers
Jo Jones
 
Hi jojones,
Sorry to say, but you can't. From the Access 97 VBA helpfile on the BorderStyle property:
"You can set the BorderStyle property for a form only in form Design view by using the form's property sheet, a macro, or Visual Basic."

Sorry.. :-( Katie
Hi! I'm currently studying the COM+ programming model. Hopefully YOU'RE having fun, which would make one of us..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top