[nsbasic-ce] Ditto am looking for SQL Compact Edition samples with NSBASIC

3 views
Skip to first unread message

annette.kord

unread,
Feb 21, 2008, 8:00:24 PM2/21/08
to nsbas...@yahoogroups.com

Has anyone used the compact edition? I was using pocket access but it
is no more on windows mobile 5. What does everyone else use with
nsbasic? Samples please!

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Women of Curves

on Yahoo! Groups

A positive group

to discuss Curves.

Yahoo! Groups

How-To Zone

Do-It-Yourselfers

Connect & share.

.

__,_._,___

annette.kord

unread,
Feb 21, 2008, 8:00:24 PM2/21/08
to nsbas...@yahoogroups.com

George Henne

unread,
Feb 22, 2008, 7:04:40 AM2/22/08
to nsbas...@yahoogroups.com

Here's a short sample from Tech Note 3a:

Dim objADO
Dim objRs
Dim strSQL
Dim strUserID

SqlOdbc="sql"
'Create ADO Object
Set objADO = CreateObject("ADODB.Connection")

' **** Open MS SQL DB by ADO ***
objADO.Open="SQL"

'Set SQL
strSQL="SELECT * from daily "

'Set DynaSet(RecordSet) Object
Set objRS = objADO.Execute(strSQL)

'Show records data
Do Until objRS.Eof = True

'Show the field
Print objRS(0),objRS(1),objRS(2),objRS(3)

'move next record
objRS.MoveNext

Loop

'Close ADO
objADO.Close

George Henne
NS BASIC Corporation
http://www.nsbasic.com


>Has anyone used the compact edition? I was using pocket access but it
>is no more on windows mobile 5. What does everyone else use with
>nsbasic? Samples please!
>
>
>
>

Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Need traffic?

Drive customers

With search ads

on Yahoo!

Check out the

Y! Groups blog

Stay up to speed

on all things Groups!

.

__,_._,___

Annette Kord

unread,
Feb 22, 2008, 12:57:05 PM2/22/08
to nsbas...@yahoogroups.com

Yea saw this in the technote, missing to much information for my pea brain, need to know what needs to be installed on the handheld for this to work I did install the SQL Server Compact Edition Core...
 
When "SQL" is open in the sample below is "SQL" defined as an odbc connection or a file, I tried it using my file specification and received the activex cannot create object..using CreateObject("Adodb....  Now I'm wondering how I get ADO onto the handheld I don't think it came installed and I didn't put it there (at least I don't think I did).
 
I'm curious to know what other users are using I want something simple with index capability like the old MDB/CDB files...don't want to resort to a random or text file...and have to deal with sorting, etc...what do other people use?  Are all the apps written with NSBasic non-db related?  I saw all the samples are non-db related.
 
Anyone out there writing a db app with ns-basic?

George Henne <g...@nsbasic.com> wrote:

Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Search Ads

Get new customers.

List your web site

in Yahoo! Search.

Yahoo! Groups

How-To Zone

Do-It-Yourselfers

Connect & share.

.

__,_._,___

Annette Kord

unread,
Feb 22, 2008, 12:57:05 PM2/22/08
to nsbas...@yahoogroups.com

Yea saw this in the technote, missing to much information for my pea brain, need to know what needs to be installed on the handheld for this to work I did install the SQL Server Compact Edition Core...
 
When "SQL" is open in the sample below is "SQL" defined as an odbc connection or a file, I tried it using my file specification and received the activex cannot create object..using CreateObject("Adodb....  Now I'm wondering how I get ADO onto the handheld I don't think it came installed and I didn't put it there (at least I don't think I did).
 
I'm curious to know what other users are using I want something simple with index capability like the old MDB/CDB files...don't want to resort to a random or text file...and have to deal with sorting, etc...what do other people use?  Are all the apps written with NSBasic non-db related?  I saw all the samples are non-db related.
 
Anyone out there writing a db app with ns-basic?

George Henne <g...@nsbasic.com> wrote:


Never miss a thing. Make Yahoo your homepage.

Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Search Ads

Get new customers.

List your web site

in Yahoo! Search.

Yahoo! Groups

How-To Zone

Do-It-Yourselfers

Connect & share.

.

__,_._,___

styskul

unread,
Feb 22, 2008, 2:01:37 PM2/22/08
to nsbas...@yahoogroups.com

Try this: http://www.nsbasic.com/ce/info/technotes/TN15.htm SQLite is
compact, easy to use, and the same database works on both the PC and
PocketPC (and Linux, and I believe OS X).



--- In nsbasic-ce@yahoogroups.com, Annette Kord <annette.kord@...> wrote:
>
> Yea saw this in the technote, missing to much information for my pea
brain, need to know what needs to be installed on the handheld for
this to work I did install the SQL Server Compact Edition Core...
>
> When "SQL" is open in the sample below is "SQL" defined as an odbc
connection or a file, I tried it using my file specification and
received the activex cannot create object..using
CreateObject("Adodb.... Now I'm wondering how I get ADO onto the
handheld I don't think it came installed and I didn't put it there (at
least I don't think I did).
>
> I'm curious to know what other users are using I want something
simple with index capability like the old MDB/CDB files...don't want
to resort to a random or text file...and have to deal with sorting,
etc...what do other people use? Are all the apps written with NSBasic
non-db related? I saw all the samples are non-db related.
>
> Anyone out there writing a db app with ns-basic?
>

> ---------------------------------


> Never miss a thing. Make Yahoo your homepage.
>

Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Do-It-Yourselfers

on Yahoo! Groups

How-to ideas,

projects and more.

.

__,_._,___

styskul

unread,
Feb 22, 2008, 2:01:37 PM2/22/08
to nsbas...@yahoogroups.com

Try this: http://www.nsbasic.com/ce/info/technotes/TN15.htm SQLite is
compact, easy to use, and the same database works on both the PC and
PocketPC (and Linux, and I believe OS X).

--- In nsbasic-ce@yahoogroups.com, Annette Kord <annette.kord@...> wrote:
>

> Yea saw this in the technote, missing to much information for my pea
brain, need to know what needs to be installed on the handheld for
this to work I did install the SQL Server Compact Edition Core...
>
> When "SQL" is open in the sample below is "SQL" defined as an odbc
connection or a file, I tried it using my file specification and
received the activex cannot create object..using
CreateObject("Adodb.... Now I'm wondering how I get ADO onto the
handheld I don't think it came installed and I didn't put it there (at
least I don't think I did).
>
> I'm curious to know what other users are using I want something
simple with index capability like the old MDB/CDB files...don't want
to resort to a random or text file...and have to deal with sorting,
etc...what do other people use? Are all the apps written with NSBasic
non-db related? I saw all the samples are non-db related.
>
> Anyone out there writing a db app with ns-basic?
>

> ---------------------------------


> Never miss a thing. Make Yahoo your homepage.
>

Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Do-It-Yourselfers

on Yahoo! Groups

How-to ideas,

projects and more.

.

__,_._,___

David A. Quinn

unread,
Feb 22, 2008, 2:42:36 PM2/22/08
to nsbas...@yahoogroups.com

I've been using the newobjects sqlite with no problems on a compaq ipaq with Win CE 3.0. You might want to look at it.
 

Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Y! Groups blog

The place to go

to stay informed

on Groups news!

.

__,_._,___
Reply all
Reply to author
Forward
0 new messages