UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Using Form    
 
   
jtwork
post Feb 13 2007, 06:31 AM
Post #1

UtterAccess Addict
Posts: 164



Not sure why this has happened but this has been working for weeks and now i have a problem.

I have a form which i input a from and to date

[forms]![frm_report]![from]
[forms]![frm_report]![to]

I used these values in my query as expressions so i would know what date the data was for

Date_From: [forms]![frm_report]![from]
etc

Now they are appearing blank. I have tried changing the text box format from short date to blank (text) and this seems to sort the problem but i would like it as short date, it worked beore so not sure why not now.
Go to the top of the page
 
+
strive4peace
post Feb 13 2007, 06:54 AM
Post #2

UtterAccess VIP
Posts: 20,187
From: Colorado



since values in TEXTboxes are, well, text... try wrapping the control reference in a date conversion function

DateValue([forms]![frm_report]![from])
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 20th May 2013 - 12:30 PM