M
Mountaineer
I am trying to build a history log of changes to projects.
I have a table (t_Program budgets) with “Request number†(autonumber and
primary key), “Company†(text field), “Project number†(text field), “Project
Title†(text field), “Status†(text field), etc. to store the historical data.
I have a second table (t_Project) listing information for Company (text
field), Project Number (number field), and Project Title (I have to use ODBC
to get this table). I am using this table as “Row Sourceâ€.
I am using a form for data entry. I am using combo boxes: cboCompany,
cboProjectNumber, and cboProjectTitle. When the Company and Project number
are selected, I want ProjectTitle to be automatically filled in (note:note
it requires the combination of company and project number).
There can also be occasions where a project number has not been determined
yet but the impending change needs to be captured. In this case, Company
would be selected but Project number would be blank (not selected). For this
condition I want the Project Title to be “TBDâ€.
I wrote a parameter query using t_Project to find the Project Title where
“Company†and “Project Number†comes from the forms’ cboCompany and
cboProjectNumber fields.
I have tried writing macros on the “after Update†property of the
cboProjectNumber field to setvalues based on the different conditions. I’ve
tried to write macros to openquery, etc. I have had no luck. Any help would
be appreciated.
I have a table (t_Program budgets) with “Request number†(autonumber and
primary key), “Company†(text field), “Project number†(text field), “Project
Title†(text field), “Status†(text field), etc. to store the historical data.
I have a second table (t_Project) listing information for Company (text
field), Project Number (number field), and Project Title (I have to use ODBC
to get this table). I am using this table as “Row Sourceâ€.
I am using a form for data entry. I am using combo boxes: cboCompany,
cboProjectNumber, and cboProjectTitle. When the Company and Project number
are selected, I want ProjectTitle to be automatically filled in (note:note
it requires the combination of company and project number).
There can also be occasions where a project number has not been determined
yet but the impending change needs to be captured. In this case, Company
would be selected but Project number would be blank (not selected). For this
condition I want the Project Title to be “TBDâ€.
I wrote a parameter query using t_Project to find the Project Title where
“Company†and “Project Number†comes from the forms’ cboCompany and
cboProjectNumber fields.
I have tried writing macros on the “after Update†property of the
cboProjectNumber field to setvalues based on the different conditions. I’ve
tried to write macros to openquery, etc. I have had no luck. Any help would
be appreciated.