Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO and VFP
Message
From
03/07/2004 09:10:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/07/2004 15:08:32
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00920272
Message ID:
00920418
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
>Hi, all
> Hope everyone has a great 4th.
>
>Okay, I am working with VFP8 and ado recordsets. I can get the connection and supposable a result back, but I do not know how to look at the data. Do I have to put it into a visible class (ie. grid, combobox, editbox)? or is there a way to put it into a cursor quickly?
> (am I talking about the cursoradapter class here?)
>
>working in vfp6 and just starting 8 is cunfusing.
>
>TIA
>Beth

Beth,
Here is a quick viewer :
ShowMe(oRS, 'My Caption')

Function ShowMe
Lparameters toRecordset,tcCaption
oForm = Createobject('myForm',toRecordset, tcCaption)
oForm.Show
Read Events
Endfunc

Define Class myform As Form
  Height = 450
  Width = 750
  Name = "Form1"

  Add Object hflex As OleControl With ;
    Top = 10, Left = 10, Height = 430, Width = 730, Name = "Hflex", ;
    OleClass = 'MSHierarchicalFlexGridLib.MSHFlexGrid'

  Procedure Init
  Lparameters toRecordset,tcCaption
  This.Caption = iif(empty(m.tcCaption), '', m.tcCaption)
  This.hflex.Datasource = toRecordset
  this.hflex.AllowUserResizing = 3
Endproc
  Procedure QueryUnload
  Clear Events
Endproc
Enddefine
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