Can anybody answer this one for me?
1. I have 2 lookup tables (BusUnit and Title) with identical structures:
a. an ID field (autonumber incremented)
b. a text field for the name of the data
2. I have a main "employee" table that has 2 fields (BusUnit and Title) that reference the ID fields of these lookup tables
3. I have a report with the employee table as its source. I ahve two bound controls to BusUnit and Title fields in employee table. These fields are invisible
4. I have two unbound fields with its control source as the following:
5. Currently, for all records in the employee table the BusUnit and Title fields are blank. No data has been entered yet. (just employee names, but all other attributs haven't been filled out yet)
---------Here is the InCoNsIsTenCY---------
6. When I run the report, The unbound control for BusUnit shows nothing (what I expect), however, the unbound control for Title shows
Earnie Eng - Newbie Access Programmer/DBA
If you are born once, you will die twice.
If you are born twice, you will die once
1. I have 2 lookup tables (BusUnit and Title) with identical structures:
a. an ID field (autonumber incremented)
b. a text field for the name of the data
2. I have a main "employee" table that has 2 fields (BusUnit and Title) that reference the ID fields of these lookup tables
3. I have a report with the employee table as its source. I ahve two bound controls to BusUnit and Title fields in employee table. These fields are invisible
4. I have two unbound fields with its control source as the following:
Code:
=DLookUp("[txtBusUnit]","lkpBusUnit","[lkpBusUnit]![intBusUnitID] = " & [intBusUnitID])
=DLookUp("[txtTitle]","lkpTitle","[lkpTitle]![intTitleID] = " & [intTitleID])
5. Currently, for all records in the employee table the BusUnit and Title fields are blank. No data has been entered yet. (just employee names, but all other attributs haven't been filled out yet)
---------Here is the InCoNsIsTenCY---------
6. When I run the report, The unbound control for BusUnit shows nothing (what I expect), however, the unbound control for Title shows
Code:
#Error
If you are born once, you will die twice.
If you are born twice, you will die once