Hello,
I have a large unbound text box on a basic form. I am trying to use that box for instructions based on what appears in another field on the form. For example when field [ERROR] displays "ADDRESS TO FOLLOW", I would like to have the text box display how to correct the problem. Each day I get en error report and have to upload a new spreadsheet into access. Each day we have to go into our system and fix these errors that are generated by our system. I am trying to make it easier to understand how to fix the error by having a large text box display the action they need to take to fix the problem. So as you filp through each record a different error message would appear in the [ERROR] field and the text box will display the instructions how to fix it.
I went into the text box and opened the expression to build a Dlookup. I am having issues with it.
I have 2 tables.
tbl Instructions with 2 fields, [Fuel Error] and [Instructions]
tbl Fuel Errors with 10 fields one of which is named [ERROR] (this is where the error message would be).
I tried this expression so far, it doesn't have any syntax errors but it doesn't return the instructions either.
=DLookUp("Fuel Error","tbl Instructions","Instructions = " & DLookUp("ERROR","tbl Fuel Errors","Instructions"))
What am doing wrong?
I have a large unbound text box on a basic form. I am trying to use that box for instructions based on what appears in another field on the form. For example when field [ERROR] displays "ADDRESS TO FOLLOW", I would like to have the text box display how to correct the problem. Each day I get en error report and have to upload a new spreadsheet into access. Each day we have to go into our system and fix these errors that are generated by our system. I am trying to make it easier to understand how to fix the error by having a large text box display the action they need to take to fix the problem. So as you filp through each record a different error message would appear in the [ERROR] field and the text box will display the instructions how to fix it.
I went into the text box and opened the expression to build a Dlookup. I am having issues with it.
I have 2 tables.
tbl Instructions with 2 fields, [Fuel Error] and [Instructions]
tbl Fuel Errors with 10 fields one of which is named [ERROR] (this is where the error message would be).
I tried this expression so far, it doesn't have any syntax errors but it doesn't return the instructions either.
=DLookUp("Fuel Error","tbl Instructions","Instructions = " & DLookUp("ERROR","tbl Fuel Errors","Instructions"))
What am doing wrong?