View Full Version : change property


Shawny
10-30-2001, 01:50 PM
I am trying to do a macro to change a propery for a form. The macro so far: row 1) I open the form in design view. row 2) set value action- item: [Forms]![Customers].[AllowEdits] Actually, I only put [] around the form name. After I hit enter the dB puts [] around everything. Expression: no I keep getting a bleep box that says the form I am referring to does not exist or is not open. What am I doing wrong?

jwindon
10-31-2001, 02:56 PM
I could read your question two ways.

1 - You are wanting to open a form and allow edits

2 - You are wanting to open a form and NOT allow edits

Not sure why you are choosing design view.

You first line in the macro should open the form. There is an option in this action to choose the "Data Mode" (Add, Edit or ReadOnly)

If you want to add arguments to a SetValue, your Expression should be Forms!Customers!AllowEdits

The Item (next line down) should be
True or False

Hope that answers your question.