Results 1 to 5 of 5
  1. #1
    mathanraj76 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2013
    Posts
    39

    Find quantity and seqnumber

    Hi ..
    I have problem with my ms access
    I'm still learning and new to ms access

    question 1
    How to add seqnumber into my tbldata field name "seqnum"
    for an example it must start from "AS-00001" and so on by contentiously


    question 2
    Q stand for "Quantity"
    M stand for "Magazine"

    In my tbldata in have fields name "Qfft","MFFT","Qstyle","Mstyle","QFhm","MFhm","Qca r","Mcar","QMen'sUno","Mmen'suno","QIfeel","MIfeel ","QIntrend","MIntrend"

    let sat if i want find those quantity > 2 for all the fields it must shows all the quantity which start from 2 with magazine name with all the information which have in tbldata.
    if the fields which i mentions on question2 is empty then it must show "X" in the fields "M(X)Nomag" with QNomag "Nil"


    I have attached sample database

    Thanks
    Mathanraj
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    1. Generating custom unique identifier is common topic in forum. Search forum or Google. For a start review:

    https://www.accessforums.net/access/...ers-21361.html

    http://forums.aspfree.com/microsoft-...ta-403208.html

    2. Apply the same criteria under each 'Q' field using OR operator. Saving calculated data (data dependent on other data) is usually a bad idea. Calculate the value when needed. Also, requires code to save calculated data. I counted 8 'Q' fields - that means a long expression to test each field for the parameter and return appropriate value. This does not appear to be a normalized data structure.
    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
    mathanraj76 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2013
    Posts
    39
    can u give me some solution on question no.2
    I really need help on it

    Thanks
    Mathanraj

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Which part? The filter criteria using OR operator or the calculation for the Nomag values?

    Filter with OR: Under each quantity field use >2 as criteria but each will be on a separate line to apply OR operator, will look like stair steps.

    Nomag calculation maybe like: IIf(IsNull([Qfft]) AND IsNull([Qstyle]) AND IsNull([QFhm]) AND IsNull([Qcar]) AND IsNull([QMen'sUno]) AND IsNull([QIfeel]) AND IsNull([QIntrend]), Null, "something else")
    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.

  5. #5
    mathanraj76 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2013
    Posts
    39
    Thanks
    For solved my problem..

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

Similar Threads

  1. Large Quantity Of Data
    By dr4ke in forum Queries
    Replies: 3
    Last Post: 01-18-2013, 11:19 AM
  2. calculating On Hand Quantity
    By hbm001 in forum Queries
    Replies: 18
    Last Post: 04-24-2012, 09:42 AM
  3. products and quantity
    By woody in forum Forms
    Replies: 2
    Last Post: 02-06-2011, 11:58 PM
  4. Updating Stock Quantity
    By jordanturner in forum Queries
    Replies: 11
    Last Post: 09-10-2010, 08:28 PM
  5. Help On Comparing Quantity in Tables
    By rochy81 in forum Access
    Replies: 2
    Last Post: 05-29-2009, 10:20 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