Microsoft
Software
Hardware
Network
Question : Update Query to update by stated amount of rows and multiple times in one go
Hi EE
I have a Form that contains a sub form. The sub form lists all records that meet a criteria.
The table that this sub form relates has a field called EnquireyTakenBy, some of them have a value and some of them are NULL.
On the main part of the form with help on a previous post I have 10 combo box’s and for each combo box there is a unbound number field next to it.
I want a way to type in a number value in the number field and then run a query that will update the number of records that you have written in the number field with the value of the combo box.
I guess this would be done in a Update Query. But don’t know how to Make the query only update a certain amount of records that is stated on the form in the number field.
The second part to this question is:
What I have explained above has 10 combo box’s and fields so you can enter 10 values at the same time and next to each combo box you can enter a different number in the number field.
Can the answer to the above question also with one click of the button do all 10 at the same time?
EG
COMBO BOX NUMBER FIELD
John 12
Ian 9
Simon 8
When you click a button it updates all at the same time that
John is placed in the ‘EnquireyTakenBy’ field on 12 records
Ian is placed in the ‘EnquireyTakenBy’ field on 9 records
Simon is placed in the ‘EnquireyTakenBy’ field on 8 records
Thanks
Answer : Update Query to update by stated amount of rows and multiple times in one go
You missed a ; after relative =]
Random Solutions
Sorry, VMware GO doesn't currently support ESXi servers with multiple datastores.
Formview insert doesnt insert data if I add postbackurl on button
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
iPhone 4 how to get it and service provider and payments
Raid 1 mirror Bad block discovered
Workflow Foundation 4 (WF4) or SharePoint 2007 based on WF3?
ASP.NET LinQ Look up
Delete blank line from textarea
Inline Problem
Reverse DNS Centos 5, Bind. shared hosting