Search found 235 matches: bskip

Return to advanced search

Requirements for Connecting to MS SQL

... User" ; OF oDlg oLbx:bLogicLen = { || oSql:RecordCount } oLbx:bGoTop = { || oSql:MoveFirst() } oLbx:bGoBottom = { || oSql:MoveLast() } oLbx:bSkip = { | nSkip | Skipper( oSql, nSkip ) } oLbx:cAlias = "ARRAY1" ACTIVATE DIALOG oDlg ON INIT ( oDlg:SetControl( oLbx ), Sysrefresh() ) ...
by cdmmaui
Wed Jul 11, 2012 6:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Requirements for Connecting to MS SQL
Replies: 6
Views: 1439

Listbox via MS SQL

... "Add User" oLbx:bLogicLen = { || oSql:RecordCount } oLbx:bGoTop = { || oSql:MoveFirst() } oLbx:bGoBottom = { || oSql:MoveLast() } oLbx:bSkip = { | nSkip | Skipper( oSql, nSkip ) } oLbx:cAlias = "ARRAY1" ACTIVATE DIALOG oDlg ON INIT ( oDlg:SetControl( oLbx ), Sysrefresh() ) ...
by cdmmaui
Wed Jul 04, 2012 5:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listbox via MS SQL
Replies: 6
Views: 1761

Re: export TREPORT to Excel in Preview

... fine. My aim is to detect if datasoruce is a dbf or an Array. How can I detect is an array is the datasource of the Report?. I think I can check bSkip?. In a DBF is always nil. Best regards
by lucasdebeltran
Sun Apr 08, 2012 9:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: export TREPORT to Excel in Preview
Replies: 19
Views: 8060

Aproperties Tsay, Timage, tBtnbmp

... Letras / fondo Verde oBrw:SetArray ( oDlg:aControls ) oBrw:bGotop := { | | n := 1 } oBrw:bGoBottom := { | | n := EVAL ( oBrw:bLogicLen ) } oBrw:bSkip := { | nwant, nold | nold := n , n += nwant ,; n := MAX ( 1, MIN ( n, EVAL ( oBrw:bLogicLen ) ) ), n - nOld } oBrw:bLogicLen := { | | LEN ( oDlg:aControls ...
by J. Ernesto
Thu Feb 02, 2012 7:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Aproperties Tsay, Timage, tBtnbmp
Replies: 5
Views: 1193

Re: DOES ANYONE KNOWS THE ANSWER ?

Hunter,

First all the files must have fields that will allow you to link them, e.g. partNo. Then open all three files and either use relations or use the oRpt:bSkip codeblock to keep all the files in sync. I use the codeblock and database objects myself.

James
by James Bott
Fri Oct 28, 2011 7:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DOES ANYONE KNOWS THE ANSWER ?
Replies: 3
Views: 815

Re: xbrowse+tmysql Blank record

RAO, in xbrowse.prg in methos setmysql change: this -> DEFAULT ::bSkip := {| n | ::oMysql:Skip( n ) } and put this -> DEFAULT ::bSkip := { |n,x| x := ::oMySql:RecNo(), ; ::oMySql:GoTo( Max( 1, Min( ::oMySql:LastRec(), x + IfNil( n, 1 ) ) ) ), ; ::oMySql:RecNo() ...
by nageswaragunupudi
Sat Jul 09, 2011 4:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse+tmysql Blank record
Replies: 6
Views: 1071

Re: xbrowse+tmysql Blank record

RAO, in xbrowse.prg in methos setmysql change: this -> DEFAULT ::bSkip := {| n | ::oMysql:Skip( n ) } and put this -> DEFAULT ::bSkip := { |n,x| x := ::oMySql:RecNo(), ; ::oMySql:GoTo( Max( 1, Min( ::oMySql:LastRec(), x + IfNil( n, 1 ) ) ) ), ; ::oMySql:RecNo() ...
by Francisco Horta
Sat Jul 09, 2011 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse+tmysql Blank record
Replies: 6
Views: 1071

Re: xBrowse record en blanco

... := oServer:Query( cSelect ) DEFINE WINDOW oChild ; TITLE cTitle ; MDICHILD WITH OBJECT oBrw := TXBrowse():New(oChild) :SetMySQL( @oQry, .F. ) :bSkip := { | n | oQry:Skip( n ) } :lFooter := .T. :bKeyCount := { | | oQry:RecCount() } :CreateFromCode() END WITH OBJECT oChild :oClient := oBrw :SetControl( ...
by Francisco Horta
Thu May 26, 2011 3:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse record en blanco
Replies: 1
Views: 491

Re: xBrowse Tree (SKIPPER) urgent help

Dear Mr. James, Here's the xBrowse tree I wish to re-filter or by :bskip with condition http://i208.photobucket.com/albums/bb82/fraxzi/COA.png Say... I want to see items with only string 'Telephone'... user should only see items with that ...
by fraxzi
Tue Mar 22, 2011 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Tree (SKIPPER) urgent help
Replies: 13
Views: 4246

Re: xBrowse Tree (SKIPPER) urgent help

... otree .. the tree created was rubbish... it doesnt meet criteria. Well, I have to wonder, if filtering the database didn't work, then how is using bSkip going to solve the problem? I think perhaps that your filter was incorrect. You still need a working filter to use bSkip. Regards, James Dear ...
by fraxzi
Tue Mar 22, 2011 3:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Tree (SKIPPER) urgent help
Replies: 13
Views: 4246

Re: xBrowse Tree (SKIPPER) urgent help

... otree .. the tree created was rubbish... it doesnt meet criteria. Well, I have to wonder, if filtering the database didn't work, then how is using bSkip going to solve the problem? I think perhaps that your filter was incorrect. You still need a working filter to use bSkip. Regards, James
by James Bott
Tue Mar 22, 2011 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Tree (SKIPPER) urgent help
Replies: 13
Views: 4246

Re: xBrowse Tree

Dear All, MR. RAO,


Maybe a skipper to :bSkip ?? skip when :oTreeItem:Cargo <> cCondition?


Anyone with sample?


Kind Regards,
Frances
by fraxzi
Tue Mar 22, 2011 3:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Tree (SKIPPER) urgent help
Replies: 13
Views: 4246

Re: Pregunta sobre GROUP ON

... "nacionalidad" ):Value // Deberia ir aqui : GROUP ON oRsRpt:Fields( "dias" ):Value END REPORT if oRpt:lCreated oRpt:bSkip := { || ( nDesde++, oRs:MoveNext() ) } endif ACTIVATE REPORT oRpt WHILE nDesde <= nHasta o bien puedes hacerlo desde el ACTIVATE REPORT como ...
by Ramon Paredes
Tue Mar 08, 2011 4:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pregunta sobre GROUP ON
Replies: 6
Views: 1537

XBrowse + ADO

... ) UPDATE oLbx:bLogicLen := { || oRs:RecordCount } oLbx:bGoTop := { || oRs:MoveFirst() } oLbx:bGoBottom := { || oRs:MoveLast() } oLbx:bSkip := { | nSkip | Skipper( oRs, nSkip ) } oLbx:cAlias := "ARRAY" oDlgs:lHelpIcon := .f. ACTIVATE DIALOG oDlgs ............................................. ...
by ADutheil
Wed Feb 16, 2011 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse + ADO
Replies: 7
Views: 1718

Re: Counter in report.

oReport:bSkip := {|| nLine++ , ...... dbf->( DBSKIP() )} This has the same effect of using oRep:nCounter. In the Method Skip(), oRep:nCounter is incremented with every evaluation of oRep:bSkip. By having nLine++ in the skip ...
by nageswaragunupudi
Mon Feb 07, 2011 5:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Counter in report (revisited).
Replies: 18
Views: 2819
PreviousNext

Return to advanced search