looping through items in a block
From: <wssi_at_sprynet.com>
Date: Thu, 18 Jun 1998 14:57:57 GMT
Message-ID: <6mb9tk$hup$1_at_nnrp1.dejanews.com>
[Quoted] I am using Developer 2000 to create an application. I would like to restrict the type of searches that a user can do on the database. I want to make sure that they do not use the '%' in the first column of any item they are querying on. If there a way to loop through the values of all of the items in a block without knowing the names or the id of the items? I would like to prevent this type of search without writing code in every item's WHEN-VALIDATE-ITEM trigger. I would like to write one function that takes one parameter (i.e. a block), scans through all of the item's values and then return TRUE or FALSE based on their values.
Date: Thu, 18 Jun 1998 14:57:57 GMT
Message-ID: <6mb9tk$hup$1_at_nnrp1.dejanews.com>
[Quoted] I am using Developer 2000 to create an application. I would like to restrict the type of searches that a user can do on the database. I want to make sure that they do not use the '%' in the first column of any item they are querying on. If there a way to loop through the values of all of the items in a block without knowing the names or the id of the items? I would like to prevent this type of search without writing code in every item's WHEN-VALIDATE-ITEM trigger. I would like to write one function that takes one parameter (i.e. a block), scans through all of the item's values and then return TRUE or FALSE based on their values.
Mark
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Thu Jun 18 1998 - 16:57:57 CEST