typelist question

Posts   
 
    
exp2000
User
Posts: 68
Joined: 13-Apr-2006
# Posted on: 13-Apr-2006 22:02:35   

should this produce any results? There are 4 records in db but I do not get anything back.

Dim alerts As New TypedListClasses.PublishedUserAlertsTypedList Dim da As New SQLSpecific.DataAccessAdapter da.FetchTypedList(alerts)

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 14-Apr-2006 02:57:33   

This should work. Do you have any errors? Also does the typed list contain any fields from other joined tables which may not contain related data? Can you enable tracing, help can be found under the Troubleshooting section of the manual, and see if that query returns data for you from the database?

Thanks, Brian

exp2000
User
Posts: 68
Joined: 13-Apr-2006
# Posted on: 15-Apr-2006 14:03:03   

bclubb wrote:

This should work. Do you have any errors? Also does the typed list contain any fields from other joined tables which may not contain related data? Can you enable tracing, help can be found under the Troubleshooting section of the manual, and see if that query returns data for you from the database?

Thanks, Brian

Fixed, it was my problem. I set a join hint to inner and did not have any data in one of the tables. Thanks