A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Combo Box data error



 
 
Thread Tools Display Modes
  #1  
Old July 9th, 2008, 11:29 PM posted to microsoft.public.access.tablesdbdesign
Honey[_2_]
external usenet poster
 
Posts: 18
Default Combo Box data error

In a form for entering horse information, I have a created 2 Combo Boxes to
look up a horse's sire and dam from within the database with an after update
event to put the Sire's / Dam's horse ID number into the next field, and this
works fine during data entry; however, if I leave the form and come back
into it, the names of the sires and dams are different (seemingly random),
but the sire's / dam's horse id value is correct. Any idea why this happens
and what to do to correct it?

Thanks, Honey
  #2  
Old July 10th, 2008, 04:45 PM posted to microsoft.public.access.tablesdbdesign
scubadiver
external usenet poster
 
Posts: 1,673
Default Combo Box data error


Are the two combo boxes bound to fields in a table?

"Honey" wrote:

In a form for entering horse information, I have a created 2 Combo Boxes to
look up a horse's sire and dam from within the database with an after update
event to put the Sire's / Dam's horse ID number into the next field, and this
works fine during data entry; however, if I leave the form and come back
into it, the names of the sires and dams are different (seemingly random),
but the sire's / dam's horse id value is correct. Any idea why this happens
and what to do to correct it?

Thanks, Honey

  #3  
Old July 10th, 2008, 07:28 PM posted to microsoft.public.access.tablesdbdesign
Honey[_2_]
external usenet poster
 
Posts: 18
Default Combo Box data error

Yes, they are bound to the field that contains the Sire's / Dam's name. Also
tried it with them bound to the column that contained the Sire's / Dam's ID
number.

Honey

"scubadiver" wrote:


Are the two combo boxes bound to fields in a table?

"Honey" wrote:

In a form for entering horse information, I have a created 2 Combo Boxes to
look up a horse's sire and dam from within the database with an after update
event to put the Sire's / Dam's horse ID number into the next field, and this
works fine during data entry; however, if I leave the form and come back
into it, the names of the sires and dams are different (seemingly random),
but the sire's / dam's horse id value is correct. Any idea why this happens
and what to do to correct it?

Thanks, Honey

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.