Results 1 to 2 of 2
  1. #1
    aonsu209 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2014
    Location
    Rotterdam
    Posts
    24

    How can make Subform with autofiling part of one field?

    Can you help me how can I make a field which to take part of the value from another field to have constant text and text for adding?


    For example on the pic below I have the project number and under each project number there is subform with document number which consist the year and the project number plus constant "C" (for calculation) and the number of the calculation which I want to fill.
    Click image for larger version. 

Name:	access .jpg 
Views:	6 
Size:	52.1 KB 
ID:	17687

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    VBA behind a bound form could concatenate values. Not positive which values you are trying to concatenate but...

    Me![Document Name] = Mid(Me![Project Number], InStr(Me![Project Number], "-") + 1) & Constant & Me![Only to fill in]

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

Similar Threads

  1. Replies: 4
    Last Post: 11-24-2012, 09:42 PM
  2. Replies: 1
    Last Post: 10-05-2012, 08:48 AM
  3. Replies: 7
    Last Post: 02-29-2012, 06:37 AM
  4. Replies: 10
    Last Post: 02-28-2012, 03:13 PM
  5. Find command default make it Any part of field
    By techexpressinc in forum Forms
    Replies: 0
    Last Post: 03-15-2011, 07:34 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