concurrency maanger deatils

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

I am trying to fix a concurrency related problem. Could someone please tell
me what happens when the addnew() method of a concurrent manager is called?

Thanks

Regards
 
It'll raise different events based on the call. So AddNew I believe would
raise Current Changed and then Add a New Row to the underlying datasource
without affecting any of the current rows.

What problem are you having? Is it not clearing everything out when you use
AddNew?
 
Hi,

When you add a new record the currency manager count will be greater
than the datasource row count.

Ken
------------------------
 
I get the error 'DataBinding could not find a row in the list that is
suitable for all bindings'. I am not sure what it means and where I should
start from to fix this.

Thanks

Regards
 
By any chance, are you using DataTime Pickers in your GUI? If so, make sure
that you provide a legit datetime as a default..I've seen a few posts on
this topic. I think that the DateTimePicker doesn't handle nulls (kb
article Q313513) and if you don't have a default value, that's the likely
problem.

Let me ask you one other thing....are all of the fields in your underlying
datatable represented ? Do you have any autoincrement fields or
DataRelations defined?
 
I have autonumber fields (db is access) but it was working fine with them.
The more recent fields are some memo fields. I also had to change the
oledbcommands to reflect new fields. Nothing obviously wrong that I can see.

Thanks

Regards
 
I have set the default value of the two Boolean fields to false in the
underlying dataset and it worked!!! Many Thanks. These fields were there
before and were working OK. Weird.
 
Glad you got it working.
John said:
I have set the default value of the two Boolean fields to false in the
underlying dataset and it worked!!! Many Thanks. These fields were there
before and were working OK. Weird.
 
Back
Top