Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2010
    Posts
    8

    Showing a selected value from a field


    What i need is.....

    A textbox to show what number the next record in a table is going to be.

    I have a column called "Series". This works like cars or a television series. There is series 1, 2, 3 & so on. What i would like a textbox on a form to do is show me the current series and what number the next in series would be. Is this possible?

  2. #2
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,043
    Hi,

    The last used (or highest) series number can be found using the DMax function :

    DMax("fieldname","Domain name","criteria")
    (see the build in help),

    and of course if you know that you only have to add 1 to calculate the next series nr.

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

Similar Threads

  1. Showing Count in form field
    By randolphoralph in forum Forms
    Replies: 11
    Last Post: 05-17-2010, 03:52 PM
  2. Replies: 1
    Last Post: 03-13-2010, 08:38 PM
  3. Replies: 2
    Last Post: 02-13-2010, 01:54 PM
  4. find value of selected field in a table
    By Bic in forum Programming
    Replies: 1
    Last Post: 02-05-2010, 07:40 PM
  5. Replies: 9
    Last Post: 11-26-2009, 05:03 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