Solved

MSFLEXGRID FIXED COL

Posted on 1998-10-07
3
431 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…
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…

831 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