B4X FEED How to read file and data elements when file layout is provided with data file at the time of the run?

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: How to read file and data elements when file layout is provided with data file at the time of the run? است. این موضوع تا کنون 45 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع How to read file and data elements when file layout is provided with data file at the time of the run?
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
45
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi,
I'm looking for idea how to solve issue of reading file and data elements not knowing how this file looks prior to the run.
I will always get 2 files, data file and another file with the layout of the data.
The data file is fixed length file. For example if Last Name is 30 bytes it will always be 30 bytes. (last name + trailing spaces)
But I have no idea where to start with this?
If I know my data prior to compile I think I could create Custom Type object or something like that but what do I do in this case?

Thank you.

This is simple example of data and layout.
DATA
First NameLast NameMember DateMember NumberMember StatusMember Fee
JohnSmith
5/10/2019​
120501​
A
3.00​
AnnMiller
8/2/2020​
120502​
A

 

عقب
بالا