CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 1999
    Location
    USA
    Posts
    101

    query does'nt work in VB

    The following query does'nt work in VB for an Access database. Any alternatives? Please...



    SELECT DISTINCTROW Format$([CMLAP100].[TIMESTAMP], 'mm-dd-yyyy') as [TIMESTAMP], Sum([CMLAP100].[ABORT]) as ABORT, Sum([CMLAP100].[JAMCNT]) as JAMCNT, Count(*) as [Count Of CMLAP100] From CMLAP100 GROUP BY Format$([CMLAP100].[TIMESTAMP], 'mm-dd-yyyy')






  2. #2
    Join Date
    Jul 1999
    Location
    Sandhem, Sweden
    Posts
    35

    Re: query does'nt work in VB

    Hi.

    Have you tried changing the single-quotation marks('), in the format expressions, to double-quotation marks(")?

    regards,
    Michael Nattfalk



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

Featured