Results 1 to 10 of 10
  1. #1
    deepakg27 is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2017
    Posts
    160

    Coverting Subform from Data Sheet view to Continuous Giving Errors.

    Hi Guys,



    I have a frmSale and frmSaleDetailSubform (Subform). By default the subform is set to open in Datasheet view. I just changed it to continuous view and have been receiving following errors:

    1. As I converted the form from Datasheet to continuous, When ever main form is opened or shifted between form view and Design view, it keeps asking for Enter Parameter Value ? tblSale.Bill



    Pressing Ok OR Cancel OR entering any value has no effect , form opens fine but why gives an error??? How to avoid it. In datasheet view no error was there.



    2. Secondly, Like in subform with Datasheet view when we keep pressing TAB and the record is blank, cursor moves to main form marking an end to the subform, but in continuous form cursor just keeps going in loops to the empty new record. Don't know why this is happening.

    Thanks for any help or guidance.
    Thanks and Regards
    Deepak Gupta

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    1. not really enough information - is your mainform or subform based on tblSale? does it have a field called Bill? Have you checked the form properties for a filter or sort on a field no longer used? does you continuous form have any unbound controls?
    2. check the form cycle property - under the Other tab

  3. #3
    deepakg27 is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2017
    Posts
    160
    Hi Ajax,

    Thanks for replying.

    As per your suggestion I tried and built a very basic new DB and 1 problem was not showing in that, now I need to figure out where the problem in my main DB is (how do I figure it out, PLease suggest I am not very well versed in this). And Yes main frmSale is based on tblSale AND sub form frmSaleDetailSubform is based on tblSaleDetail (which has SaleID_FK to link it in 1 to Many Relationship).

    2. Checked the other tab for Cycle Properties - it is set to All Records. Further pressing Ctrl+Tab snaps me out of Subform as it should and everything works fine after that. I feel we would need a small code here, where it should detect if all the columns are blank or Null after focus is lost , it should snap out of the subform to the next tab ordering in Main form.

    Thanks and Regards
    Deepak Gupta

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870

  5. #5
    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
    Quote Originally Posted by deepakg27 View Post

    ...I just changed it to continuous view and have been receiving following errors:

    1. As I converted the form from Datasheet to continuous, When ever main form is opened or shifted between form view and Design view, it keeps asking for Enter Parameter Value ...
    If everything worked, as designed...then you simply went to Properties - Format and changed the Default View Property of the Subform from Datasheet to Continuous...doing nothing else...and it broke, now demanding a Parameter Value...you almost have to believe that Corruption has reared its ugly head!

    Is the scenario I've described above exactly how this happened?

    Linq ;0)>

  6. #6
    deepakg27 is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2017
    Posts
    160
    Dear Linq,

    This s exactly how it happened.

    Thanks and Regards
    Deepak Gupta

  7. #7
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    agree it sounds like corruption. Is your maindb in production and being used by others? If so do they each have their own copy of the front end and share the back end?

  8. #8
    deepakg27 is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2017
    Posts
    160
    Dear Ajax,

    Nothing of that sorts. It is used only on my laptop and that too in access DB file format have not converted it to stand alone yet. Any Idea on second issue.

    Regards
    Deepak Gupta

  9. #9
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    Not sure what the issue is

  10. #10
    deepakg27 is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2017
    Posts
    160
    Dear Ajax,

    Thanks

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

Similar Threads

  1. Sub Form Data Sheet view all entries
    By Shameer in forum Access
    Replies: 6
    Last Post: 06-01-2017, 05:31 AM
  2. Replies: 6
    Last Post: 05-14-2015, 02:19 AM
  3. Subform in continuous default view
    By gykiang in forum Forms
    Replies: 2
    Last Post: 03-29-2015, 12:22 PM
  4. updating subform in datasheet/Continuous view
    By Avizan05 in forum Programming
    Replies: 2
    Last Post: 05-02-2014, 07:04 AM
  5. change heading in data sheet view
    By sharad.rt in forum Forms
    Replies: 4
    Last Post: 07-21-2012, 12:54 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