473,545 Members | 2,001 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 2800
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
3945
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
1722
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...
9
3163
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
1320
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...
57
4237
by: Xarky | last post by:
Hi, I am writing a linked list in the following way. struct list { struct list *next; char *mybuff; };
8
1457
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...
90
10725
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
2652
by: maruf.syfullah | last post by:
Consider the following Class definitions: class AClass { int ai1; int ai2; public: CClass* c; AClass(){}
7
2230
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
1142
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
7479
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...
0
7669
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. ...
0
7926
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7439
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...
0
4962
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...
0
3468
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...
0
3450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1901
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
722
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...

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.