Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Check table validation

Former Member
0 Likes
638

Hi all,

I have created a customized table. In one field I have assigned check table and foreign key checkbox is checked. But when this table is updated through a program it goes on creating any entry. Entry is not restricted to the check table values only. It goed on creatting values which are not in the check table.

How to avoid it?

Regards,

Jeetu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
584

Programattically it'll never goto check table. U'll have to write logic in your program itself to avoid this

Cheers

Ravish.

4 REPLIES 4
Read only

Former Member
0 Likes
585

Programattically it'll never goto check table. U'll have to write logic in your program itself to avoid this

Cheers

Ravish.

Read only

Former Member
0 Likes
584

Hello,

INSERT, UPDATE are open SQL commands and you cannot restrict the entries in the custom table thru the program. Only thing you can do is to validate the fields againt the Check Tables before creating a record, and that has to be done.

Hope it helps.

Thanks,

Jayant

Read only

Former Member
0 Likes
584

This message was moderated.

Read only

0 Likes
584

Hey Matt,

My 10 points was deducted when I had previously asked for points same as Ankesh.

Just wanted to know what in cases like this ;-).

Believe post by Ankesh has been removed by Moderator.

Cheers,

Jayant

Edited by: Jayant Sahu on Dec 4, 2008 4:22 PM