Update form based upon query? (1 Viewer)

bry

Registered User.
Local time
Today, 02:13
Joined
Oct 8, 2001
Messages
10
How do you update data in a field, when the form(containing the field) was based upon a query?
I have many fields, half of them are for display purposes only, the other half need to be updated.

Thanx,
Bry
 

Pat Hartman

Super Moderator
Staff member
Local time
Yesterday, 21:13
Joined
Feb 19, 2002
Messages
43,484
As long as the query that the form is based on is updateable, you can just type into the form fields and the data will be saved to the underlying table(s). Tables and queries are interchangeable for most purposes.
 

bry

Registered User.
Local time
Today, 02:13
Joined
Oct 8, 2001
Messages
10
Got it sorted. It appears that access will only allow you to update data in a query if there are no more than 1 one-to-many relationships - my query had 5.
This is proberbly down to bad programming skills, however i am not responsible for the design. I am the 4th person in my company to try and crack this one.

Thanx
 

David R

I know a few things...
Local time
Yesterday, 20:13
Joined
Oct 23, 2001
Messages
2,633
I've done more than one one-to-many relationship in a query, however if you try to use any of the Domain level functions in your query, the recordset will end up non-updateable.
Look up in Access help: 'when can I update data from query' for more information.

HTH,
David R
 

Users who are viewing this thread

Top Bottom