Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » Visual Basic (VB 4/5/6) » Internet/Communications Programming » ASP help needed for a Project !Plz help


ASP help needed for a Project !Plz helpExpand / Collapse
Author
Message
Posted 8/23/2008 10:13:19 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/23/2008 9:59:45 PM
Posts: 2, Visits: 1
Sir, I am doing a project of Multi-Level marketing website using ASP and MS-Access. (not ASP.NET)

There is a Downline Page where it show downline members of a specific members

for ex. (table : member )

Ref_id | Mem_id | Mem_name | Mem_address | join_date
1001 |1002 | a |kol | 10/08/08
1001 |1003 | b |asn | 12/08/08
1001 |1004 | c |crj | 12/08/08
1002 |1005 | d |kol | 13/08/08
1005 |1006 | e |kol | 14/08/08
1003 |1008 | f |kol | 16/08/08
1006 |1009 | g |kol | 18/08/08

if i want to view the downline of 1001 it will show all record data of as it is the root.

if i want to view downline of 1002
1005,1006,1009 will be return as they are co-related data.

but the problem is when I am doing "select * from member where ref_id='" & ref_id & "' "
it returns only the first level i.e.1002,1003 & 1004. But I want all the inter-related data together, If 1002 or 1003 or 1004 has any further downline.

The table structure may need to be change.

As I am new to this I heartly pray for a kind help from all my seniors and experts.

I hope you understand my problem, plz. help me.

Thanks and Regards
Email : toskg@rediffmail.com
Post #25614
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Brian, Peter

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 3:28am