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  

update data in one table using form



 
 
Thread Tools Display Modes
  #1  
Old April 22nd, 2008, 09:59 AM posted to microsoft.public.access.forms
Smoki
external usenet poster
 
Posts: 54
Default update data in one table using form

Hi,
I want to update data in table using form. I have 1 combo box on my form,
where I choose one number from 1 column in table, and then, all other fields
on my form have been filled in. And now, I want to change some information
about that number.
How can I do that? Do I have to use form with subform? I read that I can
update table using form, only if I use form with subform, and in the main
form I have this combo box, and subform has these other fields whitch I want
to update.
But, how to create form with subform if I have only one table (so I don't
have one-to-many relationship, which I need for Form with subform)?
  #2  
Old April 22nd, 2008, 01:35 PM posted to microsoft.public.access.forms
Golfinray
external usenet poster
 
Posts: 1,597
Default update data in one table using form

You should not need a subform, just the form will do. Use the form wizard, if
necessary, to add your form and all the fields you want. Put a command button
on the form (use the command button wizard) that closes and saves entered
data.

"Smoki" wrote:

Hi,
I want to update data in table using form. I have 1 combo box on my form,
where I choose one number from 1 column in table, and then, all other fields
on my form have been filled in. And now, I want to change some information
about that number.
How can I do that? Do I have to use form with subform? I read that I can
update table using form, only if I use form with subform, and in the main
form I have this combo box, and subform has these other fields whitch I want
to update.
But, how to create form with subform if I have only one table (so I don't
have one-to-many relationship, which I need for Form with subform)?

  #3  
Old April 22nd, 2008, 01:46 PM posted to microsoft.public.access.forms
Smoki
external usenet poster
 
Posts: 54
Default update data in one table using form

But, my form doesn't let me to enter anything in text fields, it says:
Control can't be edited; it's bound to the expression 'Number.column(1)'

I got this message every time when I try to add, or change data in those
text fields. So, command button can't help me, in this situation.

"Golfinray" wrote:

You should not need a subform, just the form will do. Use the form wizard, if
necessary, to add your form and all the fields you want. Put a command button
on the form (use the command button wizard) that closes and saves entered
data.

"Smoki" wrote:

Hi,
I want to update data in table using form. I have 1 combo box on my form,
where I choose one number from 1 column in table, and then, all other fields
on my form have been filled in. And now, I want to change some information
about that number.
How can I do that? Do I have to use form with subform? I read that I can
update table using form, only if I use form with subform, and in the main
form I have this combo box, and subform has these other fields whitch I want
to update.
But, how to create form with subform if I have only one table (so I don't
have one-to-many relationship, which I need for Form with subform)?

  #4  
Old April 22nd, 2008, 07:31 PM posted to microsoft.public.access.forms
Golfinray
external usenet poster
 
Posts: 1,597
Default update data in one table using form

Check and see if your query is editable, meaning at the bottom there is an
arrow and asterisk. If the query is not editable your form won't be either.

"Smoki" wrote:

But, my form doesn't let me to enter anything in text fields, it says:
Control can't be edited; it's bound to the expression 'Number.column(1)'

I got this message every time when I try to add, or change data in those
text fields. So, command button can't help me, in this situation.

"Golfinray" wrote:

You should not need a subform, just the form will do. Use the form wizard, if
necessary, to add your form and all the fields you want. Put a command button
on the form (use the command button wizard) that closes and saves entered
data.

"Smoki" wrote:

Hi,
I want to update data in table using form. I have 1 combo box on my form,
where I choose one number from 1 column in table, and then, all other fields
on my form have been filled in. And now, I want to change some information
about that number.
How can I do that? Do I have to use form with subform? I read that I can
update table using form, only if I use form with subform, and in the main
form I have this combo box, and subform has these other fields whitch I want
to update.
But, how to create form with subform if I have only one table (so I don't
have one-to-many relationship, which I need for Form with subform)?

 




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 03:06 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.