Results 1 to 3 of 3

Thread: Problem with Access 2000 forms

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Posts
    19

    Problem with Access 2000 forms

    Hi!

    I have an Access 2000 project (.adp) file. This is connected to the SQL Server database. I have a form, which has a lot of fields. The forms record source is set to a stored procedure.

    Only one control on the form txtSSN is bound to a field (SSN), that is obtained when the stored procedure is executed.

    Based on the SSN, I retrieve all the other values and assign it to the rest of the controls on the form.

    I have a problem here. After retrieving all the values from the database, and assigning it to the respective controls on the form, I should be in a position to edit it(if i have to)

    but i am not able to.....could someone tell me why...........


    also if i am using a bound form, wherein all controls are bound to fields retrieved from the stored procedure, and if i try to edit it, the form displays a message at the bottom of the screen "RECORDSET NOT UPDATABLE". why am i getting this...........


    PLEASE HELP!!!!!!!!!!!!!!!!!!!!

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    Check your recordset type to make sure it is Dynaset and that
    the Record Locks is Edited Record. Also, check that your stored
    procedure recordset comes from only one table. Fields can only
    be updated through queries if they contain one table or the fields
    to be updated are located in one table. If I remember correctly.

    HTH
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Posts
    19
    the stored procedure is pulling from more than one table. Is there no way in which I can solve the problem?

    PLEASE HELP!!!!!!!!!IT IS URGENT

Posting Permissions

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



Click Here to Expand Forum to Full Width