Results 1 to 2 of 2

Thread: Crystal Reports Logical Err

  1. #1
    Nasir is offline VB.NET Forum Newbie
    .NET Framework
    Join Date
    Jun 2004
    Posts
    5
    Reputation
    0

    Unhappy Crystal Reports Logical Err

    Good Morning to All My Fellow Members
    I am attaching a code the dbifo.ini file is for data bse connectivity please when u run it chage the server name plz problem is that reports shows only one record in disply i am try to display all the records but only one is comming all the rest r overwited ??? kindly help me asa possible .I will be grate full to the members

    "Nasir "
    Attached Files Attached Files

  2. #2
    Paszt's Avatar
    Paszt is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Jun 2004
    Location
    Raleigh, NC - USA
    Posts
    1,502
    Reputation
    308
    using This SQL statement:

    Code:
    QryString = " SELECT EmployeeID, FirstName + ' ' + LastName AS Name," _
              & " Address  " _
              & " FROM Employees  " _
              & " Where  EmployeeID=1 "
    only the rows that have EmployeeID equal to '1' will be returned. I assume employeeID is either a primary key or no duplicates are allowed in that field; therefore you will only get one record. If you want all records, remove the WHERE clause:

    Code:
    QryString = " SELECT EmployeeID, FirstName + ' ' + LastName AS Name," _
              & " Address  " _
              & " FROM Employees"

Bookmarks

Posting Permissions

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