PC Review


Reply
Thread Tools Rate Thread

Use ComboBox to select Current Record in Databinding?

 
 
Luther Miller
Guest
Posts: n/a
 
      10th Dec 2003
I'd like to take this article a step further:
http://msdn.microsoft.com/library/de...indowsform.asp

I want to add another combobox to the bottom between PREVIOUS and
NEXT. This Combobox will be bound to the Orders table and have a list
of Order IDs. No problem. What I would like to do is, when an item is
selected, change the current record for the form to be the one that
was selected. (Just as PREVIOUS and NEXT move the current form's
record to the previous/next orders.) It appears that I could do this
by looking up the selection in the ComboBox on the SelectedItemChanged
event and then matching the position and setting the position (much
like behind the PREV/NEXT click events), however it seems that this
should also be possible with data binding and no additional code.

Is it?

Thanks!
 
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
ComboBox: Update a value in current record before changing the ComboBox Value disneygoof via AccessMonster.com Microsoft Access Form Coding 2 17th Mar 2008 03:43 PM
Dependant Combobox not showing current value if record viewed =?Utf-8?B?UHVyZVJhZGlhbnRKb3k=?= Microsoft Access Form Coding 1 24th Aug 2007 12:49 AM
Combobox values as query releted to current record greeknl via AccessMonster.com Microsoft Access Forms 5 19th May 2007 10:11 AM
ComboBox Current Record Pointer =?Utf-8?B?U3RldmUgUw==?= Microsoft Access Form Coding 3 25th Oct 2006 02:57 AM
Bind a comboBox to the current record in the dataset dbuchanan Microsoft Dot NET Framework Forms 0 12th May 2005 12:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:04 PM.