+ Reply to Thread
Results 1 to 12 of 12

Query not allowing new records?

  1. #1
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Wisbech England
    MS-Off Ver
    Excel 2010
    Posts
    308

    Query not allowing new records?

    Hi all
    I have this strange problem that I was not able to resolve by my self.
    I had my table and input form created and it was working fine until I have created a query, now I'm not able to amend or input new records at all.
    How can I resolve this please?
    Dan

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Query not allowing new records?

    Are you able to upload a copy of your db with minimum number of records. Make sure any confidential information is dummied up. Run a compact and repair and then zip the file before uploading to make sure it is small enough for this site to accomodate.

    I have not heard of this situation before and will need to analyze the db to see what specifically is happening. Difficult to determine what is the causation without seeing the db.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Wisbech England
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: Query not allowing new records?

    Quote Originally Posted by alansidman View Post
    Are you able to upload a copy of your db with minimum number of records. Make sure any confidential information is dummied up. Run a compact and repair and then zip the file before uploading to make sure it is small enough for this site to accomodate.

    I have not heard of this situation before and will need to analyze the db to see what specifically is happening. Difficult to determine what is the causation without seeing the db.
    Thank you for your help.
    This problem exist only when I create query, I need this query as I have a costume formula in there.
    Dan
    Attached Files Attached Files
    Last edited by ciapul12; 05-14-2014 at 05:46 PM.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Query not allowing new records?

    You will need to put the file into a zip file. The forum does not allow uploads of accdb or mdb files. Hopefully you have run a compact and repair also to reduce the size of the file before zipping it.

  5. #5
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Wisbech England
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: Query not allowing new records?

    Quote Originally Posted by alansidman View Post
    You will need to put the file into a zip file. The forum does not allow uploads of accdb or mdb files. Hopefully you have run a compact and repair also to reduce the size of the file before zipping it.
    Hi Alan
    Any luck with my db please?
    Thanks
    Dan

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Query not allowing new records?

    Dan;
    Just saw that you had posted. Been busy. Will look at it as time available today and over weekend.
    Alan

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Query not allowing new records?

    Dan, which form is your input form? I'm sure the form names are meaningful for you , but I don't have a clue. If it is the one that is used to Raise New Report, I think that I know the answer there. It appears that the record source for that is a query of the DataBase Table. If you want to use that as the input source you will have to bind it directly to the table. If that is not the case, then let me know. It is appears that it is currently set up as a means to just view data in the table and not make updates.
    Last edited by alansidman; 05-16-2014 at 04:55 PM.

  8. #8
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Wisbech England
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: Query not allowing new records?

    Quote Originally Posted by alansidman View Post
    Dan, which form is your input form? I'm sure the form names are meaningful for you , but I don't have a clue. If it is the one that is used to Raise New Report, I think that I know the answer there. It appears that the record source for that is a query of the DataBase Table. If you want to use that as the input source you will have to bind it directly to the table. If that is not the case, then let me know. It is appears that it is currently set up as a means to just view data in the table and not make updates.
    Hi Alan
    There are 2 input forms, Raise new report and response form, there will be more as development progresses and I would like to know what is causing this problem so that I can fix it my self next time.
    I appreciate you help :-)
    Dan

  9. #9
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Query not allowing new records?

    Dan;
    I looked at the properties for both forms. They have recordsources of a Query which pulls data from the DataBase table. If you change the recordsource to the table itself, then you should be able to add data to your tables. As an aside, why do you have two different forms updating the same table? Also, I was getting an error message when I attempted to open the Response form using the main form, it threw up a Macro error message. You may want to look into this. I don't use macros (only vba) so I couldn't diagnose the issues. Is there a reason that you have the recordsource a query and not the table itself?

  10. #10
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Wisbech England
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: Query not allowing new records?

    Quote Originally Posted by alansidman View Post
    Dan;
    I looked at the properties for both forms. They have recordsources of a Query which pulls data from the DataBase table. If you change the recordsource to the table itself, then you should be able to add data to your tables. As an aside, why do you have two different forms updating the same table? Also, I was getting an error message when I attempted to open the Response form using the main form, it threw up a Macro error message. You may want to look into this. I don't use macros (only vba) so I couldn't diagnose the issues. Is there a reason that you have the recordsource a query and not the table itself?
    Hi Alan
    Thank you so much for taking time to help me I really appreciate this, I have 2 forms as this will be a program where users can raise new reports and respond to them. so manager raises the report and then employee responds to it in response form, the response form may not work as it is only a draft and not a final version I just put it there for reference.
    I'll try your suggestion in the morning as it's already 1:13am here in UK :-)
    dAN

  11. #11
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Wisbech England
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: Query not allowing new records?

    Alan
    This was it, my form works like a charm now after following your suggestion.
    Thank you.
    Dan

  12. #12
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Query not allowing new records?

    Dan;
    Good news.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Code not updating the right record, allowing multiple records with same unique ID, HELP!!
    By juanito73 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-06-2012, 03:25 PM
  2. Query - Multiple Records?
    By TehNoob2010 in forum Access Tables & Databases
    Replies: 1
    Last Post: 05-30-2012, 06:50 AM
  3. Query Records
    By madcat302 in forum Excel General
    Replies: 0
    Last Post: 05-08-2010, 06:37 AM
  4. Replies: 0
    Last Post: 05-20-2009, 10:40 PM
  5. No of Records returned by a Query
    By Soniya in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2005, 10:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1