Solved

FlexGrid Question

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

840 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