DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: LOV and validation

  1. #1
    Join Date
    Nov 2000
    Posts
    6
    Hi there !
    I designed a form with a field which has a LOV. This field is not a database item, e.g. name of customer. The referring db item is the customer no. I have set "LOV for validation" to true. Now the problem is each time the form is opened and automatically queried (to show a spec. db record) the record status changes from "QUERY" to "CHANGED". When I set "LOV for validation" to false, this does not happen. How can I avoid this behaviour, because I am closing the form with "EXIT_FORM(ASK_COMMIT)". And the question to commit changes always shows up even if the user didn't chamge anything.
    Can anyone help me about this ?
    Regards,
    Kai

  2. #2
    Join Date
    Sep 2000
    Posts
    5
    Record status is changed, when the item value is changed.
    Try this:
    After statement, where you assign value to the item, add following statement:

    set_record_property
    (:system.cursor_record
    ,'BLOCK_NAME',status,query_status);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width