Solved

FlexGrid Question

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…

710 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