Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formless Cursor Adapters
Message
From
04/01/2005 18:56:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00974198
Message ID:
00974243
Views:
11
>Basically I create cursor using Data Adapters in forms.
>
>
>WITH Thisform.DataEnvironment.&tcCursorName
> .Alias = tcCursorName
> .DataSourceType = "ODBC"
> .Datasource = (oApp.nConnectionHandle)
> .Name = tcCursorName
> .Selectcmd = "SELECT * FROM Users "
> .Tables = "Users"
>ENDWITH
>
>Now if I'm querying data outside of any form, how do I use the cursor adapter to get this data? Create a DEClass Object under _Screen and add it to it? Or is there another way of doing it?
>
>Thanks.

Roy,
CA doesn't need a DE or form. There are many samples here on UT. For example Message #906597
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform