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  

Adding an optional field or be able to add a field using a command



 
 
Thread Tools Display Modes
  #1  
Old August 31st, 2006, 09:07 PM posted to microsoft.public.access.forms
Crystal Carter
external usenet poster
 
Posts: 1
Default Adding an optional field or be able to add a field using a command

I am trying to find a way to be able to add a filed by using a command
button. I have a notes field and I would like to be able to puch a button on
the side of my form and then have another field of "notes" come up and be
able to do that any number of times.
  #2  
Old August 31st, 2006, 09:18 PM posted to microsoft.public.access.forms
Klatuu
external usenet poster
 
Posts: 7,074
Default Adding an optional field or be able to add a field using a command

If you need an unlimited number of notes associated with a record, you will
need to modify the design of your database and your form.
Database:
You will need a child table to the table you are working with. If all it
needs is a memo, then the table only needs a primary key of its own, a field
to carry the primary key of your main table (as a foreign key), and the memo
field.
Form:
Take the memo field off the form.
Add a subform based on the memos table. Use the subform to enter your notes.

"Crystal Carter" wrote:

I am trying to find a way to be able to add a filed by using a command
button. I have a notes field and I would like to be able to puch a button on
the side of my form and then have another field of "notes" come up and be
able to do that any number of times.

  #3  
Old August 31st, 2006, 10:24 PM posted to microsoft.public.access.forms
Crystal Carter
external usenet poster
 
Posts: 1
Default Adding an optional field or be able to add a field using a com

This isn't really working for me, I guess I need step by step instructions.
Is there a way I can use a command button to add this?

"Klatuu" wrote:

If you need an unlimited number of notes associated with a record, you will
need to modify the design of your database and your form.
Database:
You will need a child table to the table you are working with. If all it
needs is a memo, then the table only needs a primary key of its own, a field
to carry the primary key of your main table (as a foreign key), and the memo
field.
Form:
Take the memo field off the form.
Add a subform based on the memos table. Use the subform to enter your notes.

"Crystal Carter" wrote:

I am trying to find a way to be able to add a filed by using a command
button. I have a notes field and I would like to be able to puch a button on
the side of my form and then have another field of "notes" come up and be
able to do that any number of times.

  #4  
Old August 31st, 2006, 10:28 PM posted to microsoft.public.access.forms
Klatuu
external usenet poster
 
Posts: 7,074
Default Adding an optional field or be able to add a field using a com

There is no way to do all this with a command button.
You can't have an unlimited number of fields in a table. What I suggested
in my prior post is the correct way to handle this.

What is your skill level as an Access Developer?

"Crystal Carter" wrote:

This isn't really working for me, I guess I need step by step instructions.
Is there a way I can use a command button to add this?

"Klatuu" wrote:

If you need an unlimited number of notes associated with a record, you will
need to modify the design of your database and your form.
Database:
You will need a child table to the table you are working with. If all it
needs is a memo, then the table only needs a primary key of its own, a field
to carry the primary key of your main table (as a foreign key), and the memo
field.
Form:
Take the memo field off the form.
Add a subform based on the memos table. Use the subform to enter your notes.

"Crystal Carter" wrote:

I am trying to find a way to be able to add a filed by using a command
button. I have a notes field and I would like to be able to puch a button on
the side of my form and then have another field of "notes" come up and be
able to do that any number of times.

 




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 09:33 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.