Search found 32 matches: custno

Return to advanced search

Re: Finding XBrowse current record

... If you omitted this xbrowse would display the default alias. If this is a bug, has it been corrected? If it is not a bug, then how can I get the CUSTNO of the currently selected record? There is no bug at all either in xbrowse or tdatabase. Hence, no need for correction. Please re-check your ...
by nageswaragunupudi
Sun Jul 04, 2021 11:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding XBrowse current record
Replies: 11
Views: 1390

Re: Finding XBrowse current record

Try with

Code: Select all  Expand view

oBrwCust:custno:Value
 


(adapt custno to the name of the desired column)
by AngelSalom
Sat Jul 03, 2021 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding XBrowse current record
Replies: 11
Views: 1390

Finding XBrowse current record

... in the indexed database, NOT the currently highlighted record in the xbrowseoBrwCust:bLDblClick:= {| oCustomers | msgInfo(oCustomers:custno), msgInfo(oCustomers:last) } I would assume that when you left-double-click on a record in an xBrowse it would become the "current" ...
by James Bott
Thu Jul 01, 2021 8:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding XBrowse current record
Replies: 11
Views: 1390

Re: check existing first and last on customer

... If it is not, then that is why the search is failing. Also, why do you even need to find if a customer's name already exists? If you use a CUSTNO then this doesn't matter--you can have ten customers with the same first and last names--they will each have a different CUSTNO. You just link ...
by James Bott
Tue Jun 15, 2021 3:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: check existing first and last on customer - RESOLVED !!!
Replies: 23
Views: 2501

Re: XBrowse & Edit Dialogs: Writing Portable code (Recommended)

... RETURN NIL ENDIF oCustomer:Load() cTitle := "Modify Customer" ENDIF define dialog ... REDEFINE GET oGet[1] VAR oCustomer:custNo ID 101 OF oDlg UPDATE WHEN .F. sample FUNCTION CreateCode( cDoc )   LOCAL oControl   LOCAL cDoc oControl := ...
by Silvio.Falconi
Fri Apr 05, 2019 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse & Edit Dialogs: Writing Portable code (Recommended)
Replies: 17
Views: 3655

Re: dbfs on Network : wich performance method?

... there is an error because I use an old release of customer not have the field ID but it make the same the index Index on "id" tag "custno" to customer as you can see on this picture https://i.postimg.cc/Y0Rhy96S/hhhh.jpg How it can happen ? Dear Enrico ( Emg) ...
by Silvio.Falconi
Tue Oct 30, 2018 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbfs on Network : wich performance method?
Replies: 26
Views: 5446

Re: Spirin's fastreport library

... Change for example "CUSTOMER" to "XXXXXXXX" (any text) as well as the names of the fields, for example "CUSTNO" by "Customer Number". I have ruled out the use of lib compatibility mode. of Sergey since I have seen that the SetWorkArea method ...
by AngelSalom
Wed Sep 12, 2018 12:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Spirin's fastreport library
Replies: 23
Views: 4175

Example Business Object (Customer)

... data (and saves it too) in the customer table. No PUBLICS or PRIVATES are used. To instanitate this object all you need one line of code and the CustNo. oCustomer:= TCustomer():New(cCustNo) That's it! Now you can query the object for any info it contains (which can include complex calculations ...
by James Bott
Wed Jun 28, 2017 6:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Example Business Object (Customer)
Replies: 32
Views: 8526

Re: Xbrowse a speed problem using SCOPE ?

... name fields which can create all kinds of problems. These are all very good reasons for always using ID numbers for primary keys. I would have a CUSTNO (or similar) in both files. And not allow users to change them. I am planning to do some speed tests with a DBSetRelation() & setScope() ...
by James Bott
Tue Mar 01, 2016 11:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse a speed problem using SCOPE ?
Replies: 30
Views: 9021

Re: dbseek

... a customer has 7 phones then you have to restructure the customer file. If you use a one-to-many relationship, you create a file with two fields, custno, and phone. You can have an unlimited number of phones for each customer. CUSTNO, PHONE 01111, 124-9999 01111, 124-9995 01112, 678-0000 In this ...
by James Bott
Sun Feb 01, 2015 5:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbseek
Replies: 10
Views: 2357

Re: Compare 2 DBF files

Richard, Hmm. I have questions. Are there two fields named CUSTNO and NO in both the cust and bill file? If so, is the CUSTNO relevant in some way, or do you just want to delete all the data in the NO field from Cust file for any NO data that exists in ...
by richard-service
Wed Jan 29, 2014 3:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compare 2 DBF files
Replies: 11
Views: 3687

Re: Compare 2 DBF files

Richard, Hmm. I have questions. Are there two fields named CUSTNO and NO in both the cust and bill file? If so, is the CUSTNO relevant in some way, or do you just want to delete all the data in the NO field from Cust file for any NO data that exists in ...
by James Bott
Tue Jan 28, 2014 5:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compare 2 DBF files
Replies: 11
Views: 3687

Gradient For Ordinary Button

... local oDlg local oLbx DEFINE DIALOG oDlg FROM 0, 0 TO 26, 79 ; TITLE "Print" @ 0.2, 21 LISTBOX oLbx FIELDS &FIL->custno,; &FIL->name, &FIL->area,; &FIL->agent; HEADERS "Account No", "Name", "Area", "Agent" ...
by harbourbcc
Fri Jun 12, 2009 2:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Gradient For Ordinary Button
Replies: 0
Views: 273

Re: To Antonio: ReadVar()

Here's a template example of possible usage: ------------------ ... ... REDEFINE GET oMYGet1 VAR CustNo ID 101 OF oDlg UPDATE VALID {|oGet|GENERALUDF(oGet)} REDEFINE GET oMyGet2 VAR PostCode ID 102 OF oDlg UPDATE VALID {|oGet|GENERALUDF(oGet)} REDEFINE GET oMyGet3 VAR ProductNo ...
by Colin Wisbey
Sat Jan 24, 2009 8:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Antonio: ReadVar()
Replies: 10
Views: 2471

I have created the following stored procedure which works but is just as slow as 32 seeks Any ideas Use iwscompa go IF OBJECT_ID ('usp_find_price') IS NOT NULL DROP PROCEDURE usp_find_price go CREATE PROCEDURE usp_find_price @mSite numeric(2), @mCustType varchar(10), @mCustNbr varchar(10), @mUniqNbr...
by Peterg
Tue May 20, 2008 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Any clever coders out there
Replies: 22
Views: 4741
Next

Return to advanced search