PC Review


Reply
Thread Tools Rate Thread

HasChanges With Bound Combo For Record Selector?

 
 
James Goodman
Guest
Posts: n/a
 
      14th Jun 2005
I have a CF application which is based loosely on the NorthwindCE sample.
The user can select records using a bound combo.

If the user selects a record using the combo, and then dataset.HasChanges is
tested, it always evaluates to true, even though no actual data changes have
been made.

Is there a way of finding out what field it thinks was modified?
Does this sound like correct behaviour?
Any ideas for a fix?

--
Cheers,

James Goodman


 
Reply With Quote
 
 
 
 
James Goodman
Guest
Posts: n/a
 
      14th Jun 2005
The problem seems to relate to data-bound bit fields:

I have a bit field which is databound (via the checked property) to a
checkbox control. This is the control which is somehow throwing the
Dataset.HasChanges property incorrectly.

--
Cheers,

James Goodman
"James Goodman" <jamesATnorton-associates.co.ukREMOVE> wrote in message
news:e5%(E-Mail Removed)...
>I have a CF application which is based loosely on the NorthwindCE sample.
>The user can select records using a bound combo.
>
> If the user selects a record using the combo, and then dataset.HasChanges
> is tested, it always evaluates to true, even though no actual data changes
> have been made.
>
> Is there a way of finding out what field it thinks was modified?
> Does this sound like correct behaviour?
> Any ideas for a fix?
>
> --
> Cheers,
>
> James Goodman
>



 
Reply With Quote
 
James Goodman
Guest
Posts: n/a
 
      14th Jun 2005
Solution would appear to be here:
http://groups.google.co.uk/group/mic...efab3a3ae18524


--
Cheers,

James Goodman
"James Goodman" <jamesATnorton-associates.co.ukREMOVE> wrote in message
news:e5%(E-Mail Removed)...
>I have a CF application which is based loosely on the NorthwindCE sample.
>The user can select records using a bound combo.
>
> If the user selects a record using the combo, and then dataset.HasChanges
> is tested, it always evaluates to true, even though no actual data changes
> have been made.
>
> Is there a way of finding out what field it thinks was modified?
> Does this sound like correct behaviour?
> Any ideas for a fix?
>
> --
> Cheers,
>
> James Goodman
>



 
Reply With Quote
 
James Goodman
Guest
Posts: n/a
 
      14th Jun 2005
Example here:
http://www.dotnet247.com/247referenc.../12/64487.aspx


--
Cheers,

James Goodman
"James Goodman" <jamesATnorton-associates.co.ukREMOVE> wrote in message
news:(E-Mail Removed)...
> Solution would appear to be here:
> http://groups.google.co.uk/group/mic...efab3a3ae18524
>
>
> --
> Cheers,
>
> James Goodman
> "James Goodman" <jamesATnorton-associates.co.ukREMOVE> wrote in message
> news:e5%(E-Mail Removed)...
>>I have a CF application which is based loosely on the NorthwindCE sample.
>>The user can select records using a bound combo.
>>
>> If the user selects a record using the combo, and then dataset.HasChanges
>> is tested, it always evaluates to true, even though no actual data
>> changes have been made.
>>
>> Is there a way of finding out what field it thinks was modified?
>> Does this sound like correct behaviour?
>> Any ideas for a fix?
>>
>> --
>> Cheers,
>>
>> James Goodman
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Record Selectors VS Combo Box Record Selector =?Utf-8?B?RWFybENQaGlsbGlwcw==?= Microsoft Access Form Coding 4 4th Oct 2006 05:58 PM
Combo Box and record selector =?Utf-8?B?VGVkIFcu?= Microsoft Access Forms 2 21st Aug 2006 05:58 PM
Record selector from a combo box =?Utf-8?B?U2VjcmV0IFNxdWlycmVs?= Microsoft Access 7 16th Jan 2006 01:00 AM
combo box /record selector Virginia Microsoft Access Forms 1 21st Nov 2003 03:08 AM
Use combo box as record selector Jonathan Blitz Microsoft Access Forms 7 5th Nov 2003 06:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:15 PM.