diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2003-04-30 07:26:52 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2003-04-30 07:26:52 +0000 |
commit | 14a4782ef890335d7a1d42990837ccb3588ec55d (patch) | |
tree | 42c58ad6d8be31fb65f221c22e99cef6ecc08883 /wizards/com/sun/star/wizards | |
parent | a2006fbdb2a9b73ea5d74cc0c83077f9446f8e52 (diff) |
INTEGRATION: CWS beta2regression01 (1.23.6); FILE MERGED
2003/04/28 10:15:16 bc 1.23.6.1: #109131# queried if CurRecordTable is null
Diffstat (limited to 'wizards/com/sun/star/wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/report/Dataimport.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/wizards/com/sun/star/wizards/report/Dataimport.java b/wizards/com/sun/star/wizards/report/Dataimport.java index 5dd3ee5bdf7b..755815691f87 100644 --- a/wizards/com/sun/star/wizards/report/Dataimport.java +++ b/wizards/com/sun/star/wizards/report/Dataimport.java @@ -2,9 +2,9 @@ * * $RCSfile: Dataimport.java,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: rt $ $Date: 2003-04-24 15:44:20 $ + * last change: $Author: rt $ $Date: 2003-04-30 08:26:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -313,12 +313,9 @@ public class Dataimport extends ReportWizard{ sMsgQueryCreationImpossible = Tools.replaceSubString(sMsgQueryCreationImpossible, CurReportDocument.CurDBMetaData.Command, "<STATEMENT>"); bgetConnection = CurReportDocument.CurDBMetaData.getConnection(sMsgNoConnection, sMsgConnectionImpossible); if (bgetConnection){ - boolean bexecute = CurReportDocument.CurDBMetaData.executeCommand(sMsgQueryCreationImpossible + (char) 13 + sMsgEndAutopilot); - if (bexecute == true){ - CurReportDocument.CurDBMetaData.initializeFields(CurReportDocument.CurDBMetaData.FieldNames, false); + boolean bexecute = CurReportDocument.CurDBMetaData.executeCommand(sMsgQueryCreationImpossible + (char) 13 + sMsgEndAutopilot, true); + if (bexecute == true) CurReportDocument.getallDBColumns(); - } - return bexecute; } else |