Solved

MSFLEXGRID FIXED COL

Posted on 1998-10-07
3
422 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
Comment Utility
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
Comment Utility
try copying the second one..  rename it to the first.. then remove the datasource link.
0
 
LVL 3

Expert Comment

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

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

744 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