User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MS Access and FileMaker Pro section within the Web Development category of DaniWeb, a massive community of 331,797 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,203 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS Access and FileMaker Pro advertiser:
Views: 1562 | Replies: 5 | Solved
Reply
Join Date: Apr 2007
Posts: 1
Reputation: Topina is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Topina Topina is offline Offline
Newbie Poster

Help subform without fields

  #1  
Apr 2nd, 2007
Hi! I'm a foreigner working in japan and my job has recently put me in a position where I have to use Access for the first time. I've managed to create some tables and establish relationships between them, but I got stuck trying to create a form with subforms.

I have a table with PlaceNames and PlaceID's (primary key) to which I linked (one to many) many other tables containing various data for every place.

To make data entry easier, I would like to create a form where I have the PlaceName and PlaceID in a main form and a subform for every other table linked through that PlaceID. When I do this, however, only the subforms for which I've already inserted some data show with all the fields. Subforms that don't contain any data yet, show up without any fields, which makes data entry impossible...

It might be a silly question, but I would really appreciate it if someone could tell me how to solve this problem. Maybe it is not possible and I misunderstood the whole concept of forms?... Either way, it would help me a lot if you could let me know!

Thanks!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2008
Posts: 3
Reputation: bjcountry is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
bjcountry bjcountry is offline Offline
Newbie Poster

Help Re: subform without fields

  #2  
Mar 18th, 2008
I'm currently having the SAME problem. I'm hoping someone can assist!
Last edited by bjcountry : Mar 18th, 2008 at 1:29 pm. Reason: Change icon
Reply With Quote  
Join Date: Mar 2006
Location: Japan
Posts: 87
Reputation: HI2Japan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 8
HI2Japan HI2Japan is offline Offline
Junior Poster in Training

Re: subform without fields

  #3  
Mar 18th, 2008
For the sub forms, Do you want the fields to change based off the PlaceID? or will all the fields be the same? Do you have your subform showing in form view or datasheet view?
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out!"
Reply With Quote  
Join Date: Mar 2008
Posts: 3
Reputation: bjcountry is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
bjcountry bjcountry is offline Offline
Newbie Poster

Help Re: subform without fields

  #4  
Mar 19th, 2008
In my situation the fields in the subform should simply show the related records (if any) which are based on the PlaceID field in the main form. The Place ID in the main form is the link between the main form and the subform.

The subforms I am using are in form view rather than datasheet view.

As long as the subform underlying table has records the subform shows up fine. However, when there aren't any records, the main form just shows up with a big blank box where the subform should be (the subforms are on different tab pages). I would like the subform to appear with all the labels and fields (even if the fields are blank) so the user can enter data into the underlying table which the subform is based upon.

Thanks for your help in advance!
Reply With Quote  
Join Date: Mar 2006
Location: Japan
Posts: 87
Reputation: HI2Japan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 8
HI2Japan HI2Japan is offline Offline
Junior Poster in Training

Re: subform without fields

  #5  
Mar 20th, 2008
I guess I am confused because whenever I have made forms with subforms, the form fields in the subform are always visible regardless of whether data is present or not. Is it possible for you put put up your database (or a part of it) so I can get a better understanding of what is happening?
Who was the first person to look at a cow and say, "I think I'll squeeze these dangly things here, and drink whatever comes out!"
Reply With Quote  
Join Date: Mar 2008
Posts: 3
Reputation: bjcountry is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
bjcountry bjcountry is offline Offline
Newbie Poster

Solution Re: subform without fields

  #6  
Mar 22nd, 2008
Topina...

I finally figured it out and it was so simple. I'm almost embarrassed at how simple it was. I didn't have the subforms set to allow for additions, edits, and deletions. Once I changed those properties all is well.

I hope this helps you if you are still looking for the answer.

Thank you HI2Japan for your attempts to assist.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Marketplace (Sponsored Links)
Thread Tools Display Modes

Similar Threads
Other Threads in the MS Access and FileMaker Pro Forum

All times are GMT -4. The time now is 6:57 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC