Normal Topic Save Record into another form (Read 506 times)
Roberto
Member
*
Offline



Posts: 3
Joined: Oct 1st, 2014
Save Record into another form
Oct 13th, 2014 at 3:28pm
Print Post Print Post  
Hi
I´m just a beginner and I´m using Version 2.6

When I finished to add a new record in my form1 I want to save  all the datas into form 2.

I did try using FormCommit(form2) but it does not work.
It is posible to have an example of programming? (forgive my bad english)

Thanks in advance
Roberto Ferrario
  
Back to top
 
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Save Record into another form
Reply #1 - Nov 7th, 2014 at 6:12pm
Print Post Print Post  
FormCommit does not move data to the form specified, it simply will "commit" (or write) the data do disk that is on that form.

If you want the data to be in Form2, then why are you entering it into Form1, in the first place?

If you want to duplicate the data in Form1, you might look into using the F11 (copy record) & Shift-F11 (paste record) keystrokes. Although this will not copy any subform data. To do that, you are better off to use Export/Import. This will copy subform data.

Maybe if you could provide more details on exactly what you want to do, we can provide some example code.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged