Results 1 to 4 of 4
  1. #1
    rajkumar is offline Novice
    Windows 10 Access 2016
    Join Date
    Jan 2018
    Posts
    4

    Issue with form property in expression builder - MS Access 2016


    • We have a form where one of the fields needs an expression.
    • When we are building that expression, actual need is to select the column name, but we see that there is a property coming up along with the column name with the same name.
    • Even if we select the column name, when we save it, it is automatically being changed to form property which is causing the issue in the result.
    • We want an expression like this: =IIf([SNAME]="FC";"FC";[STUDENT])
    • But when we save it, it is being changed to: =IIf([SNAME]="FC";"FC";[Student])
    • STUDENT is a column name which we want to be in the expression
    • Student it is shown as a form property in the suggestions but it is not there in the property sheet, we don't know where it is being defined.
    • Please check the below screenshot, where you can observe all the above points mentioned.
    • Click image for larger version. 

Name:	issue.PNG 
Views:	14 
Size:	16.4 KB 
ID:	32082

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    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.

  3. #3
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,977
    Access doesn't always discriminate between upper and mixed or lower case
    However it is likely that somewhere you have done something like this
    Code:
    Dim Student As String
    Either find the cause of the issue ....
    or build the expression manually as you know what output you want already
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  4. #4
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    It looks like Student is the name of a form and STUDENT is the name of a textbox on the form, or a field name in a table.
    Suggest you rename the form frmStudent.
    Last edited by davegri; 01-12-2018 at 11:57 AM. Reason: clarif

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

Similar Threads

  1. Replies: 4
    Last Post: 05-03-2016, 01:51 PM
  2. Access 2016 Default Value Issue
    By breakingme10 in forum Forms
    Replies: 7
    Last Post: 09-23-2015, 10:07 AM
  3. Replies: 2
    Last Post: 03-22-2015, 11:16 AM
  4. Expression Builder in Access Reports
    By csland in forum Access
    Replies: 1
    Last Post: 08-22-2011, 08:00 AM
  5. basic expression builder issue
    By nagsha in forum Access
    Replies: 1
    Last Post: 09-06-2010, 02:29 AM

Tags for this Thread

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