cnavarro wrote:This expression works?
- Code: Select all Expand view RUN
oSheet:Cells( 1, 1 ):Value = CTOD( " / / " )
No.
EMG
cnavarro wrote:This expression works?
- Code: Select all Expand view RUN
oSheet:Cells( 1, 1 ):Value = CTOD( " / / " )
Enrico Maria Giordano wrote:Antonio,Antonio Linares wrote:When you use an empty date with xHarbour what value do you get in the Excel cell ?
NIL
EMG
? oSheet:Cells( 1, 1 ):Value, VALTYPE( oSheet:Cells( 1, 1 ):Value )
NIL U
Antonio Linares wrote:I meant what do you see in Excel. What is shown is Excel ?
Not the value that you get from Harbour.
Antonio Linares wrote:have you tried this ?
oSheet:Cells( 1, 1 ):Value = nil
oSheet:Range( "A:A" ):Set( "NumberFormat", '00/00/00' ) // field mask
// sets headers
oSheet:Cells( 1, 1 ):value := "Date"
...
...
...
Do while ...
oSheet:Cells( nRow, 1 ):Value := ctod("")
...
....
nRow++
skip
Enddo
Antonio Linares wrote:But this worked fine, right ?
oSheet:Cells( 1, 1 ):Value = nil
oSheet:Cells( 1, 1 ):Value = ""
oSheet:Cells( 1, 1 ):Value = 0
oSheet:Cells( 1, 1 ):Value = .F.
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 25 guests