PC Review


Reply
Thread Tools Rate Thread

How to access Old parameters

 
 
Steven Blair
Guest
Posts: n/a
 
      20th Jul 2006
Here is my problem.

This is using a FormView and a SqlDataSource.

On Updating, I need to compare the old values (orignal values returned
from Database) against the updated values. If there are changes I need
to do some processing.
The Updating method gives me access to the current variables, but I am
unsure how to get hold of the orignal values.
If I switch on Optimistic concurrency on my SqlDataSource, the old
parameters can be accessed from the same collection as my new
parameters. Unfortunately, we have a number of screens already written
and when I try and edit the SqlDataSource settings, I cannot access the
Advance button to turn Optimistic concurrency on (I I hadn't switched it
on orignally).

The SqlDataSource contains quit a lot of custom written Sql (over the
top of the generated Sql) so we dont want to be changing that.

anyone got any suggestions, or perhaps a way of turning optimistic
concurrency on for the SqlDataSoure in code perhaps?



*** Sent via Developersdex http://www.developersdex.com ***
 
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
How do I get parameters from Access to Crystal? =?Utf-8?B?VmxhZGltaXIgR29sZGVuYmVyZw==?= Microsoft Access VBA Modules 0 29th Apr 2005 08:24 PM
Using parameters in Access =?Utf-8?B?UGhpbGRs?= Microsoft Access 1 15th Apr 2005 09:46 AM
Name Parameters - Access =?Utf-8?B?QXJ0?= Microsoft VB .NET 1 27th Jan 2005 08:49 PM
Insert to access-sql with parameters Mr. x Microsoft Access 0 31st Aug 2003 01:49 AM
C# and Access DB Parameters George Microsoft C# .NET 1 26th Aug 2003 12:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:38 PM.