Link to home
Start Free TrialLog in
Avatar of João serras-pereira
João serras-pereiraFlag for Portugal

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:

User generated image

can anyone help? (I am able to share the code)
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of João serras-pereira

ASKER

Ok. I actually typed in

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
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!