School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 340,158 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 4,067 people online right now. Registration is fast and FREE... Join Now!



Binding recordset to flexgrid

Binding recordset to flexgrid Rate Topic: -----

#1 maps2009  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: New Members
  • Posts: 2
  • Joined: 09-June 09


Dream Kudos: 0

Posted 09 June 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?
Was This Post Helpful? 0
  • +
  • -


#2 Jupiter 2  Icon User is offline

  • New D.I.C Head
  • Pip
  • View blog
  • Group: Members
  • Posts: 12
  • Joined: 05-June 09


Dream Kudos: 0

Posted 09 June 2009 - 06:51 AM

View Postmaps2009, on 9 Jun, 2009 - 04:29 AM, said:

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.
Was This Post Helpful? 0
  • +
  • -

#3 maps2009  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: New Members
  • Posts: 2
  • Joined: 09-June 09


Dream Kudos: 0

Posted 11 June 2009 - 08:46 AM

View PostJupiter 2, on 9 Jun, 2009 - 06:51 AM, said:

View Postmaps2009, on 9 Jun, 2009 - 04:29 AM, said:

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.
Was This Post Helpful? 0
  • +
  • -

#4 Jupiter 2  Icon User is offline

  • New D.I.C Head
  • Pip
  • View blog
  • Group: Members
  • Posts: 12
  • Joined: 05-June 09


Dream Kudos: 0

Posted 11 June 2009 - 09:04 AM

View Postmaps2009, on 11 Jun, 2009 - 08:46 AM, said:

View PostJupiter 2, on 9 Jun, 2009 - 06:51 AM, said:

View Postmaps2009, on 9 Jun, 2009 - 04:29 AM, said:

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
Was This Post Helpful? 0
  • +
  • -

#5 thava  Icon User is offline

  • D.I.C Addict
  • Icon
  • Group: Expert
  • Posts: 990
  • Joined: 17-April 07


Dream Kudos: 75

Posted 11 June 2009 - 06:25 PM

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
Was This Post Helpful? 1
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

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

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month