VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB Expert!

Join 306,819 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,709 people online right now. Registration is fast and FREE... Join Now!




Binding recordset to flexgrid

 

Binding recordset to flexgrid

maps2009

9 Jun, 2009 - 04:29 AM
Post #1

New D.I.C Head
*

Joined: 9 Jun, 2009
Posts: 2

I am finding it difficult to bind a recordset to msflegrid. With mshflexgrid i bind without any problem; set myflexgrid.datasource = myrecordset. With msflexgrid I get an error. Whats the correct syntax?

User is offlineProfile CardPM
+Quote Post


Jupiter 2

RE: Binding Recordset To Flexgrid

9 Jun, 2009 - 06:51 AM
Post #2

New D.I.C Head
*

Joined: 5 Jun, 2009
Posts: 12



Thanked: 1 times
My Contributions
QUOTE(maps2009 @ 9 Jun, 2009 - 04:29 AM) *

I am finding it difficult to bind a recordset to msflegrid. With mshflexgrid i bind without any problem; set myflexgrid.datasource = myrecordset. With msflexgrid I get an error. Whats the correct syntax?

I've no idea. However, what does this "myrecordset." refer to.

User is offlineProfile CardPM
+Quote Post

maps2009

RE: Binding Recordset To Flexgrid

11 Jun, 2009 - 08:46 AM
Post #3

New D.I.C Head
*

Joined: 9 Jun, 2009
Posts: 2

QUOTE(Jupiter 2 @ 9 Jun, 2009 - 06:51 AM) *

QUOTE(maps2009 @ 9 Jun, 2009 - 04:29 AM) *

I am finding it difficult to bind a recordset to msflegrid. With mshflexgrid i bind without any problem; set myflexgrid.datasource = myrecordset. With msflexgrid I get an error. Whats the correct syntax?

I've no idea. However, what does this "myrecordset." refer to.


Thats the recordset.
User is offlineProfile CardPM
+Quote Post

Jupiter 2

RE: Binding Recordset To Flexgrid

11 Jun, 2009 - 09:04 AM
Post #4

New D.I.C Head
*

Joined: 5 Jun, 2009
Posts: 12



Thanked: 1 times
My Contributions
QUOTE(maps2009 @ 11 Jun, 2009 - 08:46 AM) *

QUOTE(Jupiter 2 @ 9 Jun, 2009 - 06:51 AM) *

QUOTE(maps2009 @ 9 Jun, 2009 - 04:29 AM) *

I am finding it difficult to bind a recordset to msflegrid. With mshflexgrid i bind without any problem; set myflexgrid.datasource = myrecordset. With msflexgrid I get an error. Whats the correct syntax?

I've no idea. However, what does this "myrecordset." refer to.


Thats the recordset.


Yes but does it refer to example -
C:/myfile.adb!"MyRecordset" or someting like that or specific grid on the flexgrid


User is offlineProfile CardPM
+Quote Post

thava

RE: Binding Recordset To Flexgrid

11 Jun, 2009 - 06:25 PM
Post #5

D.I.C Addict
Group Icon

Joined: 17 Apr, 2007
Posts: 901



Thanked: 52 times
Dream Kudos: 75
My Contributions
you need to specify the dao recordset not the ADODB. Recordset,

hope you Know the difference between the DAO and ADO

that's Why the error wasraised for you
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/20/09 10:20PM

Live VB Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month