|
|
|
Crystal Report и ошибка Overflow
|
|||
|---|---|---|---|
|
#18+
Добрый день. Есть проблема с кристалом. Помогите кто сталкивался с таким. Есть проэкт на vb6+cr8.5, источник для отчета ttx. Так вот на 2000 и хр работает прекрасно, а на 98 вибрасывает ошибку overflow. Вот мой код: On Error GoTo ErrorHandler Dim strConnect As String strConnect = frmLogin.strConnect.Text Dim m_query As String Dim crystal As CRAXDRT.Application Dim Report As CRAXDRT.Report Set crystal = New CRAXDRT.Application Set adoConnect = New ADODB.Connection adoConnect.Open strConnect Dim record As Recordset Set record = New Recordset record.ActiveConnection = adoConnect record.Open "exec asp_proc '" + var + "'" If record.EOF <> True Then Set Report = crystal.OpenReport(App.Path & "\reports\report.rpt") Report.DiscardSavedData Report.Database.SetDataSource record 'PrintCrystalReport.Show 'PrintCrystalReport.ZOrder PrintCrystalReport.CRViewer1.ReportSource = Report PrintCrystalReport.CRViewer1.ViewReport Do While PrintCrystalReport.CRViewer1.IsBusy DoEvents Loop PrintCrystalReport.CRViewer1.Zoom 94 End If record.Close Set record = Nothing adoConnect.Close Set adoConnect = Nothing ErrorHandler: If Not record Is Nothing Then Set record = Nothing End If If Not adoConnect Is Nothing Then If adoConnect.State = adStateOpen Then adoConnect.Close End If Set adoConnect = Nothing If Err <> 0 Then MsgBox Err.Description, vbCritical, Err.Source End If ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.02.2005, 08:54:11 |
|
||
|
Crystal Report и ошибка Overflow
|
|||
|---|---|---|---|
|
#18+
Решил, проблема была в притере, точнее в драйверах. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.02.2005, 12:20:54 |
|
||
|
|

start [/forum/topic.php?fid=60&gotonew=1&tid=2168208]: |
0ms |
get settings: |
8ms |
get forum list: |
21ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
82ms |
get topic data: |
13ms |
get first new msg: |
8ms |
get forum data: |
3ms |
get page messages: |
44ms |
get tp. blocked users: |
2ms |
| others: | 236ms |
| total: | 425ms |

| 0 / 0 |
