This topic is locked
[SOLVED]

 child records count

11/6/2012 1:08:58 PM
ASPRunnerPro General questions
S
silk author

hello, how can I get the number of child records inside a custom field on the list page?

I tried

set rs = dal.Table("detailTable").Query("detailKey=" & data("ID"))

but it seems dal is not accessible inside a custom field but only in events..any suggestion?

admin 11/6/2012

DAL works everywhere. There must be something else that doesn't work.
You don't need to use DAL btw. Simply use CustomQuery function for example:

http://xlinesoft.com/asprunnerpro/docs/customquery.htm