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 B4A Question [RESOLVED] Different results from: string.GetBytes, File.ReadBytes and RandomAccessFile.ReadBytes - emexes (first post)    Dec 09, 2023   (1 reaction) I downloaded and looked directly at the clinics data file clinics.csv, and this is what it is:
1/ lines are terminated with the two byte sequence 13 10 ie CR LF
2a/ fields (columns) are separated by byte 172 (which is ASCII 44 comma with high bit set, presumably chosen to simplify parsing of field 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 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. 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 csv to sqlite - klaus (first post)    Feb 14, 2022   (2 reactions) You can convert a csv file into a SQLite database with this program: csv to SQLite. Page: 1   2   3   4   5   6   7   Powered by ColBERT |