General information
Category:
Coding, syntax & commands
Hi,
I have a program to assign user rights.
On the load event I create a cursor csrA.
create cursor CsrA(screenname C(30), allowed I)
ScreenName takes values like 'MainForm', 'DirectoryForm'
Allowed is either 1 or 0
When a user is selected from the combobox on the from this cursor will be filled with the values for this user.
I am trying to display the cursor values in grid.
My grid had 2 columns. The current control for column1 is a textbox and that for column2 is a checkbox.
How do I assign values to the grid?
Do I code this or do I set the properties of the grid?
I tried this code:
thisform.grid1.recordsource = csrA
But this just displays the values and my text & check boxes disappear.
I would like the screen name to be displayed in the textbox and the values for allowed to determine if the checkbox will be checked or not.
Any help would be really appreciated.
Ria
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only