Solved

FlexGrid Question

Posted on 1998-12-11
4
144 Views
Last Modified: 2010-05-03
I want to fill a Flex Grid with selected fields from an Access database.  Does anyone have any code that will be helpful to get me started? One other thing.. the access database has a password. Please advise on usage. Thanks
0
Comment
Question by:gcw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:jjbyers
ID: 1449649
You want ADO or DAO?
0
 

Author Comment

by:gcw
ID: 1449650
DAO
0
 
LVL 3

Accepted Solution

by:
jjbyers earned 50 total points
ID: 1449651
Place a Data control on a form set the following properties
(Do not use quotes)

Connect=";pwd=password"
DatabaseName=database
Recordsource=table

Place a flexgrid on the form and set the following properties
(Do not use quotes)

Datasource=Data1

Hope this helps?
Thanks
jjb
0
 

Author Comment

by:gcw
ID: 1449652
thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question