Re: update query: still having problems
- From: "Michel Walsh" <vanderghast@VirusAreFunnierThanSpam>
- Date: Tue, 5 Sep 2006 08:25:58 -0400
Hi,
Try the full syntax:
FROMS!formName!SubFormControlName.FORM.CONTROLS!controlNameInTheSubForm
(all cap word are keywords).
Note that you use the name of the control of the subform control, NOT the
name of the form embedded into it (they MAY differ, and obviously, if so, it
is important to use the right one).
Hoping it may help,
Vanderghast, Access MVP
"scubadiver" <scubadiver@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:17D7060D-4AC4-4178-85DD-1F0B8691B575@xxxxxxxxxxxxxxxx
I want to update a field called "rate" in the "department" subform table
from
a field called "rate" in a temporary table called "sheet1".
I am getting parameter value boxes. Here is my SQL.
UPDATE Department
SET [sheet1]![rate] = [forms]![employee]![department subform].Form![rate]
WHERE ([sheet1]![employeeID]=[forms]![employee]![department
subform].Form![employeeID]);
.
- Prev by Date: Re: SQL Problem
- Next by Date: RE: automatically change expiration date's fields record after one
- Previous by thread: Re: SQL Problem
- Next by thread: Re: update query: still having problems
- Index(es):