Click to See Complete Forum and Search --> : How to Create a relation (CDaoDatabase::CreateRelation method)


Jaime
September 24th, 1999, 03:06 PM
Hi.. I want to create a relation but program crashes when I try..... this is what I'm doing:


pDbCasino->CreateRelation("Colacion", "COLACION", "MENU", dbRelationUnique|dbRelationUpdateCascade|dbRelationDeleteCascade, "Tipo_Colacion", "Tipo_Colacion");




What may be wrong?
Jaime