<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 3/18/2011 11:30 AM, Tiemo Hollmann TB wrote:
<blockquote cite="mid:004701cbe54f$1dfb80f0$59f282d0$@de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.E-MailFormatvorlage17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        color:black;}
span.E-MailFormatvorlage20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Hi Ivan,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Thank you for helping. That was easy: </span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif"; color: rgb(0, 0, 127);"
lang="EN-US">"fIndexed, fUnique"</span><span style="color:
rgb(31, 73, 125);" lang="EN-US"> did it. I didn’t knew that
the wiki is a generic description, which has to be adapted.
Perhaps you could add such a hint, how to adapt the generic
description to the specific languages.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Perhaps you also have such an easy solution,
why my CreateForeignKeyLink doesn’t works as expected. When
using:<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size: 12pt;
font-family: "Times New
Roman","serif"; color: rgb(127, 127, 0);"
lang="EN-US">put</span></b><span style="font-size: 12pt;
font-family: "Times New Roman","serif";"
lang="EN-US"> VDataBase_CreateForeignKeyLink(gDBRef, </span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif"; color: rgb(0, 0, 127);"
lang="EN-US">"link_begriff_rubrik"</span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif";" lang="EN-US">,
begriff.begriff_ID, rubrik.begriff_ID) </span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif"; color: rgb(127, 0, 127);"
lang="EN-US">into</span><span style="font-size: 12pt;
font-family: "Times New Roman","serif";"
lang="EN-US"> glinkRef</span><span style="color: rgb(31, 73,
125);" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">nothing is created (at least when checking in
VStudio, there is no link). My variable glinkRef still is
empty but the </span><span style="font-size: 12pt;
font-family: "Times New Roman","serif";"
lang="EN-US">VDataBase_ErrString( gDBRef ) </span><span
style="color: rgb(31, 73, 125);" lang="EN-US">also is empty</span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif";" lang="EN-US">.</span><span
style="color: rgb(31, 73, 125);" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Same with quotes around the key- and ptr field
and same with additionally using: </span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif"; color: rgb(0, 0, 127);"
lang="EN-US">"kSetNull"</span><span style="font-size: 12pt;
font-family: "Times New Roman","serif";"
lang="EN-US">, </span><span style="font-size: 12pt;
font-family: "Times New Roman","serif";
color: rgb(0, 0, 127);" lang="EN-US">"kCascade"</span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif";" lang="EN-US">, </span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif"; color: rgb(127, 0, 127);"
lang="EN-US">false</span><span style="color: rgb(31, 73,
125);" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">The function just runs thru, without creating,
without error.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US"><o:p> </o:p></span></p>
</div>
<br>
</blockquote>
Please check your V4REV..log first - what is there for <span
style="font-size: 12pt; font-family: "Times New
Roman","serif";" lang="EN-US">VDataBase_CreateForeignKeyLink?</span><br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards,
Ivan Smahin
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
<a class="moz-txt-link-freetext" href="http://www.valentina-db.com">http://www.valentina-db.com</a></pre>
</body>
</html>