PC Review


Reply
Thread Tools Rate Thread

Edit or AddNew in a Form

 
 
=?Utf-8?B?SmFtZXM=?=
Guest
Posts: n/a
 
      4th Oct 2005
Hi:

I have a form, the data is from two linked table, I find I can't edit or
add new data through this form.

Is that always the case, or may be I need do some settings for this form?

Thank you very much.

James
 
Reply With Quote
 
 
 
 
Ed Robichaud
Guest
Posts: n/a
 
      4th Oct 2005
As you've discovered, not every recordset is editable. Try add/editing
records directly into the query that is the record source of your form, and
you most likely will not be able to.

If you can enter/edit directly in the query, check that the form's Add New,
Delete, and Edit properties are set to "Yes".

If you can NOT enter/edit directly in the query, this is most likely the
result of the set relational integrity and defined joins.
You could change those, or re-design your form. Consider a mainform -
subform layout if the data is related 1-many.
-Ed

"James" <(E-Mail Removed)> wrote in message
news:4E56CCD7-2781-4569-926A-(E-Mail Removed)...
> Hi:
>
> I have a form, the data is from two linked table, I find I can't edit or
> add new data through this form.
>
> Is that always the case, or may be I need do some settings for this form?
>
> Thank you very much.
>
> James



 
Reply With Quote
 
=?Utf-8?B?S2xhdHV1?=
Guest
Posts: n/a
 
      4th Oct 2005
This appears to be a 1 to many relationship and you are trying to use a
query to do edits and adds. Ain't gonna happen. What you need is a form for
the parent table and a subform for the child table.

"James" wrote:

> Hi:
>
> I have a form, the data is from two linked table, I find I can't edit or
> add new data through this form.
>
> Is that always the case, or may be I need do some settings for this form?
>
> Thank you very much.
>
> James

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Addnew followed by Edit MIG Microsoft Access Forms 2 27th Jul 2010 11:31 AM
Error in Aceess form "Update or CancelUpdate without AddNew or Edit" tito Microsoft Access Forms 0 18th Aug 2006 08:29 AM
update or cancelupdate without addnew or edit =?Utf-8?B?WWlzTWFu?= Microsoft Access VBA Modules 5 10th Apr 2006 08:15 PM
Trouble with .AddNew and .Edit M Microsoft Access VBA Modules 4 25th May 2004 04:20 PM
DAO AddNew/Edit Methods Ronald Dodge Microsoft Access VBA Modules 4 5th Jan 2004 03:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:28 PM.