Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I want to know about this too. Help!

I have a group of zip codes. I want to make a report that lists all the information from the store table for stores that have the zip codes that are checked. When the user checks 71111, 71006, 71497, I want the report to get only those stores/rows from the table and put those in the report. I only know how to make the crystal report wizard display all rows from a table or querie. How can I do this?

 

Thanks,

Chris Gregory

christopherleegregory@hotmail.com

Posted

Create a dataadapter

 

SQL = "SELECT ZIP FROM TABLE WHERE ZIP=" & ZIPofInterest

da.SelectCommand = New SqlCommand(SQL, cnn)

Dim ds As New DataSet

da.Fill(ds, "CrystalRptSourceTable")

Go Beavs!!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...