Solved

FlexGrid Question

Posted on 1998-12-11
4
141 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

778 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