Why this command is not working anymore?????

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi. I had this com my form, this command alowed me to open another form into
a specif record.

Sudently it stop working. Now is not opnning the specific record anymore. it
open in blank I think.

DoCmd.OpenForm "38_form_Vistorias_Areas_Detalhes", , ,
"ID_Detalhes_Areas_Vistorias = " & Me!ID_Detalhes_Areas_Vistorias


PLEASE HELP ME.

Regards,
Marco
 
Hi. I had this com my form, this command alowed me to open another form into
a specif record.

Sudently it stop working. Now is not opnning the specific record anymore. it
open in blank I think.

DoCmd.OpenForm "38_form_Vistorias_Areas_Detalhes", , ,
"ID_Detalhes_Areas_Vistorias = " & Me!ID_Detalhes_Areas_Vistorias

What's actually in ID_Detalhes_Areas_Vistorias? Does it correspond to an
existing record in the form's recordsource?

John W. Vinson [MVP]
 
Hi. Yes it does.


In the first form I have a record, if I click twice on it will open a new
form with the record details. So I use the ID_Detalhes_Areas_Vistorias to
match the records on both forms.

Thanks,
Marco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top