List of external dictionaries

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

List of external dictionaries

Post by htuser »

Dear All,
I'm working on an user defined function able to sync all related applications using a menu. Actually, i must write a separate function for each dictionary, applications related to menu. This new function must replace several's.

a) I can have all pen, pff applications related to menu using dirlist. However, actually i don't know any function able to extract dictionary name for each specific pen file...
b) the keylist give an ID for each case in a data file, but nothing similar to have a list of external dictionaries...
c) In the .ent of the menu, i can have all External dictionaries:

[External Dictionaries]
File=.\Applications\AppInscription\InscriptionDS_V1.dcf
File=.\Applications\Consommateurs\F_consommateurs.dcf
File=.\Applications\Consommateurs\Rapport_ext.dcf
File=.\Applications\Supermarches\F_supermarche.dcf

[Dictionary Types]
Dict-Type=.\Applications\AppInscription\InscriptionDS_V1.dcf,External
Dict-Type=.\FilieresF_mV1.dcf,Input,.\FilieresF_mV1.fmf
Dict-Type=.\Applications\Consommateurs\F_consommateurs.dcf,External
Dict-Type=.\Applications\Consommateurs\Rapport_ext.dcf,External
Dict-Type=.\Applications\Supermarches\F_supermarche.dcf,External

But, i can't access to them in logic...

Please does anyone have a solution?

Thanks in advance for support.
G.VOLNY, a CSProuser from Haiti, since 2004
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: List of external dictionaries

Post by aaronw »

A function doesn't exist that's going to look at the PEN file and give you the dictionaries. You could try deploying a config file with the dictionary names and then read it.
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: List of external dictionaries

Post by htuser »

Thank you Aaron. I create a list string with external dictionary names and it's Ok.
Best Regards,
G.VOLNY, a CSProuser from Haiti, since 2004
Post Reply