Results 1 to 6 of 6
  1. #1
    kes is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    3

    blank data from form

    hi all,

    I'm new in access and I hope you can help me.



    I have 3 tables: projects, items, items per presses and I have 4 forms: 1 for entering project name and pm name. in the second form I'm entering items for the project I've entered in form 1.
    I'm using the code: =[Forms]![screen0]![Project_Name].
    the code works and shows me the name of the project I've entered in form 1 in form 2, but when I'm entering the table itself in the project name I have blank where the project name supposed to be!

    how can I fix that?

    thanks!

  2. #2
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Sounds like your tables are not linked. Are those subforms?

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Sorry, but I've read this five times and I have absolutely no idea what

    ...but when I'm entering the table itself in the project name I have blank where the project name supposed to be...
    means!

    As burrina has suggested, this type of scenario is usually handled by using a Main Form/Subform construct. The Main Form would be based on the Projects Table, the Subform based on the Items Table, and the two linked (via the Link Master Fields/Link Child Fields Property of the Subform) using the Project Name. The Access Gnomes would then automatically insert the ProjectName into the Records on the Subform.

    Linq ;0)>

  4. #4
    kes is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    3
    hi,
    first of all thanks for your help.

    burrina
    what do you mean linked? they are linked by relationships.


    Missinglinq

    I have a project name based on a previous form and in the current form I'm entering items list for this project, but in the actual table there is a blank in project name .

    maybe the pictures will help clarify what I meant.

    Click image for larger version. 

Name:	table.PNG 
Views:	8 
Size:	26.0 KB 
ID:	11611Click image for larger version. 

Name:	screen1.PNG 
Views:	9 
Size:	43.1 KB 
ID:	11612Click image for larger version. 

Name:	screen0.PNG 
Views:	6 
Size:	14.6 KB 
ID:	11613

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    As you can probably see fro the responses so far, readers have little idea of what your database is about or what your database structure is. Readers can't assist you until they have some understanding of your business issue/opportunity.
    I recommend that you tell us all - in plain English - what your business is; what the issue is and what exactly you need assistance with. The more you can use plain, everyday English, and stay away from Access or other jargon the better.

    Once people understand WHAT you are trying to do, I'm sure they will respond with options of HOW to accomplish it.

    Good luck.

  6. #6
    kes is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    3
    hi,
    ok , I just did the subform again and suddenly it worked! so thanks anyway!
    but I do have another issue so I will explain the tables first...

    I need to make table for projects include name, manager name and due dates. another table is for Items for those projects. each project have a few items and each item containtes a few types of presses.
    in one form the users enters the project name and in the other form the items for the project and the press they need for each item.

    I'v attached a zip file.

    the question is: when I'm trying to enter a name of an item that already exist in another project I get the following error: "the microsoft access database engine cannot find a record in the table with key matching field".
    I'm guessing it's something about the realtionship type, but I don't know how to fix it. I'v tried to change the type and to change to duplictes ok but still the same problem.

    I hope now you understand what I mean. thanks againDB3 - Copy.zip

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 03-13-2013, 03:52 PM
  2. Querying All Data When Form Field Is Blank
    By jre1229 in forum Queries
    Replies: 25
    Last Post: 08-22-2012, 11:32 AM
  3. Blank Data to Combo
    By dlewicki in forum Access
    Replies: 10
    Last Post: 01-14-2010, 10:07 AM
  4. Add data from previous record if blank
    By mbc321 in forum Queries
    Replies: 1
    Last Post: 08-08-2009, 05:15 PM
  5. Replies: 1
    Last Post: 03-15-2009, 04:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums