Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > SQL Language
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 11th, 2010, 02:29 AM
Authorized User
Points: 308, Level: 6
Points: 308, Level: 6 Points: 308, Level: 6 Points: 308, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
  #2 (permalink)  
Old February 11th, 2010, 06:20 PM
Friend of Wrox
 
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,652
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.
Reply With Quote
Reply


Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 08: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 01:33 PM



All times are GMT -4. The time now is 03:51 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.