FDATEXT Data Structure

Wes_D

Well Known Member
Hi List,

Does anybody know the data structure for flob field (FTFDABLOB) in F98750 (FDAtext). I need to translate the Apps title and there is not tool to do it in OW XE.

I would like to do it in C and need the data structure.

Thanks a bunch.

Wes
 
We sell a tool to do this. Please, contact me via e-mail directly, if interested.
 
Re: Data Structure

search in .h file in system/include, i think you will find what you need (structur and api )
i.e.
/***********************
* FDATEXT
***********************/
typedef struct tagY_FDATEXT Y_FDATEXT, * Y_LPFDATEXT;
typedef struct tagBB_FDATEXT BB_FDATEXT, * BB_LPFDATEXT;

struct tagY_FDATEXT {
ushort nVarLen; /* TAM record length of FORM_TEXT */
ID idApplication; /* Identifies the application */
ID idText; /* Identifies the text */
char szLanguage[3]; /* Identifies the Language */
char szSystemCode[5]; /* Identifies the Jargon */
char cTextType; /* Type of text in FDASPEC */
ID idDict; /* Original dictionary text item that was overriden */
char szText[1]; /* Form text - variable length (max 41) */
};
struct tagBB_FDATEXT {
LVARLEN lVarLen; /* TAM record length of FORM_TEXT */
ID idApplication; /* Identifies the application */
NID szApplication; /* Identifies the application */
ID idText; /* Identifies the text */
char szLanguage[3]; /* Identifies the Language */
char szSystemCode[5]; /* Identifies the Jargon */
char cTextType; /* Type of text in FDASPEC */
char szText[1]; /* Form text - variable length (max 41) */
};

in jdespecy.h
/* FDATEXT */
/*============================================================================*/
#define FILENAME_FDATEXT "fdatext"
#define DATA_VERSION_FDATEXT 2L /* FDA text TAM file version */
#define CTEXTTYPE_HYPERBUTTONTEXT 'h'
#define INDEX2_FDATEXT 2L

typedef struct tagXFDATEXT_2 XFDATEXT_2, * LPXFDATEXT_2;
typedef struct tagFDATEXT FDATEXT, * LPFDATEXT;

/* Unique Index */
struct tagXFDATEXT_2 {
NID szApplication; /* Identifies the application */
ID idText; /* Identifies the text */
char szLanguage[3]; /* Identifies the Language */
char szSystemCode[5]; /* Identifies the Jargon */
};

struct tagFDATEXT {
LVARLEN lVarLen; /* TAM record length of FORM_TEXT */
ID idDontUseAnyMore1; /* Identifies the application */
NID szApplication; /* Identifies the application */
ID idText; /* Identifies the text */
char szLanguage[3]; /* Identifies the Language */
char szSystemCode[5]; /* Identifies the Jargon */
char cTextType; /* Type of text in FDASPEC */
char szText[1]; /* Form text - variable length (max 41) */
};
in jdespec.h
Function : jdeVocabGetFDAText
Description : This function retrieves FDA text .
*/
JDERTN(LPSTR) JDEWINAPI jdeVocabGetFDAText(
HUSER hUser, /* Not Currently used - Should be passed */
LPTAM lpTam, /* FDA Text TAM - May be NULL */
LPXFDATEXT_2 lpKeyFormText, /* FDA Text Key - Must contain Application Name & Text ID */
BOOL bGetLang, /* TRUE gets language from Cache */
BOOL bGetSys /* TRUE gets system override from run time */
);
in jdekprto.h
 
Back
Top