Page 3 of 3 FirstFirst 123
Results 31 to 45 of 45
  1. #31
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Quote Originally Posted by mike60smart View Post
    Your attached file does not have a Dashboard just a single Split Form?
    Please look #1

  2. #32
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Minty and Micron you are both right.
    You both are welcome and thank you both for replying.
    Now I wait for June to check the coding. Post #25

  3. #33
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    This version still has a Split Form
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  4. #34
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Quote Originally Posted by mike60smart View Post
    This version still has a Split Form
    please check now.
    Attached Thumbnails Attached Thumbnails dash.png  
    Attached Files Attached Files

  5. #35
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    Check this version.
    I don't know how the Parameter Prompts are being generated but the Close Form now Closes Registry and Displays Dashboard.
    Attached Files Attached Files
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  6. #36
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Don't know what else to say. This is the SQL in List132 RowSource:
    SELECT GREY_SHADE.OfferID, GREY_SHADE.Shade, GREY_SHADE.Meter FROM GREY_SHADE WHERE GREY_SHADE.OfferID=[OfferID];

    Explain what "not getting success" means - error message, wrong result, nothing happens?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #37
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Quote Originally Posted by mike60smart View Post
    Check this version.
    I don't know how the Parameter Prompts are being generated but the Close Form now Closes Registry and Displays Dashboard.
    Welcome Mike, you have suggested a substitute.
    This does not close the dashchild form on the dashboard but closes the dashboard itself and opens the dashboard again based on the black row source, making it appear to the user that only the form open on the dash child form has closed.
    This does not solve the main problem.
    thanks.

  8. #38
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Quote Originally Posted by June7 View Post
    Don't know what else to say. This is the SQL in List132 RowSource:
    SELECT GREY_SHADE.OfferID, GREY_SHADE.Shade, GREY_SHADE.Meter FROM GREY_SHADE WHERE GREY_SHADE.OfferID=[OfferID];

    Explain what "not getting success" means - error message, wrong result, nothing happens?
    I have put the code mentioned by you in the row source of the list box. After this, me.list132.requery code has also been set in the on current event of formoffer register.
    Now when I run the offer register and click on any offer the shade and meter related to the offer are not getting updated in the list box but all the shades and meter in the gray shade table are showing in the list box. This is the main problem coming.
    Whenever the user clicks on an offer, its shade and meter should be shown in the list box and not all the shades and meter of the gray shade table.
    thank you.

  9. #39
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    The dashchild form is NOT visible as it is unbound so it is not possible to close it
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  10. #40
    CarlettoFed is offline Competent Performer
    Windows 7 64bit Access 2013 32bit
    Join Date
    Dec 2019
    Posts
    257
    See if this matches what you would like.
    A1send.zip

  11. #41
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Quote Originally Posted by CarlettoFed View Post
    See if this matches what you would like.
    A1send.zip
    Yes thanks, it is working perfectly. But I also wanted to understand something from June. He was telling about some problem in SQL. well...

  12. #42
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    As I stated in post 24: "The listbox SQL I suggested does work for me. Would need to Requery the listbox when navigating records. So in Dashboard Current event - Me.List32.Requery".

    So there are 2 ways to accomplish a "conditional combobox/listbox". One sets RowSource property via VBA, the other has static SQL in RowSource and code runs Requery.

    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  13. #43
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Quote Originally Posted by June7 View Post
    As I stated in post 24: "The listbox SQL I suggested does work for me. Would need to Requery the listbox when navigating records. So in Dashboard Current event - Me.List32.Requery".

    So there are 2 ways to accomplish a "conditional combobox/listbox". One sets RowSource property via VBA, the other has static SQL in RowSource and code runs Requery.

    Welcome June, thank you very much for replying.
    I have tried to directly open formofferregister many times to directly by writing me.list32.requery code in the current event of formofferregister. Today I tried several times by putting the code in the current event of the dashboard but still don't know why it is not working. Please see my post 25 in which I have also attached the file.
    thank you.

  14. #44
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I looked at db in post 34. Still did not use the SQL statement I suggested. Remove the form prefix.

    Also, rename OfferID textbox to tbxOffer and reference textbox name. Apologies, I forgot this part.

    SELECT OfferID, Shade, Meter FROM GREY_SHADE WHERE OfferID=[tbxOfferID];
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  15. #45
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Quote Originally Posted by June7 View Post
    SELECT OfferID, Shade, Meter FROM GREY_SHADE WHERE OfferID=[tbxOfferID];
    Yes now it is working perfect, at first I was very worried.
    thank you so much

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. VBA IF NOT Coding
    By Grant Shea in forum Access
    Replies: 4
    Last Post: 09-12-2016, 02:41 PM
  2. Vb Coding Help
    By GarageConcepts in forum Access
    Replies: 1
    Last Post: 03-10-2016, 05:05 PM
  3. VBA Coding Help please
    By cfobare79 in forum Programming
    Replies: 6
    Last Post: 12-07-2014, 07:54 PM
  4. Need help in VBA coding
    By Kcgp in forum Programming
    Replies: 6
    Last Post: 02-01-2012, 11:22 PM
  5. Bar-Coding
    By texasprincess7 in forum Access
    Replies: 1
    Last Post: 02-12-2009, 10:29 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