Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > SQL Language
|
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language 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 February 11th, 2010, 03:29 AM
Authorized User
 
Join Date: May 2009
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default Set form.field default value based on entry in another form

In a date field in an Invoice form, the user enters a value. Then they move to a Line Item form which also has a date field.

How can I get the date field in the LIneItem form to default to the entry in the Invoice.Date form-field?

The system is set so that the user makes entries in the Invoice form and then a button opens another form for the LineItem entries. Thus, when the LineItem form opens, the Invoice form will be open and a value will exist in the Date field which I want to be the default in the Date field of the LineItem form.
 
Old February 11th, 2010, 07:20 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Pardon me, but how is this a SQL question???

There is no such thing as forms in SQL.

Are you really asking about Access, perchance?? If so, you should ask in the Access forum. Access is not just a database; it's also a form and reporting system, but in ways that have really almost nothing to do with SQL.





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set a form as startup form in vb.net 2.0 mallikalapati .NET Framework 2.0 1 February 21st, 2008 09:19 AM
Null inserted by form even when field has default Kia VB Databases Basics 1 July 24th, 2007 01:47 PM
A form field list populating based on another fiel ebburks Access 2 June 3rd, 2006 09:37 AM
Select a field on a form, based on variable JAnthony Access VBA 2 April 17th, 2006 11:16 AM
Hide Tabs in a Form Based on a field. snoopy92211 Access VBA 1 November 18th, 2004 02:33 PM





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