Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, November 30, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Manually submit form
Marty05
Posts: 68
 
Manually submit formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Dec 07 11:26 AM
Hi,
i'm having a (VB)Form with controls bound to database.

there are 3 buttons: mbOK, mbCancel, mbMine

mbOK and mbCancel work fine; if mbMine is clicked i have to call a function which needs the record to be stored in database.
so i need to save the form data before calling this function.

is there a way to manually start the "submit"-process to store data to the DB? if i change the modalresult to mbOK in onClickMine, it's too late, as data will be stored after the whole onClick-Method is completed, but in this method i call the funciton which needs the record...

thanks for any help!
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Manually submit formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Dec 07 12:39 PM
You can save the bound data by calling the form's "Post" method.
[Reply][Quote]
Marty05
Posts: 68
 
Re: Manually submit formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Dec 07 2:14 AM
i knew it had to be something easy thanks!
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/30/2024 10:38:17 AM