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  

OH I miss C!!



 
 
Thread Tools Display Modes
  #1  
Old September 27th, 2005, 03:17 AM
acadprogrmr via AccessMonster.com
external usenet poster
 
Posts: n/a
Default OH I miss C!!

I am struggling to make the data I have collected in my text boxes appear in
a list box that is linked to a temporary table. The Idea is to write each
set of text boxes as a record to be added to the listbox (called Display) and
to the table called tblTempTable. Can anyone help?
  #2  
Old September 27th, 2005, 04:06 AM
Albert D.Kallal
external usenet poster
 
Posts: n/a
Default

First, you can bind the listbox to a table, so why not just write the values
to the table, and then the values will "appear" in the listbox...

If you use code to add records to the table, then you will need to tell
ms-access to "re-load" the listbox. You can do that with

me.MyListBox.Requery.

As a general rule, using bound controls does do all the "heavy" work for
you, but you got to learn how to work with them....

For "grids" in ms-access, you might also consider a continues sub-form. Here
is some screen shots of both a listbox, and continuous form...as often one,
or the other can be used (ie: they are often interchangeable).

http://www.members.shaw.ca/AlbertKal...icles/Grid.htm

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada

http://www.members.shaw.ca/AlbertKallal


  #3  
Old September 27th, 2005, 04:59 AM
acadprogrmr via AccessMonster.com
external usenet poster
 
Posts: n/a
Default

Hi ADK,
Thank you for replying. I had thought it might be easier to write the data
to the table instead. I will try that tomorrow. Check on me tomorrow if you
can. The grid idea is interesting. The screenshots certainly give the idea
it is flexable. I really do need this code going ASAP - You know how it goes

Thanks again,
Acad

Albert D.Kallal wrote:
First, you can bind the listbox to a table, so why not just write the values
to the table, and then the values will "appear" in the listbox...

If you use code to add records to the table, then you will need to tell
ms-access to "re-load" the listbox. You can do that with

me.MyListBox.Requery.

As a general rule, using bound controls does do all the "heavy" work for
you, but you got to learn how to work with them....

For "grids" in ms-access, you might also consider a continues sub-form. Here
is some screen shots of both a listbox, and continuous form...as often one,
or the other can be used (ie: they are often interchangeable).

http://www.members.shaw.ca/AlbertKal...icles/Grid.htm

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Make multiple fields from one field. smittick General Discussion 3 August 22nd, 2005 12:30 PM
Outlook MAPI error: Unable to open email folders. gwmsp1.dll miss. newtooutlook Installation & Setup 1 May 24th, 2005 06:43 AM
Word flonge Publisher 21 January 14th, 2005 03:29 PM
Licensing question Gregg Hill Setup, Installing & Configuration 32 September 4th, 2004 03:54 AM
Outlook Express miss the attachment sent by office outlook Lee Outlook Express 1 June 16th, 2004 12:05 PM


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


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