Results 1 to 3 of 3
  1. #1
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    Whta is the difference in the two db's

    In the two db files that I have attached there is a sharp difference between them.



    Open frmPersonnel on _10 version and then click the button open form to send email and all that you get is a white screen?

    However, on _12 a slightly earlier version of the same program when you open frmPersonnel and then click the button to open the form to send email, it opens and shows the form as it is meant to be seen.

    I am unsure as to why the first one fails to give the proper screen (giving a white screen) in form view, but shows the correct
    form when I ask for design view. The latter form that fails db is only a few hours older than the db that does not fail on this open form to send email button.

    Both are zipped and attached to this post.

    I obviously cannot have a blank screen when opening this for to send email.

    What is causing this failure.

    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed
    Attached Files Attached Files

  2. #2
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    This fails at the VBA line indicated

    I think that I have found the solution to this problem, but I am still stuck on something that was mentioned several days ago. In the file of the attached db,
    the varTO in frmEmail does not work. I believe that it is the term email address causing the fail. If I were to rewrite it as emailaddress then I would get the problem of
    form frmEmail would not open up via the form frmPersonnel; in that case I would get a blank screen.

    So, how do I fix this? The value email address is preferred for all the reasons above. However, it does not work well with the varTO line in the VBA code for frmEmail.

    In that case varTO = null

    I am just hoping that there is a work around.

    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed
    Attached Files Attached Files

  3. #3
    jwhite is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Dec 2012
    Location
    North Carolina
    Posts
    349
    You are missing brackets in the following:

    '-- Combo of name to send email to
    stWhere = "[qryPersonnelMeeting].[email address] = " & "'" & StWho & "'"

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

Similar Threads

  1. Whta is wrong with this query
    By Lou_Reed in forum Access
    Replies: 3
    Last Post: 04-06-2017, 03:49 PM
  2. What is this difference between these?
    By Lou_Reed in forum Access
    Replies: 4
    Last Post: 03-31-2017, 10:43 AM
  3. Date Difference Not Quite Right
    By StevenCV in forum Access
    Replies: 11
    Last Post: 01-30-2014, 08:12 AM
  4. Difference Query
    By kaushalneo in forum Queries
    Replies: 1
    Last Post: 05-20-2013, 01:49 PM
  5. Get difference of Min and Max
    By nazimscr in forum Queries
    Replies: 1
    Last Post: 07-14-2012, 02:04 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