|
-
January 25th, 2000, 07:43 PM
#1
Crystal Reports
DefFileCreated is an integer variable. The function returns a 0 or a 1. If the file is created successfully (and it is) it goes on and does the second part.
DefFileCreated = CreateFieldDefFile(mRecordset,
"C:\WorkingArea\ContactNotes.ttx", 1)
This second line gives me a runtime error '9' Subscript out of range.
Report.Database.SetDataSource mRecordset, 3, 1
-
January 26th, 2000, 12:09 PM
#2
Re: Crystal Reports
The above message is a post sent for me by a friend. I am trying to fill a CR report with dynamic data. There is no Field Definition File, or database for the report to attach to until run-time. Therefore, I am trying to set a ADODB.Recordset object as the data source at runtime. Can anyone tell me what I am doing wrong?
Old school... six lines a day and I'm done.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|