Form Closes when press "Enter" key

Boom-BoxBoom-Box Member Posts: 27
Hi all,

I am cureently facing an odd problem:

I have a form with a subform. (form goes to custom table, subform to 81).

When I click enter on fields of the subform, the form closes!

there is no code on the fields validate, i have added some dummy testes (i+=1) just to check out if they would be tested without pressing 'enter' and everything goes fine.
if I do press enter, it just kabooms!

Some more data:
-if open just the subform, it all goes fine!

I really can't understand what's going on... If someone can help me, fantastic!

TIA,

miguel

Answers

  • reijermolenaarreijermolenaar Member Posts: 256
    Hi Miguel,

    Is the property LookupMode true on your MainForm?

    Regards,
    Reijer Molenaar
    Object Manager
  • Boom-BoxBoom-Box Member Posts: 27
    Thank you Reijer :)

    This kind of questions can take us hours of both our patience and time!

    You really got it! =D>

    Thanks again!

    miguel andrade
Sign In or Register to comment.