By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,730 Members | 1,480 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,730 IT Pros & Developers. It's quick & easy.

Set multiple fields equal to one value

P: n/a
I need to set up my front end app to update multiple fields with the
same entry. See below.

Database: Testing

Columns:

Recdte
Invdte
So in this case, the user would need to update the Invdte with the
current date for all rows where the Recdte is a given value. I know
how to do this in SQL but not in ASP. Any advice???

Respectfully,

Danny

Nov 13 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Mangler wrote:
I need to set up my front end app to update multiple fields with the
same entry. See below.

Database: Testing
What database? Type and version please.
>
Columns:

Recdte
Invdte
So in this case, the user would need to update the Invdte with the
current date for all rows where the Recdte is a given value. I know
how to do this in SQL but not in ASP. Any advice???
You do it the same way.

UPDATE Testing
SET InvDte = <some date>
WHERE Recdte = <given value>

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Nov 13 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.