dbTalk Databases Forums  

F-type correlative for indexing (mvEnterprise)

comp.databases.pick comp.databases.pick


Discuss F-type correlative for indexing (mvEnterprise) in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
morrtech@comcast.net
 
Posts: n/a

Default F-type correlative for indexing (mvEnterprise) - 06-15-2005 , 04:22 PM






Does anyone know how to construct an f-type correlative that will
extract the second value of an mv field without using the translate
(e.g., (TPROD;X2;10;10) function? I am creating an index file and need
this as a x-type dictionary item - mvEnterprise flavor.

Thanks,

Dave


Reply With Quote
  #2  
Old   
murthi
 
Posts: n/a

Default Re: F-type correlative for indexing (mvEnterprise) - 06-16-2005 , 08:20 AM






Try this:

A; IF 10:NV = 10:'2' THEN 10 ELSE '' should work, does not on uv 10
or
F;10;'1';NV;'2';=;'999';*;[] works on uv 10

both should return mv2 or nulls for others. this may not work index if it
indexes nulls, but there may be an option to ignore them like NO.NULLS in
uv.

*But by far the better way would be to store the required value in another
attribute!*

Chandru

<morrtech (AT) comcast (DOT) net> wrote

Quote:
Does anyone know how to construct an f-type correlative that will
extract the second value of an mv field without using the translate
(e.g., (TPROD;X2;10;10) function? I am creating an index file and need
this as a x-type dictionary item - mvEnterprise flavor.

Thanks,

Dave




Reply With Quote
  #3  
Old   
morrtech@comcast.net
 
Posts: n/a

Default Re: F-type correlative for indexing (mvEnterprise) - 06-16-2005 , 08:41 AM



Chandru,

Thanks for your response...I'll let you know if it works.

Dave


Reply With Quote
  #4  
Old   
morrtech@comcast.net
 
Posts: n/a

Default Re: F-type correlative for indexing (mvEnterprise) - 06-16-2005 , 08:55 AM



Chandru,

It works perfectly! Thank you very much...please let me know if I can
ever return the favor.

Dave Morrison


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.