PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → FileToMemory and class with mapping
FileToMemory and class with mapping
Iniciado por Dejan, jul., 29 2025 1:58 PM - 1 resposta
Publicado em julho, 29 2025 - 1:58 PM
Hi all,
I want to load data into class from FIC file with FileToMemory. Now, I cannot find right answer.. in documentation it says that members of the class must use same name as in table and no prefix.. if I use Create a class linked to file description, it automatically adds m_ as prefix. In this case will FileToMemory work or not ? dfinition of the members are like:
m_Aktivan is 2-byte int <MAPPING=Aktivan>.
Membro registado
93 mensagems
Publicado em julho, 31 2025 - 11:59 AM
Dejan a écrit :
Hi all,
I want to load data into class from FIC file with FileToMemory. Now, I cannot find right answer.. in documentation it says that members of the class must use same name as in table and no prefix.. if I use Create a class linked to file description, it automatically adds m_ as prefix. In this case will FileToMemory work or not ? dfinition of the members are like:
m_Aktivan is 2-byte int <MAPPING=Aktivan>.


<MAPPING=THENAME> where THENAME must be the same as the file field name then FileToMemory will work

--
Ben Dell
Riebens Computers Pty Ltd
Southern Africa PcSoft Distributor
www.windevsa.co.za
PcSoft Sales, Support and Training