Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 5 of 5

Thread: Validation againts other tables

  1. #1
    Senior Member sigtb02's Avatar
    Join Date
    Feb 2002
    Location
    Québec city
    Posts
    104

    Default

    What is the best way to validate field values in one table againts field value in another table using P4 DB. I tried with FC file queries but i does not seem to flag me if i enter an invalid value. ref. ST1 (16-29).

  2. #2
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    I don't know whats the best way, that depends on the situation but there are several ways.



    You can either specify it in the data policy, then it will apply allways.



    On format ctrl you can do it on queries, just make sure you select true in the REQ condition.

  3. #3
    Senior Member sigtb02's Avatar
    Join Date
    Feb 2002
    Location
    Québec city
    Posts
    104

    Default

    I tried using the Req'd box and i checked that all condition came to true in the debugger pannel. But no result it saves the records without giving me the error message. What to do ??

  4. #4
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Ok, I have not tested this on SC4 yet. I will test it now. In SC4 there are a few OOB examples on the cc.incquick.g format.

  5. #5
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    I just tested this on an OOB SC4.



    Do this:



    In cc.incquick.g goto formatcontrol, queries



    Find the query that queries affected.item (you may want to change view to expanded) in the REQ field change false to true. Save.



    Then try to open a call and specify an invalid asset, then you should get the message: Could not find item in asset file



    Make sure that you don't have more than one message, you can see that if an * preceeds the message, then you can view all messages by clicking on the bold M in toolbar.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

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