|
| FileToMemory and class with mapping |
| Started by Dejan, Jul., 29 2025 1:58 PM - 1 reply |
| |
| | | |
|
| |
| Posted on July, 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>. |
| |
| |
| | | |
|
| | |
| |
Registered member 93 messages |
|
| Posted on July, 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 |
| |
| |
| | | |
|
| | | | |
| | |
|