Code Placing

  • Thread starter Thread starter Peter McCartney
  • Start date Start date
P

Peter McCartney

Hello All! Thanking anyone for a reply. A97.

I have a form and in the forms after update section I have placed code to
run a query. All worked well.

Then I made it a modal/pop up, Auto centre and border style dialog. Now the
code to run the query does not run.

Where should I place the code in the dialog form?

Peter McCartney
 
A technique I often use, is to hilight the whole form module's text, then
press ^X^C. The cut-and-paste seems to put everything back together again.

TC
 
Often editing a form in design mode will delete the "On Event" reference to
the code. Just go into the form properties and reset the event for the
field in question to "Event Procedure".

The code still exists, its just not being called until this is set.
--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
 

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

Similar Threads

Log User Movements 1
Browsefolder Dialog problem 3
Requery subform 3
ControlTipText Coding 2
Code to list documents 1
Log exit time on database 4
Hyperlink in access 97 1
Pause code issue 5

Back
Top