Using a table with a date field as a control date



am not sure If I can do this with a lookup, but what I would like to
do is perhaps use lookup to retrieve a control date from an
unassociated table to control what date is entered in another table.
For example :
the main table , table 1 has many entries with a field called date_
enter which is the date the record was entered.
table 2 has a control_date
If the date entered in table 1 is less than or = to the control date we


want to give the user a error message.
I am thinking of using display only field and lookup to set it
Would need to have the date value from the control table available to
the active table of table 1 when entering the the date_enter.
However as there is no join field between the two tables am not sure
how to do it. Was thinking might have to add a key field that was
allways null and in the BEFORE EDITADD EDITUPDATE section set it so
that the key would be null


Am using Informix 5 , Any help would be appreciated

.



Relevant Pages

  • Re: using lookup and display only field as control field
    ... unassociated table to control what date is entered in another table. ... I am thinking of using display only field and lookup to set it ... I can't see how a NULL key field would help you. ... MS SQL Server, so the syntax you would get in this newsgroup may not ...
    (comp.databases.ms-sqlserver)
  • Re: Select all when control gets focus
    ... "Nice piece of work on the General code to be called from any unbound control for ID lookup." ... set the BackColor to be Transparent ...
    (microsoft.public.access.formscoding)
  • Use "lookup" to sset a control value
    ... I am not sure If I can do this with a lookup, but what I would like to ... do is perhaps use lookup to retrieve a control date from an ... unassociated table to control what date is entered in another table. ... Was thinking might have to add a key field that was ...
    (comp.databases)
  • using lookup and display only field as control field
    ... I am not sure If I can do this with a lookup, but what I would like to ... do is perhaps use lookup to retrieve a control date from an ... unassociated table to control what date is entered in another table. ... Was thinking might have to add a key field that was ...
    (comp.databases.ms-sqlserver)
  • Re: the c# return statement
    ... >> switch is one of my least favourite constructs in code. ... >> replaced with table lookup or polymorphism. ... > better support for table-driving data structures. ... not control the memory in which it resides. ...
    (microsoft.public.dotnet.general)