Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding table in the dataenvironement by programation
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Adding table in the dataenvironement by programation
Miscellaneous
Thread ID:
00400288
Message ID:
00400288
Views:
55
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
Map
View

Click here to load this message in the networking platform