Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Command Button Error


Message #1 by "KennethMungwira" <KennethMungwira@Y...> on Mon, 15 Oct 2001 17:16:56
I have a command button that allows the user to only to edit a form once 

this button is hit, but once the button is hit again it shows an error 

message:



*The object  may be a control on-a-read-only form

*The object may be on a form that is open in design view

*The value may be too large for this field.



I have checked all code, what should I look for?
Message #2 by "Claudine Haight" <claudine@e...> on Thu, 18 Oct 2001 19:17:36
It sounds like you're trying to edit a field before you set the AllowEdits 

for the form to true.  If you have subforms, make sure that you set the 

AllowAdditions and AllowEdit to true for each subform, before any data 

changes are done in your code.



If you are already doing this, then I need more info on what your code is 

trying to do and in what order to help you further.



I hope that this helps.



Claudine


  Return to Index