Gossamer Forum
Home : Products : DBMan : Customization :

I dont get,How Relational Mod (Demo)CAN remove associated records

Quote Reply
I dont get,How Relational Mod (Demo)CAN remove associated records
HI, I wait for a year but can not finished or see who have this soluiton for my request.
I wonder how JPDeni Relational Demo can remove all associated file if a on side record deleted??


this is the Demo
http://www.jpdeni.com/cgi-bin/relation/db.cgi?db=user
Love you all,and thank for all help here ,this is a greatest forum.
Act.
Quote Reply
Re: [act] I dont get,How Relational Mod (Demo)CAN remove associated records In reply to
There is coding within the mod to remove the items if a user record is deleted.

Is that what you are trying to do?

Look in the db.cgi script within sub delete_records
there are codes to remove items records.


Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] I dont get,How Relational Mod (Demo)CAN remove associated records In reply to
:) Hi, LoisC,Thank you fro your rely again , I really dont know how to. I ever try using the code (db.cgi of JPDeni Relatetional Demo) you advice me but not successed.
If any know the trick please reply me ,also cut and paste code is the best for me.
Love you all,and thank for all help here ,this is a greatest forum.
Act.
Quote Reply
Re: [LoisC] I dont get,How Relational Mod (Demo)CAN remove associated records In reply to
I still not successed with this request.Hope there is someone would have time to see my question.

I test it with the code in .cgi file but fail to remove them.hmmmmmm....

in the code i confuse with the "ITEM" "ITEM" item""items"

HAve I to replace these word with my associated db name?
Love you all,and thank for all help here ,this is a greatest forum.
Act.
Quote Reply
Re: [act] I dont get,How Relational Mod (Demo)CAN remove associated records In reply to
Please check the FAQ for a thread called "Deleting user records in relational database"

This should provide the coding to do what you want. If not, I'm sure there are other related threads.

You most likely have to modify the code to match the database names you are using.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/