Share My Creation Csv to SQLite program - klaus    Apr 24, 2023   (42 reactions) Attached you find a small project to convert csv files to a SQLite database.
The program:
- detects automatically between the two separator characters ',' ';'.
- determines, on request, the data type for each column (TEXT, REAL, INREGER), these can be changed.
- the column names are the values of th B4A Question CSV viewer: an application using the scroll grid explained in a previous tutorial. - PaulMeuris    Oct 30, 2022   (7 reactions) In this B4J application you can load and view CSV text files.
A CSV file is a Comma-Separated Values text file.
Each value from one line is separated by a delimiter.
This delimiter can be a comma ( , ), a semi-colon ( ; ), an equal-sign ( = ), a colon ( : ), a tab character or any other character yo B4A Library [B4X] CSVParser - CSV parser and generator - Erel    Jun 29, 2020   (33 reactions) CSV - comma separated values format.
The various StringUtils libraries include methods for loading and saving CSV files.
However these methods have a few drawbacks:
- They work with files instead of strings. This is especially problematic if the input is not UTF8 encoded.
- As they are implemente B4A Question how to use a single column from CSV - Midimaster (first post)    Nov 05, 2020   (1 reaction) As I am an "old school" programmer I would say that datas never have to do anything with views. A CSV-file is a text file with lines for the rows and the cells ("columns") are strings in these lines separated by a "special character". So you have to scan the CSV by iterating through all the lines, t B4J Question [B4X] Cross platform Editable B4XTable: add Image ? - DonManfred (first post)    Apr 15, 2019 A CSV is a TEXTfile which does not contains any binary data. B4i Question create excel files? - Erel (first post)    Jul 14, 2016   (1 reaction) CSV (comma separated values) files are made of rows with multiple fields. Excel will show it as a table. You cannot change the formatting.
Note that Excel doesn't properly handle non-ASCII text in CSV files. B4A Question Download and read .csv - jvrh_1 (first post)    Oct 06, 2022   (1 reaction) Firstly, Thanks you Emexes, Mcqueccu and Andrew.
Emexes, thanks for you help. The . csv file is not the definitive one. It is actually a file linked to another Google Sheets sheet with the "IMPORTRANGE" function. I have tried your solution with the final file and it works perfectly. I would never ha B4A Question What DB I must use? - klaus (first post)    May 05, 2020   (4 reactions) I'm afraid that your .csv file is encoded with Windows-1253 and not UTF-8.
Try to convert it with notepad++. B4A Question how to save csv excel file on android phone - DonManfred (first post)    Nov 08, 2018 How are you expecting LoadTableFromCSV will save something? It loads a CSV and creates a html-Table from it´s content.
A CSV is a Textfile. You can create it with the File Methods. Or with StringUtils
su.SaveCSV2(File.DirInternal, "1.csv", ",", data, Array("Column 1", "Column 2", "Column 3")) B4A Question [RESOLVED] Different results from: string.GetBytes, File.ReadBytes and RandomAccessFile.ReadBytes - MicroDrie (first post)    Dec 09, 2023   (1 reaction) Here is a B4J and B4A program that takes the following steps:
It loads the csv file directly from the specified URL (from the hospital overview) into "temp.csv"
It replaces the separator with a tab value and writes the record to "temp2.csv"
It reads the file "temp2.csv" in the database test.db in t Page: 1   2   3   4   5   6   7   Powered by ColBERT |