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
 
Back
Top