18da0 Default Value Date minus days
Sign Up |  Live StatsLive Stats    Articles 37,302| Comments 176,964| Members 19,397, Newest birinder| Online 320
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Default Value Date minus days

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 100 USD (20%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Cold wave grips Punjab, Adampur coldest at minus 2.0 degree Celsius (PTI via Yahoo! I Sikh News Reporter Sikh News 0 30-Dec-2007 16:19 PM
Next Date Default Bill Information Technology 1 28-Jul-2006 08:40 AM
Calculate Default Date in a Table SDH@DJ Information Technology 1 28-Jul-2006 08:20 AM
Default Medium Date Format Len at BV Information Technology 3 28-Jul-2006 08:07 AM
Default Friday Date face Information Technology 5 28-Oct-2005 18:00 PM


Tags
default, value, date, minus, days
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:12 AM
lmv's Avatar lmv
Guest
 
Posts: n/a
   
   
Default Value Date minus days

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I have a date box on a main form
frmproject.datebox

I have a subform with an unbound box
that I want the calculated date to be the date in the datebox on the main
form minus 90 days.

I have tried =[datebox] -90
But that doesn't work as all of you who know how to do this will say of
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10347-default-value-date-minus-days.html
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347
course that won't work
So, can someone tell me what will work?
Thanks!!



*







Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:12 AM
Ofer Cohen's Avatar Ofer Cohen
Guest
 
Posts: n/a
   
   
RE: Default Value Date minus days

In the ControlSource of the field in the subform you can write
=DateAdd("d",-90,Forms![MainFormName]![DateFieldName])

--
Good Luck
BS"D


Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347
"lmv" wrote:

> I have a date box on a main form
> frmproject.datebox
>
> I have a subform with an unbound box
> that I want the calculated date to be the date in the datebox on the main
> form minus 90 days.
>
> I have tried =[datebox] -90
> But that doesn't work as all of you who know how to do this will say of
> course that won't work
> So, can someone tell me what will work?
> Thanks!!
>
>

Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:12 AM
KARL DEWEY's Avatar KARL DEWEY
Guest
 
Posts: n/a
   
   
RE: Default Value Date minus days

This might you part way there --
=[Forms]![frmproject]![DateBox]

BUT if you change the data in [DateBox] your subform data will not
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347
automatically change. You will need to add either an Event or Macro to
refresh the box when the data in the DateBox is changed.


"lmv" wrote:

> I have a date box on a main form
> frmproject.datebox
>
> I have a subform with an unbound box
> that I want the calculated date to be the date in the datebox on the main
> form minus 90 days.
>
> I have tried =[datebox] -90
> But that doesn't work as all of you who know how to do this will say of
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347
> course that won't work
> So, can someone tell me what will work?
> Thanks!!
>
>

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:12 AM
lmv's Avatar lmv
Guest
 
Posts: n/a
   
   
RE: Default Value Date minus days

Thank you for the response...

I don't get an Error or #Name? BUT no data is displayed. Do I need to set
something else since it is potentially a date before today's date? I have
tried doing a date into next year but it still doesn't return a value. Format
is set to short date.

Thanks!
lmv

"Ofer Cohen" wrote:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347

> In the ControlSource of the field in the subform you can write
> =DateAdd("d",-90,Forms![MainFormName]![DateFieldName])
>
> --
> Good Luck
> BS"D
>
>
> "lmv" wrote:
>
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347
> > I have a date box on a main form
> > frmproject.datebox
> >
> > I have a subform with an unbound box
> > that I want the calculated date to be the date in the datebox on the main
> > form minus 90 days.
> >
> > I have tried =[datebox] -90
> > But that doesn't work as all of you who know how to do this will say of
> > course that won't work
> > So, can someone tell me what will work?
> > Thanks!!
> >
> >

Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:12 AM
Ofer Cohen's Avatar Ofer Cohen
Guest
 
Posts: n/a
   
   
RE: Default Value Date minus days

Where did you placed this DateAdd, is it in the field default or control
source?

--
Good Luck
BS"D


"lmv" wrote:

> Thank you for the response...
>
> I don't get an Error or #Name? BUT no data is displayed. Do I need to set
> something else since it is potentially a date before today's date? I have
> tried doing a date into next year but it still doesn't return a value. Format
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347
> is set to short date.
>
> Thanks!
> lmv
>
> "Ofer Cohen" wrote:
>
> > In the ControlSource of the field in the subform you can write
> > =DateAdd("d",-90,Forms![MainFormName]![DateFieldName])
> >
> > --
> > Good Luck
> > BS"D
> >
> >
> > "lmv" wrote:
> >
> > > I have a date box on a main form
> > > frmproject.datebox
> > >
> > > I have a subform with an unbound box
> > > that I want the calculated date to be the date in the datebox on the main
> > > form minus 90 days.
> > >
> > > I have tried =[datebox] -90
> > > But that doesn't work as all of you who know how to do this will say of
> > > course that won't work
> > > So, can someone tell me what will work?
> > > Thanks!!
> > >
> > >

Reply With Quote
  #6 (permalink)  
Old 28-Jul-2006, 08:12 AM
lmv's Avatar lmv
Guest
 
Posts: n/a
   
   
RE: Default Value Date minus days

default...

"Ofer Cohen" wrote:

> Where did you placed this DateAdd, is it in the field default or control
> source?
>
> --
> Good Luck
> BS"D
>
>
> "lmv" wrote:
>
> > Thank you for the response...
> >
> > I don't get an Error or #Name? BUT no data is displayed. Do I need to set
> > something else since it is potentially a date before today's date? I have
> > tried doing a date into next year but it still doesn't return a value. Format
> > is set to short date.
> >
> > Thanks!
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347
> > lmv
> >
> > "Ofer Cohen" wrote:
> >
> > > In the ControlSource of the field in the subform you can write
> > > =DateAdd("d",-90,Forms![MainFormName]![DateFieldName])
> > >
> > > --
> > > Good Luck
> > > BS"D
> > >
> > >
> > > "lmv" wrote:
> > >
> > > > I have a date box on a main form
> > > > frmproject.datebox
> > > >
> > > > I have a subform with an unbound box
> > > > that I want the calculated date to be the date in the datebox on the main
> > > > form minus 90 days.
> > > >
> > > > I have tried =[datebox] -90
> > > > But that doesn't work as all of you who know how to do this will say of
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347
> > > > course that won't work
> > > > So, can someone tell me what will work?
> > > > Thanks!!
> > > >
> > > >

Reply With Quote
  #7 (permalink)  
Old 28-Jul-2006, 08:12 AM
lmv's Avatar lmv
Guest
 
Posts: n/a
   
   
RE: Default Value Date minus days

  Donate Today!  
gotcha! it's fixed now!!
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347
Thanks

"Ofer Cohen" wrote:

> Where did you placed this DateAdd, is it in the field default or control
> source?
>
> --
> Good Luck
> BS"D
>
>
> "lmv" wrote:
>
> > Thank you for the response...
> >
> > I don't get an Error or #Name? BUT no data is displayed. Do I need to set
> > something else since it is potentially a date before today's date? I have
> > tried doing a date into next year but it still doesn't return a value. Format
> > is set to short date.
> >
> > Thanks!
> > lmv
> >
> > "Ofer Cohen" wrote:
> >
> > > In the ControlSource of the field in the subform you can write
> > > =DateAdd("d",-90,Forms![MainFormName]![DateFieldName])
> > >
> > > --
> > > Good Luck
> > > BS"D
> > >
> > >
> > > "lmv" wrote:
> > >
> > > > I have a date box on a main form
> > > > frmproject.datebox
> > > >
> > > > I have a subform with an unbound box
> > > > that I want the calculated date to be the date in the datebox on the main
> > > > form minus 90 days.
> > > >
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10347
> > > > I have tried =[datebox] -90
> > > > But that doesn't work as all of you who know how to do this will say of
> > > > course that won't work
> > > > So, can someone tell me what will work?
> > > > Thanks!!
> > > >
> > > >

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

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

» Active Discussions
Map shows world's 'most...
Today 07:16 AM
13 Replies, 154 Views
Why are There so Many...
Today 06:19 AM
49 Replies, 4,788 Views
Learn Punjabi Yourself...
Today 05:41 AM
15 Replies, 7,600 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 05:32 AM
167 Replies, 4,282 Views
The Great Imp Debate
Today 05:28 AM
32 Replies, 476 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 05:16 AM
299 Replies, 7,372 Views
Do you believe in...
Today 05:08 AM
166 Replies, 3,474 Views
Textbooks Spotted...
Today 04:53 AM
5 Replies, 65 Views
BHOOTS (Ghosts) and...
Today 04:22 AM
92 Replies, 13,725 Views
Thought of the Moment!
Today 04:01 AM
105 Replies, 4,986 Views
Panjabi
Today 02:14 AM
9 Replies, 201 Views
Fresno Sikh Who Was...
Today 01:30 AM
0 Replies, 37 Views
Guns of the Nihangs...
Today 01:24 AM
0 Replies, 39 Views
Saudi Woman Makes...
Today 01:01 AM
0 Replies, 28 Views
Of Serpents, Pigs,...
Today 00:55 AM
36 Replies, 896 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 07:32 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.52758 seconds with 32 queries
0