Ed Leafe wrote:
> On Aug 25, 2010, at 6:06 PM, Jim Byrnes wrote:
>
>> I'm not sure if that should be dataSource or DataSource. I tried
>> both but neither saved the data.  Using DataSource produced this
>> error: TypeError: save() got an unexpected keyword argument
>> 'DataSource'. dataSource produced no error.
>
> In Dabo, parameters begin with a lower-case letter, unless they are
> properties being passed to the object upon creation. So the proper
> parameter name for a method such as save() should be 'dataSource'.
>
> Having said that, passing this parameter should be completely
> unnecessary. I assume that you've added the bizobj to the form;
> otherwise the textbox would never get its initial value from the
> database. Do you have more than one bizobj on the form? Or just the
> one that is bound to the textbox.

Just the one, but it is bound to more than the textbox.  I fills a 
dropdown list, a listbox and 4 textboxes.

>> I put a print in the OnHit to be sure it is being called and it is.
>> I tried one other thing. I made a change and then closed the app.
>> I was not prompted to save my change.  I don't know if this is
>> significant or not.
>
>
> It might be, but only in that it tells us that the form is not
> detecting any changes in any of your data-bound controls.
>

I think I know but I'm not exactly sure what you mean by data-bound 
controls, some parts of the form work.  The 4 textboxes are set readonly 
in the ClassDesigner.  I have an "Edit" button that removes that using 
ReadOnly = "False".  That part works and I can edit data in the textboxes.

>
> -- Ed Leafe

Thanks,  Jim
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to