General information
Category:
Reports & Report designer
Title:
Adding table in the dataenvironement by programation
Hi All
I have a application that generate report. The report can be modify by the user.
Before the user can modify the report I append a record in the .frx
with these information.
Use ReportName Exclusive
Append Blank
Replace Platform With "WINDOWS"
Replace Objtype With 26
Replace Name With "cursor"
Replace Expr With 'Left = 10'+chr(13)+;
'Top = 20'+chr(13)+;
'Width = 95'+chr(13)+; 'Height = 90'+chr(13)+; 'Alias = "test"'+Chr(13)+;
'CursorSource = ..\data\test.dbf'+chr(13)+;
'Name = "Cursor1"'
Use
When I try to do
Modify Report ReportName Save
A message pop up telling me that the cursor can not be fond.
If I add the table using the report generator and after I look the report as a table, that is what I see in the Fields
Platform Field
WINDOWS
Name Field
-----------
Name = "Cursor1"
Objtype Field
-------------
26
Expr Field
----------
Left = 10
Top = 20
Width = 95
Height = 90
Alias = "test"
CursorSource = ..\data\test.dbf
It look the same for me !
Any tips ?
Benoit
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