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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Listbox



 
 
Thread Tools Display Modes
  #1  
Old October 5th, 2009, 04:40 PM posted to microsoft.public.access.forms
vbnetman via AccessMonster.com
external usenet poster
 
Posts: 83
Default Listbox

I have a 6 column listbox that receives its data from 3 tables. Users may
enter data via a form and the listbox acts as a summary sheet. The problem
I'm having is that if, for some reason, all 3 tables are not populated via
the form, the listbox does not show the partial recordset. Let's say the user
makes an incomplete entry, power goes out, forgets, errors ...whatever reason.
One of the tables has data but because its an incomplete record, the listbox
does not display ot. So, the user cannot go back to change it correct it or
delete it. How can I get the listbox to display the incomplete record? In
essence, I have a parent with no kids....a reverse orphan of sorts. Better
yet, once the partial record is created, how do I get rid of it?

Thank you in advance

vb

--
Message posted via http://www.accessmonster.com

  #2  
Old October 5th, 2009, 07:00 PM posted to microsoft.public.access.forms
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Listbox

I'm guessing your listbox uses a query (or SQL statement) to 'gather' its
records. If the query relies on "equi-joins", only records with matching
keys across all joined tables will be shown. If you want ALL of table1,
plus ANY of table2 and/or table3 records to show in the query, you need to
use a directional join (e.g., LEFT or RIGHT).

Regards

Jeff Boyce
Microsoft Access MVP

"vbnetman via AccessMonster.com" u22585@uwe wrote in message
news:9d24c68bef04d@uwe...
I have a 6 column listbox that receives its data from 3 tables. Users may
enter data via a form and the listbox acts as a summary sheet. The problem
I'm having is that if, for some reason, all 3 tables are not populated via
the form, the listbox does not show the partial recordset. Let's say the
user
makes an incomplete entry, power goes out, forgets, errors ...whatever
reason.
One of the tables has data but because its an incomplete record, the
listbox
does not display ot. So, the user cannot go back to change it correct it
or
delete it. How can I get the listbox to display the incomplete record? In
essence, I have a parent with no kids....a reverse orphan of sorts. Better
yet, once the partial record is created, how do I get rid of it?

Thank you in advance

vb

--
Message posted via http://www.accessmonster.com



  #3  
Old October 5th, 2009, 10:22 PM posted to microsoft.public.access.forms
vbnetman via AccessMonster.com
external usenet poster
 
Posts: 83
Default Listbox

Hi Jeff,
Thank you, that is correct. I've not had the opportunity to use that feature
but I clearly understand now why its there. You've saved the day!

vb

Jeff Boyce wrote:
I'm guessing your listbox uses a query (or SQL statement) to 'gather' its
records. If the query relies on "equi-joins", only records with matching
keys across all joined tables will be shown. If you want ALL of table1,
plus ANY of table2 and/or table3 records to show in the query, you need to
use a directional join (e.g., LEFT or RIGHT).

Regards

Jeff Boyce
Microsoft Access MVP

I have a 6 column listbox that receives its data from 3 tables. Users may
enter data via a form and the listbox acts as a summary sheet. The problem

[quoted text clipped - 14 lines]

vb


--
Message posted via http://www.accessmonster.com

 




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 08:46 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.