Search found 748 matches: null

Return to advanced search

Re: How to write NULL to a Sql table

Rick Lipkin wrote:oRsFac:Fields("permnum"):Value := if(i->permnum = 0, '', i->permnum )


Try

Code: Select all  Expand view
oRsFac:Fields("permnum"):Value   := if(i->permnum = 0, , i->permnum )


EMG
by Enrico Maria Giordano
Tue Apr 21, 2009 7:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to write NULL to a Sql table
Replies: 36
Views: 6479

Re: How to write NULL to a Sql table

To All YES .. all the fields are marked to accept 'null' .. for some reason on SQL Server the in line if() does not seem to want to accept '' as null ( for me ) .. I have in the mean time used a regular if statement and only append a field if it is ...
by Rick Lipkin
Tue Apr 21, 2009 3:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to write NULL to a Sql table
Replies: 36
Views: 6479

Re: How to write NULL to a Sql table

Rick: With this sample I have no problem LOCAL nValor    := 10.50// The field "UNI_USU" is VARCHAR(10) NOT NULL TypeoRsUni:Fields("UNI_USU"):Value := IIF(nValor = 0.00,'',nValor)oRsUni:UpDate()  Neither with this an other example I have ...
by Armando
Tue Apr 21, 2009 2:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to write NULL to a Sql table
Replies: 36
Views: 6479

Re: How to write NULL to a Sql table

Rick:

A silly question

Do you have defined the field to accept NULL?

Regards
by Armando
Tue Apr 21, 2009 2:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to write NULL to a Sql table
Replies: 36
Views: 6479

How to write NULL to a Sql table

To All How do I write NULL to a numeric or a nvarchar field on a Sql Server table .. when I do this : oRsFac:Fields("permnum"):Value := if(i->permnum = 0, '', i->permnum ) "permnum" is a nvarchar(255) and i->permnum ...
by Rick Lipkin
Tue Apr 21, 2009 1:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to write NULL to a Sql table
Replies: 36
Views: 6479

Pregunta sobre el BRUSH

... PIXEL MDI; TITLE "Sistema ; MENU BuildMenu( ); COLOR "W+/B" ICON oIco DEFINE BRUSH oBrush99 NAME "logo2" // STYLE NULL SET BRUSH OF oWnd:oWNDCLIENT TO oBrush99 . ... .. ACTIVATE WINDOW oWnd
by ruben Dario
Mon Apr 20, 2009 9:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pregunta sobre el BRUSH
Replies: 2
Views: 495

Re: Alpha-Blended-BMP => the easy way

do you try with LOCAL oBrush := TBrush():New("NULL",,,) @ 320, 15 BITMAP oApp:oLogoBmp FILENAME ".\bitmaps\LOGOSYST2.BMP" NOBORDER PIXEL OF oApp():oDlg oApp:oLogoBmp:nClrPane := GetSysColor(3) oApp:oLogoBmp:lTransparent := .t. ...
by Silvio
Thu Mar 26, 2009 12:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Alpha-Blended-BMP => the easy way
Replies: 19
Views: 8215

Re: Xbrowse with Ads

... := oBrowFont:nHeight + 12 END fieldname is 'podate', declared in Ads 8.5 as: Data Type : date Index : no Minimum Value Maximum Value Default Value Null Valid : yes Failed Validation Message Description Hope this helps, ryugarai
by ryugarai27
Thu Mar 26, 2009 4:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse with Ads
Replies: 5
Views: 1105

Re: XBROWSE : Error in method Delrepos

... DBFILTER() returns the filter condition defined in the current work area as a character string. If no FILTER has been SET, DBFILTER() returns a null string ("").  elseif ! Empty( cFilter := ( ::cAlias )->( dbFilter() ) )            bFilter  := &( ...
by Otto
Wed Mar 11, 2009 8:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : Error in method Delrepos
Replies: 22
Views: 3914

GPRS No disconnect

... // OK . . . . //para desconectar: GPRSRELEASE(hGprs) // No disconecta // But no disconnect why? HB_FUNC (GPRSRELEASE) { HANDLE hCon= NULL; ConnMgrReleaseConnection( ( HANDLE ) hb_parnl( 1 ),2); }
by rasptty
Wed Mar 11, 2009 12:31 am
 
Forum: FiveWin for Pocket PC
Topic: GPRS No disconnect
Replies: 7
Views: 1257

Re: Erroneous conversion type ADO->boolean to xBrowse->logical

Julio:

No, is BIT type, this is the definition

"PRO_CAN BIT NOT NULL COMMENT 'Cancelado ?'," +;

Regards
by Armando
Mon Feb 09, 2009 6:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Erroneous conversion type ADO->boolean to xBrowse->logical
Replies: 15
Views: 3081

Re: Problema GPF

... DEFINE FONT oFont NAME "Roman" SIZE 22, 32 DEFINE FONT oFont1 NAME "Roman" SIZE 15, 20 DEFINE BRUSH oBrush STYLE NULL DEFINE WINDOW oWnd TITLE "Wcall2009 Ver. 1.0"; ICON "cd-10.ico" BRUSH oBrush DEFINE BUTTONBAR obar 3D OF oWnd SIZE 37,42 DEFINE ...
by ik1mtt
Sat Feb 07, 2009 6:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema GPF
Replies: 10
Views: 2155

Error With SaveAsRtf()

hi, When I execute " pdescricao: = oRich: SaveAsRTF () " the following error is occurring: xb_free called with null to pointer DEFINE DIALOG oDlg RESOURCE "SAC170IA" oRich := TRichEdit():Redefine( 103, { || "" }, oDlg ) oRich:lHighLight = .f. ...
by vilian
Wed Feb 04, 2009 12:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error With SaveAsRtf()
Replies: 8
Views: 1145

Compile Questions.

... 491: Expression syntax Error E2257 c:\Harbour\INCLUDE\hbdefs.h 523: , expected Error E2451 main.c 21: Undefined symbol 'NULL' Error E2141 main.c 21: Declaration syntax error Error E2190 main.c 21: Unexpected } Error E2190 main.c 21: Unexpected } Error E2040 main.c 21: ...
by MichaelMo
Sun Feb 01, 2009 5:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compile Questions.
Replies: 5
Views: 1160

Re: Generic TxBrowse()

... ADDR.OWNER_EID = FAC.LOCAL_FACIL_EID " cSQL += "AND ADDR.ADDRESS_TYPE_CODE = 'BUSINESS' " cSQL += "AND ADDR.STOP_DATE IS NULL " cSQL += "AND STANDARDTASKS.GETNAME( FAC.TANK_OWNER_EID,'NO_NUM' )LIKE '"+cFIND+"%'order by owner" I get the first column ...
by Rick Lipkin
Tue Jan 27, 2009 2:55 pm
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: Generic TxBrowse()
Replies: 5
Views: 2008
PreviousNext

Return to advanced search