473,847 Members | 2,449 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

List Box Problem, - Very Strange.

I am working on an Access 2002 Database.

I created a new table and imported some notes data into it from an
existing table. Now, when I try to create a List Box, and it displays
the list of fields to select from, I can see every field in the new
table EXCEPT the VNotes field, (which is the one I imported the existing
Notes data into). Can anyone help me understand why the existing text
notes could be causing Access to make the field invisible to the List
Box Wizard?

Genesis of what I did:

I have a table in the database which has been in use for some time, and
has various notes made in a memo field called Notes.

I want to split the notes data out into a separate table, so as to allow
multiple notes per each record in the main table. Currently they just
string all the notes together in the one Notes field.

I created a new table called VNotes, with five fields
ID (AutoNumber)
NoteDate (date field)
Critical (Y/N Check Box)
VNotes (Memo Field)
VNmbr (Text field, set for indexed duplicates OK)

The VNmbr field is for a foreign key to sync to the VNumber field in the
primary table)

I Copied and pasted all of the existing VNumber's from the primary table
into the VNotes.VNumber field.

I then linked the two tables via the VNumber and VNmbr fields, and used
and update query and imported all of the existing notes.

I wanted to create a list box that would show the notes in the new notes
table, on a form.

When I use the wizard to create the List Box, it shows me a listing of
the fields available in the VNotes table, but the field list does NOT
contain the VNotes Memo field. It shows all the other fields, but not
that one.

The only thing I can figure is that, over the course of time, someone
has entered some text into one of those notes which Access does not
like, or is treating as some kind of command, or what, I don't know.

Anyone out there who does?

BlackFireNova

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #1
3 2809
I haven't tried this out, but I think your problem may be related to this
being a memo field.
Since memo data can be as long as you want (up to 2K bytes, I think), it's
not really a good candidate for display in a listbox.

HTH
- Turtle

"BlackFireN ova" <BF************ *****@myrealbox .com> wrote in message
news:3f******** *************@n ews.frii.net...
I am working on an Access 2002 Database.

I created a new table and imported some notes data into it from an
existing table. Now, when I try to create a List Box, and it displays
the list of fields to select from, I can see every field in the new
table EXCEPT the VNotes field, (which is the one I imported the existing
Notes data into). Can anyone help me understand why the existing text
notes could be causing Access to make the field invisible to the List
Box Wizard?

Genesis of what I did:

I have a table in the database which has been in use for some time, and
has various notes made in a memo field called Notes.

I want to split the notes data out into a separate table, so as to allow
multiple notes per each record in the main table. Currently they just
string all the notes together in the one Notes field.

I created a new table called VNotes, with five fields
ID (AutoNumber)
NoteDate (date field)
Critical (Y/N Check Box)
VNotes (Memo Field)
VNmbr (Text field, set for indexed duplicates OK)

The VNmbr field is for a foreign key to sync to the VNumber field in the
primary table)

I Copied and pasted all of the existing VNumber's from the primary table
into the VNotes.VNumber field.

I then linked the two tables via the VNumber and VNmbr fields, and used
and update query and imported all of the existing notes.

I wanted to create a list box that would show the notes in the new notes
table, on a form.

When I use the wizard to create the List Box, it shows me a listing of
the fields available in the VNotes table, but the field list does NOT
contain the VNotes Memo field. It shows all the other fields, but not
that one.

The only thing I can figure is that, over the course of time, someone
has entered some text into one of those notes which Access does not
like, or is treating as some kind of command, or what, I don't know.

Anyone out there who does?

BlackFireNova

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 12 '05 #2
I suspect that you can't put a memo field into a listbox. I tried it
myself and you're right, the memo field doesn't show up in the wizard.
You will probably have to change your field to text, or use a
different control to view the notes.

Jude

BlackFireNova <BF************ *****@myrealbox .com> wrote in message news:<3f******* **************@ news.frii.net>. ..
I am working on an Access 2002 Database.

I created a new table and imported some notes data into it from an
existing table. Now, when I try to create a List Box, and it displays
the list of fields to select from, I can see every field in the new
table EXCEPT the VNotes field, (which is the one I imported the existing
Notes data into). Can anyone help me understand why the existing text
notes could be causing Access to make the field invisible to the List
Box Wizard?

Genesis of what I did:

I have a table in the database which has been in use for some time, and
has various notes made in a memo field called Notes.

I want to split the notes data out into a separate table, so as to allow
multiple notes per each record in the main table. Currently they just
string all the notes together in the one Notes field.

I created a new table called VNotes, with five fields
ID (AutoNumber)
NoteDate (date field)
Critical (Y/N Check Box)
VNotes (Memo Field)
VNmbr (Text field, set for indexed duplicates OK)

The VNmbr field is for a foreign key to sync to the VNumber field in the
primary table)

I Copied and pasted all of the existing VNumber's from the primary table
into the VNotes.VNumber field.

I then linked the two tables via the VNumber and VNmbr fields, and used
and update query and imported all of the existing notes.

I wanted to create a list box that would show the notes in the new notes
table, on a form.

When I use the wizard to create the List Box, it shows me a listing of
the fields available in the VNotes table, but the field list does NOT
contain the VNotes Memo field. It shows all the other fields, but not
that one.

The only thing I can figure is that, over the course of time, someone
has entered some text into one of those notes which Access does not
like, or is treating as some kind of command, or what, I don't know.

Anyone out there who does?

BlackFireNova

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 12 '05 #3
Thanks for the info.

I did find a sort of a workaround. I created my table, and then did the
list box wizard BEFORE I imported the note data. It created the list
box OK, and showed me the VNotes memo field in the wizard window. After
I did the List box I saved it in a form, and then I imported the data
and it works fine.

Of course, it doesn't show all the text of the memo field, but I wasn't
looking for that anyway. I wanted a list of the notes, and I'll set it
up so if they want to read the entire note they can double click on
whichever one they want and it will open another form which will allow
them to view it.

Thanks all.

BFN

BlackFireNova

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3965
by: Mike Pemberton | last post by:
I'm sure there's a good explanation for this effect, but I get rather a strange output from this little test: #include <iostream> #include <list> int main() { std::list<int> int_list;
5
1740
by: Chandler | last post by:
I'm having a strange problem... I have a table where the rows alternate white/gray. The gray row is set with a class where 'background-color: #ccc'. Each row has a cell with a list in it. The strange thing is, in the rows where the class is used (the gray ones), the right side of the list is cut off in IE6, but not Mozilla. If I change the 'background-color' declaration to another, or if I get rid of the class altogether, the problem...
9
3197
by: fudmore | last post by:
Hello Everybody. I have a Segmentation fault problem. The code section at the bottom keeps throwing a Segmentation fault when it enters the IF block for the second time. const int WORDS_PER_LINE = 4; when counter == 7 is when the string Concatenation fails within the IF block.
1
1328
by: John Finch | last post by:
Hi There, I have a form with some text boxes to enter search criterior and a list box to display the results. Depending on which text boxes are filled in the row source is given the correct query name via code. If the list box displays 20 results - 5 fit in the box and the other 15 are found by scrolling - and all works fine. My problem lies in that as soon as you select one of the records in the list box which then displays full...
57
4315
by: Xarky | last post by:
Hi, I am writing a linked list in the following way. struct list { struct list *next; char *mybuff; };
8
1474
by: Nak | last post by:
Hi there, I've come across quite an annoying bug after optimizing some of my code (which sounds quite strange I know), but take this for a description of my problem. * I have a background thread continually monitoring a collection, when items are available in the collection they are dealt with. * The items in question are files for images, when files appear in the collection the thread makes a thumbnail for it (which is associated...
90
10856
by: Christoph Zwerschke | last post by:
Ok, the answer is easy: For historical reasons - built-in sets exist only since Python 2.4. Anyway, I was thinking about whether it would be possible and desirable to change the old behavior in future Python versions and let dict.keys() and dict.values() both return sets instead of lists. If d is a dict, code like: for x in d.keys():
3
2674
by: maruf.syfullah | last post by:
Consider the following Class definitions: class AClass { int ai1; int ai2; public: CClass* c; AClass(){}
7
2245
by: beginner | last post by:
Hi Everyone, I have a simple list reconstruction problem, but I don't really know how to do it. I have a list that looks like this: l= What I want to do is to reorganize it in groups, first by the middle
0
1156
by: =?Utf-8?B?THVjYSBQaW5hc2Nv?= | last post by:
Hello I've had strange memory problem with my application compiled in debug mode. The problem is that in a visual basic class with an event declaration: public class Class1 public event Pippo() end class
0
9879
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10981
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10706
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10330
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9477
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7050
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5716
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4113
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3158
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.