Results 1 to 5 of 5
  1. #1
    new is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2010
    Posts
    3

    Access Datasheet Issue

    Hi,



    I just moved two tables from access to sql.

    AccountRegistration
    Annuities

    I had created one form with a subdatasheet based on these two tables. Once I linked the tables through sql this form is working fine.When I add new record I am able to update the fields in subdatasheet too.

    On the same two tables I had created a datasheet with a joint query which lists fields from both the tables and I had given add and edit permission on this form so I could just start the new row and start adding data in both table fields. But Once I moved the tables to sql I am not able to add records in the columns from the second table i.e annuities.SO if I start adding data in column from table account registration it lets me add and then I tab to a column in Annuities it does not let me add any data.

    I tried refreshing and requerying but that is not helping. Any suggestions are welcome. Please help.

    Thanks

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    See if there is anything in this link that will help pin down the problem: http://allenbrowne.com/ser-61.html

  3. #3
    new is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2010
    Posts
    3
    Thanks for replying.

    I went through the list on the link but all of the settings suggested are in right order.

    The thing is the same query was updatable when the tables were in Access but when I moved to Sql some how something changed and it became unupdatable.

    Also if I go to that query window and try to append or update it. It allows me to run that query. it does have all the options for append and update available for the query.
    I am able to update the rows that are already existing. It just does not allow me to update the annuities table for the new row.

    here's my query

    SELECT [Account Registration].ID, [Account Registration].AccountRegistration1, [Account Registration].AccountRegistration2, Annuities.AccountRegistration, [Account Registration].ApplicantDOB, [Account Registration].OFACVerified, [Account Registration].RepLastName, [Account Registration].RepFirstName, [Account Registration].RepInitial, [Account Registration].CRDNumber, [Account Registration].MetafileID, Annuities.DateRecdAtMTL, Annuities.RegistrationType, Annuities.NewAcctApp, Annuities.InvAckForm, Annuities.InvRepLetter, Annuities.VAForm, Annuities.TransactionOrderForm, Annuities.IdemAgreement, Annuities.SponsorAPP, Annuities.SponsorName, Annuities.SponsorDirectFormsIncluded, Annuities.CheckAmount, Annuities.CheckNumber, Annuities.CheckPayor, Annuities.CheckPayee, Annuities.ForwardedOn, Annuities.By, Annuities.InternalComments, Annuities.AgentComments, Annuities.FollowUp, Annuities.Completed
    FROM [Account Registration] LEFT JOIN Annuities ON [Account Registration].ID = Annuities.AccountRegistration
    WHERE (((Annuities.AccountRegistration)=[Account Registration].[ID]) AND ((Annuities.DateRecdAtMTL) Between [Forms]![Products Data by Date]![StartDateCtl] And [Forms]![Products Data by Date]![EndDateCtl]));


    Thanks again for your help.

  4. #4
    new is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2010
    Posts
    3
    the issue was resolved. The issue was in the property of the query. I had not mentioned parent and child fields and it was working fine in access but that did create issue when the database moved to sql.

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    That's great! Thanks for posting back with your solution.

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

Similar Threads

  1. Issue with while loop and Access 2007 datasheet
    By jermaine123 in forum Programming
    Replies: 2
    Last Post: 01-17-2010, 10:09 AM
  2. Keep together issue (Access 12)
    By alpha in forum Reports
    Replies: 2
    Last Post: 06-02-2009, 08:21 AM
  3. Replies: 0
    Last Post: 04-16-2009, 01:44 AM
  4. Access Issue
    By uk in forum Access
    Replies: 0
    Last Post: 07-04-2007, 09:08 AM
  5. access 2003 automation issue
    By BevA in forum Programming
    Replies: 2
    Last Post: 05-01-2006, 08:37 AM

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