Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 25th, 2004, 09:58 PM
Registered User
 
Join Date: May 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default binding a text box

If anyone can help me that would be great
What I need to do is take a text field with a function in it and bind it to a field in a database . the text box produces a total of minutes with a logical statement of something to the effect of if sat or sunday then prime*.05 else weekday ....
thanks robb
 control row source = modulename([var1],[var2])

 
Old May 25th, 2004, 11:46 PM
Authorized User
 
Join Date: May 2004
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If this text field is on a form, then why not make the database field the datasource for the form field. Then use an event on the form/field to make this field = logical statement calculation? Make the text field ReadOnly to prevent overwriting the calculated value.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Binding Column Name to a Combo Box. jitu ADO.NET 3 June 27th, 2013 07:35 AM
Combo Box Complex Binding Example? pigparent VB Databases Basics 2 June 11th, 2008 12:08 PM
Data binding a check box badgolfer VB.NET 2002/2003 Basics 9 July 20th, 2007 02:15 PM
Binding a DataReader To A List Box testsubject ADO.NET 3 December 21st, 2005 06:41 AM
binding to text box khautinh ADO.NET 2 November 1st, 2003 12:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.