Results 1 to 4 of 4

Thread: [2008] HELP HELP HELP... selection of DATA by rangeof date.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2008
    Location
    Philippines
    Posts
    70

    [2008] HELP HELP HELP... selection of DATA by rangeof date.

    In VB 6.0 im just using (select * from table where date between date1,date2) or (select * from table where date > date1 and date < date2)

    how about in VB.net????

  2. #2
    Fanatic Member Lerroy_Jenkins's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    661

    Re: [2008] HELP HELP HELP... selection of DATA by rangeof date.

    Firstly, putting HELP HELP HELP is probably more likly to put people OFF helping you.

    We assume that you are posting a thread inorder to recieve help.

    Okay, is this a SQL Quiery? or where are you trying to get all of this information from?
    Lerroy

    "η β π", or "Eta Beta Pi" (Eat A Better Pie)

    01001000
    01000101
    01001100
    01010000


    My Own Code - WordCounter

    Useful Forum Links -Reputation - What is it?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2008
    Location
    Philippines
    Posts
    70

    Re: [2008] HELP HELP HELP... selection of DATA by rangeof date.

    Im so sorry about that... thanks for the advise


    Actually Im using Access as my back end, I'm just using queries in retrieving information but if you have a brigther idea on retrieving data, pls do so. THANKS

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: [2008] HELP HELP HELP... selection of DATA by rangeof date.

    The SQL code is executed on the database so the programming language is irrelevant. Whatever SQL works in VB6 will work in VB.NET too if it's executed on the same database via the same provider. How you execute SQL statements against a database is different though. Follow the Data Access link in my signature for some ADO.NET examples.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width