RE: How to simple retrieve autonumber valuees or identity from data so
From: Cowboy (Gregory A. Beamer) - MVP (NoSpamMgbworld_at_comcast.netNoSpamM)
Date: 01/18/05
- Next message: Sahil Malik: "Re: SQL query... is there a better way?"
- Previous message: brisers: "RE: Oracle input parameter of type string problem"
- In reply to: £ukasz Margielewski: "How to simple retrieve autonumber valuees or identity from data source"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 18 Jan 2005 08:43:02 -0800
First off, you can write the equivalent of a stored procedure in Access. They
are called queries. Simply write your SQL in a query and save it. Call it by
name. You will have to set the command object to CommandType.StoredProcedure
and attach any parameters by name. I am, by no means, an access expert,
however, so I am not sure if you can chain commands in a single query to get
the latest value out. If not, Row_Update may be the best option.
In most cases, I would prefer using MSDE to Access. If that is an option,
the app can later be upgraded to SQL Server without much, if any, pain.
--- Gregory A. Beamer MVP; MCP: +I, SE, SD, DBA *************************** Think Outside the Box! *************************** "£ukasz Margielewski" wrote: > I use the access database in my simple application. That database doesn't > support stored procedures. In the one of te Microsoft tutorilas,they propose > to solve this problem by attend the row update event. Is any simplest > solution? > > >
- Next message: Sahil Malik: "Re: SQL query... is there a better way?"
- Previous message: brisers: "RE: Oracle input parameter of type string problem"
- In reply to: £ukasz Margielewski: "How to simple retrieve autonumber valuees or identity from data source"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|