Re: Only update DB if data has changed?

2006-05-26 Thread Tom Chiverton
On Friday 26 May 2006 11:52, Michael E. Carluen wrote: > > > SQL Update > If you follow the pattern of making a hidden field called 'hidden_old_value_X' then you can automate this check by looping over the form scope and constucting the relavent key for the original value, thus: htt

RE: Only update DB if data has changed?

2006-05-26 Thread Michael E. Carluen
Oops... Should be: SQL Update HTH... -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 3:52 AM To: CF-Talk Subject: RE: Only update DB if data has changed? Andy, I typically do this: SQL Update Hope

RE: Only update DB if data has changed?

2006-05-26 Thread Michael E. Carluen
Andy, I typically do this: SQL Update Hope that helps. -Original Message- From: Andy Mcshane [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 2:25 AM To: CF-Talk Subject: Only update DB if data has changed? Hi all, does anybody have any ideas how I could best

Re: Only update DB if data has changed?

2006-05-26 Thread Jim McAtee
Message - From: "Andy Mcshane" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Friday, May 26, 2006 3:25 AM Subject: Only update DB if data has changed? > Hi all, does anybody have any ideas how I could best implement the > following; > > I have a page that loa

Re: Only update DB if data has changed?

2006-05-26 Thread Dirk De Bock - Lists
gt; To: "CF-Talk" Sent: Friday, May 26, 2006 11:14 AM Subject: RE: Only update DB if data has changed? > Should be easy enough and no doubt several way s to achieve thisboth > in > CF Code and in SQL. One way would be to load the records at page load > into > a st

Re: Only update DB if data has changed?

2006-05-26 Thread Andy Mcshane
The problem is related to running too many queries which do an awful lot of work in themselves and also the fact that the client refuses to have the option of being able to edit each record individually. >Is the problem you are trying to solve related to performance of running too >many queries,

Re: Only update DB if data has changed?

2006-05-26 Thread Neil Middleton
Is the problem you are trying to solve related to performance of running too many queries, or from updating some sort of LastUpdated column unnecessarily. On 5/26/06, Andy Mcshane <[EMAIL PROTECTED]> wrote: > > Hi all, does anybody have any ideas how I could best implement the > following; > > I h

Re: Only update DB if data has changed?

2006-05-26 Thread Dov Katz
cords at page > load into > >a structure and then on submit comparing both the pre-edited and post > edited > >form struct to see what has changed etc... > > > > > > > >-Original Message- > >From: Andy Mcshane [mailto:[EMAIL PROTECTED] > &

Re: Only update DB if data has changed?

2006-05-26 Thread Andy Mcshane
sage- >From: Andy Mcshane [mailto:[EMAIL PROTECTED] >Sent: 26 May 2006 10:25 >To: CF-Talk >Subject: Only update DB if data has changed? > >Hi all, does anybody have any ideas how I could best implement the >following; > >I have a page that loads anything up to about 30 i

RE: Only update DB if data has changed?

2006-05-26 Thread Robertson-Ravo, Neil (RX)
- From: Andy Mcshane [mailto:[EMAIL PROTECTED] Sent: 26 May 2006 10:25 To: CF-Talk Subject: Only update DB if data has changed? Hi all, does anybody have any ideas how I could best implement the following; I have a page that loads anything up to about 30 individual records at a time. Each

Only update DB if data has changed?

2006-05-26 Thread Andy Mcshane
Hi all, does anybody have any ideas how I could best implement the following; I have a page that loads anything up to about 30 individual records at a time. Each record consists of 17 fields of data. All the records are displayed on the page to give the user the option of editing any individual

Re: update db

2000-07-25 Thread Dick Applebaum
PROTECTED]> >>Reply-To: [EMAIL PROTECTED] >>To: [EMAIL PROTECTED] >>Subject: Re: update db >>Date: Mon, 24 Jul 2000 16:51:19 GMT >> >>any ideas on this one? >> >> >> >From: "janey smith" <[EMAIL PROTECTED]> >> >Reply

Re: update db

2000-07-25 Thread janey smith
any help at all would be much appreciated, kinda stuck with this one, thanks in advance >From: "janey smith" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: update db >Date: Mon, 24 Jul 2000 16:51:19 GMT > >any ideas o

Re: update db

2000-07-24 Thread janey smith
any ideas on this one? >From: "janey smith" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: update db >Date: Mon, 24 Jul 2000 13:33:56 GMT > >on my update page i have 5 textboxes and i can't seem to get the database &

update db

2000-07-24 Thread janey smith
on my update page i have 5 textboxes and i can't seem to get the database to update, on the previous page i used to loop to view what the user inserted into the database, is there anyway i can use this same loop to update records in the db, the field in the db is ans_ans, and it's related to a