Talk About Network

Google





Software > Access Data Access Pages > RE: bind data a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 1821 of 1851
Post > Topic >>

RE: bind data access page textbox controlsource property at run time

by =?Utf-8?B?Q2xpZmZvcmQgQmFzcw==?= <CliffordBass@[EMAIL PROTECTED] Nov 11, 2008 at 02:34 PM

Hi Christian,

     In case you never figured it out, ControlSource is a string.  So you 
would specify the name of the column as a string.

txtTwelfthMonth.ControlSource = "SomeColumnInFormsRecordSource"

                Clifford Bass

"Christian Bahnsen" wrote:

> Is it possible to bind a data access page textbox controlsource property
at 
> run time?
> 
> I've tried using the BeforeInitialBind event to set the controlsource
for 
> textboxes, using syntax like
> 
> txtTwelfthMonth.ControlSource = temp
> 
> but I get the 
> 
> Internet Explorer Script Error -- Object doesn’t sup****t this property
or 
> method: ‘temp.ControlSource’
> 
> I'm trying to use this for data access pages based on crosstab queries
where 
> the data source is a rolling 12 month, so every month the periods
change, 
> e.g., 2008-02, 2008-03, etc.
> -- 
> Christian Bahnsen
 




 2 Posts in Topic:
bind data access page textbox controlsource property at run time
=?Utf-8?B?Q2hyaXN0aWFuIEJ  2008-10-23 16:46:01 
RE: bind data access page textbox controlsource property at run
=?Utf-8?B?Q2xpZmZvcmQgQmF  2008-11-11 14:34:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 18:57:30 PST 2009.