Wrox Programmer Forums
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 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 3rd, 2007, 11:43 AM
Authorized User
Join Date: Jul 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to naveed77 Send a message via Yahoo to naveed77
Default date-time problem

dear readers, here is problem that i m facing in vb6 and crystal report 9.1, and i want to get a report using date control but i m having problems when i run it, it gives an error i.e
A date-time is required, on the line where i used database and field. so how can i solve it plz help me , the code is given

Private sub form_load()

Dim report as new rptrecord


report.recordselectionformula="{record.crdate}='" & _ frmsearch.dtform.value & "'"cr.viewreport

end sub.

thnx in advance

Similar Threads
Thread Thread Starter Forum Replies Last Post
date-time problem naveed77 Beginning VB 6 0 February 1st, 2007 07:13 AM
problem displaying records in order of time ,date method PHP Databases 3 July 25th, 2006 08:16 PM
Date and Time Problem. rupen Classic ASP Professional 1 June 6th, 2006 06:00 AM
print time and date problem zouky Crystal Reports 0 November 11th, 2004 10:32 PM
Date And Time Problem tsukey PHP Databases 0 July 28th, 2004 10:44 PM

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