
28-Jul-2006, 08:23 AM
|  | Guest | | | | | | | | | | Change value Hi all,
On a form I have a field called special.
I also have a table "tblspecials" which has a field called OK with default Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/11737-change-value.html
value 0.
When field special is changed\updated, I want OK to change to 1.
TIA,
Tom *
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh! | 
28-Jul-2006, 08:23 AM
|  | Guest | | | | | | | | | | Re: Change value Is the Ok field also available to the form? If so, use the AfterUpdate event
of the textbox for Special and set Ok to 1.
Example:
Me.txtOk = 1
--
Wayne Morgan
MS Access MVP
"Tom" wrote in message
news:ezbN%23QDlGHA.1000@TK2MSFTNGP04.phx.gbl... Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11737
> Hi all,
>
> On a form I have a field called special. Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11737
> I also have a table "tblspecials" which has a field called OK with default
> value 0.
>
> When field special is changed\updated, I want OK to change to 1.
>
> TIA,
>
> Tom
> | 
28-Jul-2006, 08:23 AM
|  | Guest | | | | | | | | | | Re: Change value Thank Wayne for the reply.
I was not clear at first, and maybe it`s not possible.
Here is the case:
tblspecials: vendor, product, quantity, OK
Form1: Vendor, product, special
On the form when the user choose vendor and product the special field
populate with Sum from a query(specialsum) that match the combination of Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11737
vendor and product with a DLookup function.
After special populated, I need all the records that this sum was built from Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11737
to change value to 1 in the OK field.
TIA,
Tom
"Wayne Morgan" wrote in message
news:%23iP6YCFlGHA.1600@TK2MSFTNGP04.phx.gbl...
> Is the Ok field also available to the form? If so, use the AfterUpdate
> event of the textbox for Special and set Ok to 1.
>
> Example:
> Me.txtOk = 1
>
> --
> Wayne Morgan
> MS Access MVP
>
>
> "Tom" wrote in message
> news:ezbN%23QDlGHA.1000@TK2MSFTNGP04.phx.gbl...
>> Hi all,
>>
>> On a form I have a field called special.
>> I also have a table "tblspecials" which has a field called OK with
>> default value 0.
>>
>> When field special is changed\updated, I want OK to change to 1.
>>
>> TIA,
>>
>> Tom
>>
>
> | 
28-Jul-2006, 08:23 AM
|  | Guest | | | | | | | | | | Re: Change value I got it,
I used update query.
Tom
"Tom" wrote in message
news:O5aXClHlGHA.1276@TK2MSFTNGP03.phx.gbl... Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11737
> Thank Wayne for the reply.
> I was not clear at first, and maybe it`s not possible.
>
> Here is the case:
> tblspecials: vendor, product, quantity, OK
> Form1: Vendor, product, special
> On the form when the user choose vendor and product the special field
> populate with Sum from a query(specialsum) that match the combination of
> vendor and product with a DLookup function.
> After special populated, I need all the records that this sum was built Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11737
> from to change value to 1 in the OK field.
>
> TIA,
> Tom
>
>
> "Wayne Morgan" wrote in
> message news:%23iP6YCFlGHA.1600@TK2MSFTNGP04.phx.gbl...
>> Is the Ok field also available to the form? If so, use the AfterUpdate
>> event of the textbox for Special and set Ok to 1.
>>
>> Example:
>> Me.txtOk = 1
>>
>> --
>> Wayne Morgan
>> MS Access MVP
>>
>>
>> "Tom" wrote in message
>> news:ezbN%23QDlGHA.1000@TK2MSFTNGP04.phx.gbl...
>>> Hi all,
>>>
>>> On a form I have a field called special.
>>> I also have a table "tblspecials" which has a field called OK with
>>> default value 0.
>>>
>>> When field special is changed\updated, I want OK to change to 1.
>>>
>>> TIA,
>>>
>>> Tom
>>>
>>
>>
>
> | 
Support Us! Become a Promoter! | | Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh! | (View-All)
Members who have read this thread : 0
| | There are no names to display. | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Tools | Search | | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is On | | | | » Gurbani Jukebox | Listen to Gurbani while surfing SPN! | » Active Discussions | | | | | ਨਾਮਾ Today 06:37 AM 2 Replies, 45 Views | | | | | | | | | | | | | | | | | | | | | | | | | » Books You Should Read... | | | |