Solved

MSFLEXGRID FIXED COL

Posted on 1998-10-07
3
426 Views
Last Modified: 2013-12-26
I am using 2 msflexgrids on a form.
both have the fixed col and row set to 1 - this is what i want. the props are set the same with the exception of the source.( must be my problem)

the first grid is not set to a data control and it scrolls fine in both col and rows. ( the col-row headers do not move)

the second grid uses a datsecondaryRS. the fixed col is blank and my data starts in col 1 ( not col 0 )

am i missing somthing ? is there another way around ?

Thanks
        diamondp
0
Comment
Question by:DIAMONDP
  • 3
3 Comments
 
LVL 3

Accepted Solution

by:
TheAnswerMan earned 50 total points
ID: 1487434
I think you must be..  I tried to duplicate your items
useing the NWind.mdb Database.
Datacontrol set to the Employees Table.

Dim x As Integer
Dim y As Integer
Grid1.Rows = Grid2.Rows
Grid1.Cols = Grid2.Cols
For y = 0 To Grid2.Rows - 1
    Grid1.Row = y
    Grid2.Row = y
    For x = 0 To Grid2.Cols - 1
        Grid1.Col = x
        Grid2.Col = x
        Grid1 = Grid2
    Next x
Next y

This copies everything from the second<bound> into the first..
they both look and scroll the same..

0
 
LVL 3

Expert Comment

by:TheAnswerMan
ID: 1487435
try copying the second one..  rename it to the first.. then remove the datasource link.
0
 
LVL 3

Expert Comment

by:TheAnswerMan
ID: 1487436
try copying the second one..  rename it to the first.. then remove the datasource link.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA color chart bars 12 77
How does CurrentUser work? 10 31
MS Date Picker 64 bit 32 bit issue 12 49
Can we place a tooltip on the actual vb6 form 5 35
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

914 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now