Search found 745 matches: null

Return to advanced search

ADO Como se Pregunta si una Columna es Nula (Solicionado)

COmo se pregunta si un coloumna es Nula Null
Tengo entendido que en xharbour equivale a Nill

vara := iif(oDatos:Fields("nombre_estilo"):Value = Nill," ",oDatos:Fields("nombre_estilo"):Value)

Esto eata bien


Tengo FWH 8.03 y xharbour 21/August/2008 1.1.0 Rev 6195
by ruben Dario
Tue Mar 23, 2010 9:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADO Como se Pregunta si una Columna es Nula (Solicionado)
Replies: 4
Views: 833

Re: Con Xbrowse si es Campo Null No me genere Error

If you are using ADO, NULL values are returned as NIL. XBrowse shows NIL values properly. For reports, instead of using Transform(...), please use DATA oRs:Fields("..."):Value PICTURE "999.99" El Problema que Tengo ...
by ruben Dario
Tue Mar 23, 2010 7:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Con Xbrowse si es Campo Null No me genere Error (Solucionado
Replies: 3
Views: 669

Re: Con Xbrowse si es Campo Null No me genere Error

Self contained sample showing handling of NULL values by XBrowse and XBrowse's Report method: #include 'fivewin.ch'#include 'adodef.ch'    // \fwh\include folder#include 'xbrowse.ch'function Main()   local oCn, oRs   local oDlg, oBrw  ...
by nageswaragunupudi
Tue Mar 23, 2010 3:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Con Xbrowse si es Campo Null No me genere Error (Solucionado
Replies: 3
Views: 669

Re: Con Xbrowse si es Campo Null No me genere Error

If you are using ADO, NULL values are returned as NIL.
XBrowse shows NIL values properly.

For reports, instead of using Transform(...), please use DATA oRs:Fields("..."):Value PICTURE "999.99"
by nageswaragunupudi
Tue Mar 23, 2010 2:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Con Xbrowse si es Campo Null No me genere Error (Solucionado
Replies: 3
Views: 669

Con Xbrowse si es Campo Null No me genere Error (Solucionado

Cuando hago una consulta a una base de datos Mysql Usando Sentencias Select, cuando Utilizo Xbrowse o Reporte cuando una de las columnas es Null , me genera un error y me saca del programa. cQte3 := "SELECT A1.codcia,A1.tipdoc,A1.codprov,A1.codprod,A1.consec,A1.simbolo,A1.referencia,A1.largo,"+;  ...
by ruben Dario
Tue Mar 23, 2010 2:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Con Xbrowse si es Campo Null No me genere Error (Solucionado
Replies: 3
Views: 669

Re: Record difference of two table

... If our SQL does not support MINUS or EXCEPT, we can always use 'NOT EXISTS' or 'NOT IN' in any SQL. Also we can use 'OUTER JOIN' and filter for NULL values. SELECT *FROM suppliersWHERE not exists (select * from orders Where suppliers.supplier_id = orders.supplier_id); or SELECT EmpNum, ...
by nageswaragunupudi
Sat Feb 27, 2010 2:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Record difference of two table
Replies: 7
Views: 1326

Re: Antonio - Ayuda compilar con Windows 7 -

... 491: Expression syntax Error E2257 c:\harbour\include\hbdefs.h 523: , expected Error E2451 obj\ALERT.c 87: Undefined symbol 'NULL' Error E2141 obj\ALERT.c 87: Declaration syntax error Error E2190 obj\ALERT.c 87: Unexpected } Error E2190 obj\ALERT.c 87: Unexpected } Error E2040 ...
by jll-fwh
Sat Feb 20, 2010 9:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Antonio - Ayuda compilar con Windows 7 -
Replies: 4
Views: 1292

Re: Timers and loops

... pBlock is a codeblock or an array that contains the task. * * nMillisecs is the number of milliseconds after which the task will be executed. * If NULL is passed the default is set to 0 which means that the task * will be executed at every time * * bActive defines if the task is active or not. ...
by Enrico Maria Giordano
Fri Feb 19, 2010 9:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Timers and loops
Replies: 52
Views: 12127

Re: Argument error: MOVEFIRST

I've found that if I call BROWSE() with argument bNew := { || add1record() }
where add1recors is :

append blank
fieldput(1, "" )

all work fine.

In other words: if the first field od the new record is not null , there is no error.
:?:

best regards
Wzaf
by wzaf
Sun Jan 24, 2010 4:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Argument error: MOVEFIRST
Replies: 1
Views: 450

RELEASE ALL LIKE Does not work !!!

When I run the program below I have different results depending on the version I use xHarbour With xHarbour 1.1.0 appears NULL in two commands " ? cVar " . With xHarbour 1.2.1 a NULL is displayed and then 10. The RELEASE ALL did not erase the contents of the variable! #include ...
by vilian
Wed Jan 20, 2010 5:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RELEASE ALL LIKE Does not work !!!
Replies: 13
Views: 2621

Re: Bug in Transparent Group

Rao, Class TGroup uses a NULL brush for TRANSPARENT mode and the NULL brush does not work fine under all circunstances. Please use this workaround which works better: #include 'fivewin.ch'function Main()   local oWnd, ...
by Antonio Linares
Sat Dec 26, 2009 9:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in Transparent Group
Replies: 20
Views: 3814

Re: MySQL desde Linux

... char *user = "root"; char *password = "cdi"; char *database = "cdibussev"; conn = mysql_init(NULL); /* Connect to database */ if (!mysql_real_connect(conn, server, user, password, database, 0, NULL, 0)) { fprintf(stderr, "%s\n", mysql_error(conn)); ...
by softruz
Wed Dec 16, 2009 8:33 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: MySQL desde Linux
Replies: 10
Views: 4609

C para Sr. Antonio

... (short int Dispositivo, short int Opcoes, char *Arquivo, short int Extensao, long Timeout, void *CallBack, void *Instancia); static void *pLib = NULL; static fSWEDA_CapturarDispositivo SWEDA_CapturarDispositivo = NULL; /******************************************************************************/ ...
by MGA
Tue Dec 15, 2009 1:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: C para Sr. Antonio
Replies: 2
Views: 687

Re: ShellExecute

... lpParameters [in] If lpFile specifies an executable file, this parameter is a pointer to a null-terminated string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to ...
by Patrizio
Thu Dec 10, 2009 11:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ShellExecute
Replies: 7
Views: 1704

Re: Changing directory in tFtp

Antonio,

I get the "oFTP:hFTP is null" message, yet i can access the ftp site through i.e. fine

Regards,

Pete
by PeterHarmes
Mon Dec 07, 2009 12:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Changing directory in tFtp
Replies: 7
Views: 1262
PreviousNext

Return to advanced search