Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a single form for View/Add/Update

Status
Not open for further replies.

dnfrantum

Programmer
Oct 23, 2001
175
US
Is it possible to use a single .adp form to View/Add/Update a record. I have just converted my Access 2003 DB to MS SQL 2005 DB and I am able to view records, but I am unable to add or update these records.

I am new to Access 2003, but I have a lot of MS SQL experience. Any help or direction would be greatly appreciated.

Thanks in advance,
Donald
 
Do you have a primary key on the table you're displaying through the form? If not, add one (an Identity field will do) and try again.

If you're displaying data from a view, lookup the UniqueTable property in the Help file.

I would suggest using stored procedures for record updates and inserts. The Access way may be comfortable, but your data is in real danger.

[pipe]
Daniel Vlas
Systems Consultant

 
How might I pass a form field as a parameter using stored procedures?

Thanks in advance,
Donald
 

If the form is bound to the result of the stored procedure:
thread702-1599639

If the form is unbound:
thread702-1599045

HTH

[pipe]
Daniel Vlas
Systems Consultant

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top