Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old April 28th, 2008, 04:55 PM
dand_dd dand_dd is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 21 dand_dd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 38 m 56 sec
Reputation Power: 0
Form based on query from 2 tables

I have 2 Tables in MS Access, tbl1 & tbl2, both of which are related through COLUMN ID. I created a query MyQuery joining the 2 tables to get relevant data. I then created a form MyForm, from MyQuery, using the Query Wizard. When I try to edit records in MyForm, it seems like all the textboxes (base on fields from query) are locked. I cant change anything.

Are a solution for this problem? I have read that is imposible to modify data on a form based on join querry between 2 or more tables.

I use Ms Access 2003.


Dan

Reply With Quote
  #2  
Old April 30th, 2008, 03:57 PM
dykebert's Avatar
dykebert dykebert is offline
Contributing User
Click here for more information. Click here for more information
 
Join Date: Apr 2008
Posts: 200 dykebert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 Days 3 h 29 m 39 sec
Reputation Power: 1
It's not impossible but it can be difficult. You can usually check if you can add or modify data by looking at the query itself. If you open the query and you can click on the button that has the *> then you'll be able to edit the data in the query.

Typically if the two table have fields of the same name, doing a join between them locks the fields.

There are ways to handle this in code but you can't simply use the fields from the query.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Form based on query from 2 tables


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway