Yes, I think the only solution might be to clean up the tables
So if for example there is text in a real column, update it to 0.0 etc.
RBS
On Tue, May 8, 2018 at 5:46 PM, Simon Slavin wrote:
> On 8 May 2018, at 5:37pm, Bart Smissaert wrote:
>
On 8 May 2018, at 5:37pm, Bart Smissaert wrote:
>> SQLite does not have column types. It has column affinities instead.
>
> OK, so I would like to see that declared column affinity as that will
> determine how to process the data.
Ah. You don't care about the data,
> SQLite does not have column types. It has column affinities instead.
OK, so I would like to see that declared column affinity as that will
determine how to process the data.
I have no problem doing this on the Windows PC. More difficult though to do
this on Android.
RBS
On Tue, May 8, 2018
On 8 May 2018, at 4:19pm, Bart Smissaert wrote:
> Just tested that (TypeOf) on the Android phone and it doesn't do what I
> wanted.
> I tested on a column declared Real but with text values in it as well.
> It will give both real and text and what I wanted was to
> int sqlite3_column_type(sqlite3_stmt*, int iCol);
Android and certainly B4A doesn't have that as far as I can see.
RBS
On Tue, May 8, 2018 at 3:21 AM, J Decker wrote:
> https://www.sqlite.org/c3ref/column_blob.html
>
> int sqlite3_column_type(sqlite3_stmt*, int iCol);
>
>
Just tested that (TypeOf) on the Android phone and it doesn't do what I
wanted.
I tested on a column declared Real but with text values in it as well.
It will give both real and text and what I wanted was to produce only real
as that
is what the column is declared as.
RBS
On Tue, May 8, 2018 at
https://www.sqlite.org/c3ref/column_blob.html
int sqlite3_column_type(sqlite3_stmt*, int iCol);
?
On Mon, May 7, 2018 at 4:28 PM, Bart Smissaert
wrote:
> Yes, thanks, that might be the best way, but it can get a bit complicated
> with complex SQL.
>
> RBS
>
>
>
> On
Yes, thanks, that might be the best way, but it can get a bit complicated
with complex SQL.
RBS
On Tue, May 8, 2018 at 12:05 AM, Simon Slavin wrote:
> On 7 May 2018, at 10:49pm, Bart Smissaert
> wrote:
>
> > Using B4A for a SQLite database app
On 7 May 2018, at 10:49pm, Bart Smissaert wrote:
> Using B4A for a SQLite database app on an Android phone.
> B4A doesn't have functions like sqlite3_column_decltype and
> sqlite3_column_type
> and this is causing some difficulty getting the column datatypes of a row
>
Using B4A for a SQLite database app on an Android phone.
B4A doesn't have functions like sqlite3_column_decltype and
sqlite3_column_type
and this is causing some difficulty getting the column datatypes of a row
producing
statement.
If we have for example:
create table Table1(ID Integer, Name
10 matches
Mail list logo