PC Review


Reply
Thread Tools Rate Thread

Adding a new record

 
 
John
Guest
Posts: n/a
 
      9th Aug 2004
Hi

I have a set of fields which I have bound to properties from a class. I am
not using any context manager or anything like that, simply fields bound to
the datasource. How can I add a new record on this form via code?

Thanks

Regards


 
Reply With Quote
 
 
 
 
Jorge
Guest
Posts: n/a
 
      9th Aug 2004
Hi John

Assuming your datasource is a sql server you could use a
stored procedure for that.

Kind Regards
Jorge
>-----Original Message-----
>Hi
>
>I have a set of fields which I have bound to properties

from a class. I am
>not using any context manager or anything like that,

simply fields bound to
>the datasource. How can I add a new record on this form

via code?
>
>Thanks
>
>Regards
>
>
>.
>

 
Reply With Quote
 
John
Guest
Posts: n/a
 
      9th Aug 2004
No it is ms access. Basically I need to form to become blank with a new
record which I can fill in using the on-form fields. I can then save the
datasource bound to the form fields to save the record in the access table.

Regards

"Jorge" <(E-Mail Removed)> wrote in message
news:2b4601c47e18$988feae0$(E-Mail Removed)...
> Hi John
>
> Assuming your datasource is a sql server you could use a
> stored procedure for that.
>
> Kind Regards
> Jorge
> >-----Original Message-----
> >Hi
> >
> >I have a set of fields which I have bound to properties

> from a class. I am
> >not using any context manager or anything like that,

> simply fields bound to
> >the datasource. How can I add a new record on this form

> via code?
> >
> >Thanks
> >
> >Regards
> >
> >
> >.
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: adding a new record and saving it, moving to next, previous record using a form in Access 2007 John W. Vinson Microsoft Access 1 24th Jun 2010 10:03 PM
adding a new record at subform should update an existing record (not create new record) Mark Kubicki Microsoft Access Form Coding 1 16th Jan 2009 08:34 AM
How does one protect against subform adding record before main form has record? Chips Microsoft Access Forms 3 2nd May 2004 04:19 PM
Deleting a record follow by Adding a record will result in getting wrong Index Key problem =?Utf-8?B?TGlzYSBKb25lcw==?= Microsoft VB .NET 0 30th Apr 2004 06:56 PM
form / subform - problem adding new record! - can't save main record Bob Microsoft Access Forms 2 7th Oct 2003 06:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:04 AM.