|
FileToMemory and class with mapping |
Débuté par Dejan, 29 juil. 2025 13:58 - 1 réponse |
| |
| | | |
|
| |
Posté le 29 juillet 2025 - 13:58 |
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>. |
| |
| |
| | | |
|
| | |
| |
Membre enregistré 92 messages |
|
Posté le 31 juillet 2025 - 11:59 |
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 |
| |
| |
| | | |
|
| | | | |
| | |
|