If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > button referencing (Help quick!)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-05-04, 15:51
sidknight sidknight is offline
Registered User
 
Join Date: Apr 2004
Posts: 2
button referencing (Help quick!)

I have an exit button on my main form. If the user doesn't fill in all of the fields on the main form and then hits exit it will ask the user if they want to cancel the changes (otherwise it will save what they put in). In the main form I also have a subform. If the user doesn't fill in all of the fields in the subform and hits exit, it actually will exit. I need it to do the same thing it does for the main form on the subform, all by hitting the single exit button. I tried copying the code straight over to the subform but it doesn't work. Do you need to reference the button over to the subform? Is it possible to use a single button on both the main and sub-form? I hope so. Thanks a lot for the help!
Reply With Quote
  #2 (permalink)  
Old 05-05-04, 19:20
galik63 galik63 is offline
Registered User
 
Join Date: Mar 2004
Location: Melbourne, Australia
Posts: 6
CausesValidation property

You did not mention the language you are writing in. If that is VB then have a look at CausesValidation property of the command button
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On