Bug 80425

Summary: BASIC: DateField properties
Product: LibreOffice Reporter: menes3llobis
Component: BASICAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: menes3llobis
Version: 4.1.6.2 release   
Hardware: Other   
OS: Windows (All)   
Whiteboard: BSA
i915 platform: i915 features:
Attachments: image error

Description menes3llobis 2014-06-23 19:59:28 UTC
Created attachment 101609 [details]
image error

Problem description: When I launch the dialog from the spreadsheet, where there is the DataField with the preset date the error occurs

Runtime Error basic object variable not set

with the following line highlighted:

DataOdierna.Date = CDateToIso(Now())

DataOdierna.Date the object is correctly stated at the beginning of the macro

Sub ShowScadenze()
...
Dim DataOdierna As Object
...

and the dialogue is properly declared at the beginning of the module

PUBLIC dlgScadenze As Object

thanks in advance for any solutions
              
Operating System: Windows 7
Version: 4.1.6.2 release
Comment 1 menes3llobis 2014-07-10 20:48:40 UTC
see https://bugs.freedesktop.org/show_bug.cgi?id=68751 for the solution
Comment 2 menes3llobis 2014-07-10 20:49:26 UTC
(In reply to comment #1)
> see https://bugs.freedesktop.org/show_bug.cgi?id=68751 for the solution
Comment 3 menes3llobis 2014-07-10 20:50:48 UTC

*** This bug has been marked as a duplicate of bug 68751 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.