Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows tree
Message
From
19/06/2007 05:39:11
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/06/2007 05:33:38
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01233868
Message ID:
01234184
Views:
34
>Hi Cetin,
>
>the prob seems to be caused by the fact that my nodes are numeric. Is there a work around for that problem ?
>
>thnx

Kurt,
BTW you don't need to use actual keys there. A TV requires basically 3 properties (nodeID, parentID and nodeText. You can create a cursor for yourself that have those fields and the rest of the fields are for yourself. So you can do something like this:

create cursor myTV (nodeID c(10), parentID c(10), nodeText c(50), myTableNAme c(10), myKey i)

nodeid and parentid might then simply be values like sys(2015), you use it to locate the row in this cursor and get target table and PK from there if you want.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform