Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old June 15th, 2006, 02:25 AM
fredde
Guest
 
Posts: n/a
Default datebox

Hi gents. I´m new to this and trying to create a logbook. Now, trying
to get my date box to (default) display the last saved date from a
table. ie not todays date but whatever was the last entry. In addition
I would like to have a calenderbox on the side to override default date
..

fredde

  #2  
Old June 15th, 2006, 03:35 AM
w_a_n_n_a_l_l_ -@-_s_b_c_g_l_o_b_a_l._n_e_t
Guest
 
Posts: n/a
Default Re: datebox

If you just want the date:

me.txtLatestDate = dmax("EntryDate", "MyLogTable")

If you're trying to display the last actual entry , use the same trick to
retrieve the maximum primary key value (asuming Autonumber field for your
primary key, then use that value to seek or filter to display the record you
want.

I don't know your forms setup so I don't know which technique applies to
you.
 

Bookmarks

Thread Tools

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

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles