I am using crystal report 8.0, access2000 database and visual basic 6.0.
my problem is:
I want to create a report using report expert wizard and the data source as data environment. But after I see the sql string of the Data environment in select record dialog I face a problem.
The sql string is this:
SHAPE {SELECT ID, Name + ' ' + FName + ' ' + GFName AS Name,
Birth_Date, starting_date
FROM Resident} AS Resident APPEND ({SELECT * FROM Dependant} AS Dependant RELATE 'ID' TO 'ID') AS Dependant
when i click ok it brings the following message microsoft
JET database engine:
Invalid SQL Statement; expected 'DELETE','INSERT','PROCEDURE','SELECT','UPDATE'
could you help me please
my problem is:
I want to create a report using report expert wizard and the data source as data environment. But after I see the sql string of the Data environment in select record dialog I face a problem.
The sql string is this:
SHAPE {SELECT ID, Name + ' ' + FName + ' ' + GFName AS Name,
Birth_Date, starting_date
FROM Resident} AS Resident APPEND ({SELECT * FROM Dependant} AS Dependant RELATE 'ID' TO 'ID') AS Dependant
when i click ok it brings the following message microsoft
JET database engine:
Invalid SQL Statement; expected 'DELETE','INSERT','PROCEDURE','SELECT','UPDATE'
could you help me please