João serras-pereira
asked on
ms/link form - subform field not recognised
On my MS/ACCESS app I have a form that contains a master field, named [fld_marcacaoSelecionada]. On open the field is correctly computed and show a proper value.
The I have a subform, based on a query, that also is correctly computed. The query contents are OK.
The subform is supposed to present all query records that are related to [fld_marcacaoSelecionada] in the masterform. So, in subform, I have an hidden field named [fld_codMarcacao] whose content directly comes from a column in th query named [codMarcacao].
However, when I start the masterform it ask me for the parameter [fld_codMarcacao] (?) and when I use [codMarcacao] on the liks master/child, it crashes.
Current the links are:
can anyone help? (I am able to share the code)
The I have a subform, based on a query, that also is correctly computed. The query contents are OK.
The subform is supposed to present all query records that are related to [fld_marcacaoSelecionada] in the masterform. So, in subform, I have an hidden field named [fld_codMarcacao] whose content directly comes from a column in th query named [codMarcacao].
However, when I start the masterform it ask me for the parameter [fld_codMarcacao] (?) and when I use [codMarcacao] on the liks master/child, it crashes.
Current the links are:
can anyone help? (I am able to share the code)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks for pointing me to the right directiion. Actually the error was on de code to generate the query (alright) but, on the form the code was using anther query!
ASKER
I will do as you suggest doing the following
Create a Backup
delete form
decompile
complie
compact
import form
compile
let's see what happens