Re: Limiting queries based on one field
Posted in 1993
In article <9kPy4B3w165w@iowegia.dsm.ia.us> kjhoule@iowegia.dsm.ia.us (Kevin Houle) writes: } Is there a way to force a field value in a query } for a particular user using an Informix form? } Sure, let's say the form has a contract number that MUST always be filled in with a value during a query. What we do is this... 1) Display whatever you want into the contract_number field of your form. 2) Do your construct omitting the contract_number from the list of fields. 3) Build your "select" statement the normal way but at the end, make sure you have something like " AND contract_number = \\"1234.567\\"" at the end. DAS -- David Snyder @ Snide Computer Services - Folcroft, PA Current Release is db4glgen-3.12 UUCP: ..!uunet!das13!dave INTERNET: dave.snyder@snide.com