Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Database & Reporting

Post new topic   Reply to topic
creating a report
View previous topic :: View next topic  
Author Message
KaleKYlssen
Newbie


Joined: 31 Jan 2004
Posts: 19

PostPosted: Mar 4th, 2004 02:12 PM    Post subject: creating a report Reply with quote

I have vb program that is linked to an access db, in my vb program i have a textbox which holds the date of the start of the week. What i want to do is create a report that i can print from vb that will show all records where the compund key is the same as the date in the textbox. I know how to print the report i just need to know how to create the report that will display what i want
Back to top
View user's profile Send private message Send e-mail
Avis
Junior Poster


Joined: 07 Oct 2003
Posts: 510
Location: India

PostPosted: Mar 6th, 2004 12:12 PM    Post subject: Reply with quote

Hi KaleKYlssen,

You use SQL Queries to get the desired data.

Thanks!
_________________
Code Snippets, Tutorials, Utilities, Controls

Low cost Web Hosting
Hosting starts at as low as $4 per year!


Always follow posting guidelines
Put your VB code in [vb ] your code [ /vb] tags!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
Avis
Junior Poster


Joined: 07 Oct 2003
Posts: 510
Location: India

PostPosted: Mar 6th, 2004 12:14 PM    Post subject: Reply with quote

Hi!

Also check this [link]

Thanks!
_________________
Code Snippets, Tutorials, Utilities, Controls

Low cost Web Hosting
Hosting starts at as low as $4 per year!


Always follow posting guidelines
Put your VB code in [vb ] your code [ /vb] tags!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
KaleKYlssen
Newbie


Joined: 31 Jan 2004
Posts: 19

PostPosted: Mar 9th, 2004 08:31 AM    Post subject: Reply with quote

i'm having problems figuring out a SQL statement that checks a field against the date of the start of the week. To display the date in my program i used
Code:

MondayDate = DateAdd("d", -Weekday(Date) + 2, Date)
txtWeek.Text = MondayDate

I tried this in access but it doesn't work is there an equivalent for this code that can be used in access
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Database & Reporting All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic