Results 1 to 3 of 3
  1. #1
    alta563 is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jun 2013
    Posts
    2

    IF then Else in Macro After insert (table)

    This is sample what I did..I just want to insert category of BMI when user enter the value of BMI. Then in another column they will stored automatically the value such as "obese" or "normal"


    Click image for larger version. 

Name:	sample 1.png 
Views:	17 
Size:	21.6 KB 
ID:	12627


    When i run the form and enter the value an error occur.

    "A data macro resource limit was hit.
    This may be caused by a data macro recursively calling itself.
    The Updated(<Field>) function may be used to detect which field in a record has been
    updated to help prevent recursive calls"



    then in my table display this repeating although the value displayed not correct

    Click image for larger version. 

Name:	sample 2.png 
Views:	15 
Size:	11.6 KB 
ID:	12628



    please help me...i'm stuck here, and i am really a beginner in access....pleasee, thank u

  2. #2
    alta563 is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Jun 2013
    Posts
    2
    anyone??? please...its access 2010

  3. #3
    Dunro is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Location
    Toronto, Canada
    Posts
    39
    Quote Originally Posted by alta563 View Post
    This is sample what I did..I just want to insert category of BMI when user enter the value of BMI. Then in another column they will stored automatically the value such as "obese" or "normal"
    Unfortunately, I'm not sure why you're having that error (based on what you've provided).

    That being said, you could also use a query to display Obese I, II, III, etc. based on each BMI value. This also saves having to change all of your data should the definition of Obese ever change, etc.

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

Similar Threads

  1. Replies: 8
    Last Post: 08-02-2012, 08:48 AM
  2. After Insert macro not functioning
    By scottnew2ac in forum Access
    Replies: 2
    Last Post: 07-26-2012, 09:25 AM
  3. Replies: 2
    Last Post: 12-20-2011, 07:33 AM
  4. Replies: 2
    Last Post: 12-22-2010, 01:46 PM
  5. Insert a picture with macro
    By KWarzala in forum Forms
    Replies: 8
    Last Post: 09-23-2009, 08:43 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