PC Review


Reply
Thread Tools Rate Thread

Bound Control

 
 
Kou Vang
Guest
Posts: n/a
 
      24th Jul 2008
Can you not assign a value to a Bound Control via VBA? ie:

Me.BoundContrl.value = x

Thanks,

Kou
 
Reply With Quote
 
 
 
 
Klatuu
Guest
Posts: n/a
 
      24th Jul 2008
Yes, you can, provided it is bound to a field in the form's record source.
If it an expression, then you can't.
What are you trying to do that is not working?
What error are you getting?

--
Dave Hargis, Microsoft Access MVP


"Kou Vang" wrote:

> Can you not assign a value to a Bound Control via VBA? ie:
>
> Me.BoundContrl.value = x
>
> Thanks,
>
> Kou

 
Reply With Quote
 
Marshall Barton
Guest
Posts: n/a
 
      24th Jul 2008
Kou Vang wrote:

>Can you not assign a value to a Bound Control via VBA? ie:
>
>Me.BoundContrl.value = x



You can:
If the bound control/table/field's validation rules permit
the new value.

If the form's record source query is updatable.

If you are using record locking or pesimistic locking and
there is no conflict with another user.

--
Marsh
MVP [MS Access]
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-bound control on bound-form DetRich Microsoft Access Queries 8 15th Jun 2009 02:17 PM
How to represent the data in a not bound control via bound control Mario Krsnic Microsoft ASP .NET 0 23rd Jun 2006 08:38 AM
I need a basic grid type control - not a data bound bloated control John Edens Microsoft Dot NET Framework Forms 2 14th Jul 2005 06:26 AM
Re: PropertyManager.EndCurrentEdit() marks the bound dataview row as Modified even if the data in the bound control is unchanged Miha Markic [MVP C#] Microsoft ADO .NET 0 5th Jun 2004 11:19 PM
How does one control the what is entered in a bound DataGrid control? acool Microsoft VB .NET 1 22nd Apr 2004 10:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:40 AM.