Search found 34 matches: ctest

Return to advanced search

Re: HBMK2 Problem linking

... something wrong but now the sample is running fine! it returned the same query: "SELECT * FROM states AS st LEFT JOIN teste AS tes ON st.ctest=tes.ctest WHERE tes.data >= '2019-06-16' AND tes.calmox='01' AND tes.situacao <> 'I' ORDER BY tes.data DESC LIMIT 5" but I'm still ...
by ricbarraes
Tue Jun 16, 2020 1:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HBMK2 Problem linking
Replies: 49
Views: 5257

Re: HBMK2 Problem linking

... Main()   local oCn, oRs   local cSql, nAt := 0   cSql  := "SELECT * FROM states AS st LEFT JOIN teste AS tes ON st.ctest=tes.ctest WHERE tes.data >= '2019-06-16' AND tes.calmox='01' AND tes.situacao <> 'I' ORDER BY tes.data DESC LIMIT 5"   HB_AtX( ...
by ricbarraes
Mon Jun 15, 2020 9:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HBMK2 Problem linking
Replies: 49
Views: 5257

Re: Macro

That was a typo, I didn't actually have the quotes around cTest:

IF EMPTY(cTest) is what I actually have.

I'm working on switching over to Harbour to try out the scripting features but I'm getting compile errors (started another post regarding this).
by Jeff Barnes
Sat Nov 18, 2017 12:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Macro
Replies: 2
Views: 609

Re: Valid y When

... KeyBoardEvents() asignarle al ENTER que funcionará como el TAB, Saludos #include "FiveTouch.ch" function Main() local oDlg, oGet1, cTest local oBtnOk, oBtnCancel DEFINE DIALOG oDlg @ 20, 20 GET oGet1 VAR cTest OF oDlg SIZE 100, 20 oGet1:connect( QEvent_KeyPress , { |e| KeyBoardEvents( ...
by jtscalpe
Tue Sep 12, 2017 3:29 pm
 
Forum: FiveTouch
Topic: Valid y When
Replies: 5
Views: 1728

Re: dialogo o ventana pantalla completa

Leandro, algo assim: function Main() local oDlg, oIco, cTest := "Hello world! " DEFINE ICON oIco FILE "..\icons\fivewin.ico" DEFINE DIALOG oDlg TITLE "I am a DialogBox" COLOR "W+/B" ; ICON oIco @ 1, 3 GET cTest ...
by MGA
Fri Jan 29, 2016 3:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: dialogo o ventana pantalla completa
Replies: 12
Views: 1234

Re: GetBtn.prg Sample

Enrico

Nice and very Elegant solution ..

Thank You!
Rick

just curious .. the .ppo resolved (MsgInfo( "click" ),oTest1:PostMsg(WM_SETFOCUS)) to
(MsgInfo( "click" ),oTest1:PostMsg(7)) },, "cTest", )
by Rick Lipkin
Tue May 06, 2014 5:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetBtn.prg Sample
Replies: 9
Views: 1190

Re: TGET Ignore VALID

Please try it this way:

@ 1, 3 GET oGet VAR cTest picture "@!" valid .f.

odlg:bkeydown:={|nkey| if(nkey==VK_F3 .and. oGet:lValid(),oBut[1]:click(),)}
by Antonio Linares
Thu Dec 26, 2013 4:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TGET Ignore VALID
Replies: 11
Views: 1810

TGET Ignore VALID

Sr. Antonio, código abaixo demonstra que é possível ignorar o VALID de um GET pressionando VK_F3. local oDlg, cTest := SPACE(20), oBut[2] DEFINE DIALOG oDlg TITLE "VK_F3 ignore VALID" odlg:bkeydown:={|nkey| if(nkey==VK_F3,oBut[1]:click(),)} @ 1, 3 GET cTest picture "@!" ...
by MGA
Tue Dec 24, 2013 11:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TGET Ignore VALID
Replies: 11
Views: 1810

Re: TLayout Error

... WINDOW oWnd maximized return nil /*********************************************************/ function teste() /* */ local oBrowse, oGet[2], cTest:=SPACE(10),cTest2:=space(10) local hLays := {=>} local hButtons := {=>} local hBrowses := {=>} local oFld USE CUSTOMER NEW SHARED ALIAS ...
by MGA
Thu Oct 03, 2013 6:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TLayout Error
Replies: 9
Views: 2668

Re: Problem with TGET class in FWH 13.08

Enrico, If you run the testedi2.prg that I published here, and change the variable this way: local oDlg, cTest := "Hello world " then if you press end, it goes to the end of the string (including spaces) and we do nothing with the keyboard there. In fact, I have declared ...
by Antonio Linares
Tue Oct 01, 2013 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with TGET class in FWH 13.08
Replies: 26
Views: 5530

Re: FiveWeb question

... for Fiveweb. After edit value of tget , can't display new value. Anything I miss ? #include "FiveWeb.ch" function Main() local oDlg, cTEST:="TEST1234 ",oGET DEFINE DIALOG oDlg TITLE "Hello FiveWeb" SIZE 600, 400 @ 20, 20 GET oGET VAR cTEST OF oDlg SIZE 300, 40 ...
by kokookao2007
Sat May 18, 2013 2:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveWeb question
Replies: 15
Views: 3995

Test for a SQL Field name

... if the column name I am looking for does not exist ? I have thought about opening a recordset and with a try catch test if a value exists ?? Try cTest := oRs:Fields("FieldLookingFor"):Value Catch // failed .. so add the column with the Alter table command End try The above is not very ...
by Rick Lipkin
Thu Jan 05, 2012 5:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test for a SQL Field name
Replies: 4
Views: 1034

How to define a parameter

Can someone help me to pass the parameter to the messageBox. I would like to show cTest inside the messagebox. Thanks in advance Otto #include "FWCE.ch"//----------------------------------------------------------------------------//function Main()  ...
by Otto
Sun Jan 02, 2011 10:08 pm
 
Forum: FiveWin for Pocket PC
Topic: How to define a parameter
Replies: 1
Views: 509

Re: Border around GET

... THEN TRY WITH XPLOOK.RC DEFINE DIALOG oDlg SIZE 400,200 TITLE "I am a DialogBox" @ 2, 3 GET oGet var cTest OF oDlg NOBORDER @ 6, 3 GET oGet var cTest OF oDlg NOBORDER ACTIVATE DIALOG oDlg CENTERED BUT THIS IS ONLY AN small idea .... Dear Silvio, Thank ...
by fraxzi
Wed May 19, 2010 5:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Border around GET
Replies: 46
Views: 12487

Re: Border around GET

... THEN TRY WITH XPLOOK.RC DEFINE DIALOG oDlg SIZE 400,200 TITLE "I am a DialogBox" @ 2, 3 GET oGet var cTest OF oDlg NOBORDER @ 6, 3 GET oGet var cTest OF oDlg NOBORDER ACTIVATE DIALOG oDlg CENTERED BUT THIS IS ONLY AN small idea ....
by Silvio
Fri May 14, 2010 8:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Border around GET
Replies: 46
Views: 12487
Next

Return to advanced search