Assign fields to frxDataset by code
mierlp
Netherlands
Hi,
I need to user only 1 frxDataset in my application, which is connected to a table called PRINTS. This table contains 30 fields. The applications contains 3 forms.
On each form there's a button 'Design Report' so he/she can design there own report.
When a users has opens Form1, clicks the button 'Design report' the frxDataset may only show/contain the fields from Form1, let's say field 1-10
When a users has opens Form2, clicks the button 'Design report' the frxDataset may only show/contain the fields from Form2, let's say field 11-20
When a users has opens Form3, clicks the button 'Design report' the frxDataset may only show/contain the fields from Form3, let's say field 21-30
How can i assign the correct database fields to the frxDataset by code?
regards Peter
I need to user only 1 frxDataset in my application, which is connected to a table called PRINTS. This table contains 30 fields. The applications contains 3 forms.
On each form there's a button 'Design Report' so he/she can design there own report.
When a users has opens Form1, clicks the button 'Design report' the frxDataset may only show/contain the fields from Form1, let's say field 1-10
When a users has opens Form2, clicks the button 'Design report' the frxDataset may only show/contain the fields from Form2, let's say field 11-20
When a users has opens Form3, clicks the button 'Design report' the frxDataset may only show/contain the fields from Form3, let's say field 21-30
How can i assign the correct database fields to the frxDataset by code?
regards Peter
Comments