Re: Updating query running from form
- From: "danthrom" <anthro4veg@xxxxxxxxx>
- Date: 27 Jul 2006 10:41:50 -0700
Thanks,
you answered my question and it works well.
danthrom
pietlinden@xxxxxxxxxxx wrote:
danthrom wrote:
I have this update queryAND [Storage Box Inventory].[Box Number] = me.cboboxnumber
UPDATE [Storage Box Inventory] LEFT JOIN [Box Number/Contents Table] ON
[Storage Box Inventory].[Box Number]=[Box Number/Contents Table].[Box
Number] SET [Box Number/Contents Table].[Storage Date] = [Storage Box
Inventory].[storage date]
WHERE [Storage Box Inventory].[Box Number]=[Box Number/Contents
Table].[Box Number];
you need to add a filter for the single record you're trying to update.
you need a [fieldname] = the open form's related field.
then assign that stuff to a button on your form.
docmd.openquery "qupd..."
If it's in a canned query, you can just point at the open form. (then
you need to use
=Forms![formname]![controlname]
.
- References:
- Updating query running from form
- From: danthrom
- Re: Updating query running from form
- From: pietlinden
- Updating query running from form
- Prev by Date: Re: Is this a bug? (2)
- Next by Date: Hiding a command button linking forms
- Previous by thread: Re: Updating query running from form
- Next by thread: Is it really so Difficult
- Index(es):
Relevant Pages
|