Search found 437 matches: unique

Return to advanced search

Re: check existing first and last on customer

Silvio, >how can i do this check and see that the name entered is already in the archive? This is a classic problem when you are not using unique primary-keys. Primary-keys are one of the basic principles of relational-database programming. Another principle is to store each piece of data, ...
by James Bott
Mon Jun 14, 2021 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: check existing first and last on customer - RESOLVED !!!
Replies: 23
Views: 2669

Re: FWH 2103: XBrowse: oSortCbx

Marc Venken wrote:
Silvio.Falconi wrote:I make a test "all together" ( csortbox, search,multisel)


Sylvio, I wanted to make some test on this sample... Is it available ?


I create a unique test from

csortbox, search := xbsortcb.prg
multisel := xbmulsel.prg
by Silvio.Falconi
Mon Jun 07, 2021 10:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 2103: XBrowse: oSortCbx
Replies: 23
Views: 3077

Re: TDatabase Class

... ) // where fieldname is an actual fieldname. Does that work? Also try: MsgInfo(oDBF:nArea) Note that TDatabase creates it's own unique workareas which is not going to be 9 in this case. With database objects you never deal with workareas. Your error message: Error description: ...
by James Bott
Wed May 19, 2021 4:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase Class
Replies: 18
Views: 2194

Re: Speedtest CLIPPER vs. xHarbour - COMMIT

... reloading or may need to synchronize modifications, f.e. unlock. You can simulate it in many different ways, f.e. by skip(0). The 2-nd action is unique to dbcommit and it's not necessary for any synchronizations in simultaneous/concurrent/network access. The whole job here is sending information ...
by Antonio Linares
Fri Apr 30, 2021 12:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speedtest CLIPPER vs. xHarbour - COMMIT
Replies: 20
Views: 5871

Re: Marc : Conversion process and questions about it

... oCustomer object (single customer not a table) as a variable of the invoice class. Note also that the database objects handle finding and using a unique workarea so you never have to deal with workareas again. oInvoice:= TInvoice():new(cInvoice:ID) MsgInfo( oInvoice:oCustomer:name ) To do this ...
by James Bott
Mon Mar 15, 2021 6:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Marc : Conversion process and questions about it
Replies: 30
Views: 3713

Re: FW MariaDB/MySql native

... an error (in my case, because the code already exists). In this case, the values ​​of the oRs variable are lost. The code field has created a unique index on the server. I could carry out this check, but I prefer to control it more securely at the database level, because the application can ...
by Mike Serra
Mon Jan 25, 2021 8:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW MariaDB/MySql native
Replies: 8
Views: 1440

FW MariaDB/MySql native

... A priori, y si no da ningún error el servidor, funciona perfectamente. El problema está en que la tabla que estoy manipulando, tiene un indice UNIQUE en el campo Codigo, con lo cual si intento crear un registro con un código existente, me da error, pero el problema está en que es como si el ...
by Mike Serra
Sat Jan 02, 2021 6:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FW MariaDB/MySql native
Replies: 0
Views: 351

FW MariaDB/MySql native

... the record. oRs:Save()  If the server does not give any errors, it works perfectly. The problem is that the table I am manipulating has a UNIQUE index in the "Codigo" field, so if I try to create a record with an existing code, it gives me an error, but the problem is that it ...
by Mike Serra
Wed Dec 30, 2020 9:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW MariaDB/MySql native
Replies: 8
Views: 1440

Re: Printer class question

... allows you to decide which form(s) to print The data for that specific job is then applied to each form and it outputs them. Each form can have a unique design based on the needs and requirements of the client, or even the government. Tim Tim, or example, on any workorder, there are 3 options: ...
by Silvio.Falconi
Fri Oct 23, 2020 3:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer class question - RESOLVED
Replies: 41
Views: 3707

Re: Printer class question

... allows you to decide which form(s) to print The data for that specific job is then applied to each form and it outputs them. Each form can have a unique design based on the needs and requirements of the client, or even the government. Tim
by TimStone
Wed Oct 21, 2020 11:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer class question - RESOLVED
Replies: 41
Views: 3707

Re: XBrowse and nomodal dialogs

You can also avoid these kinds of problems by using database objects. Every database object creates its own unique workarea and handles it internally. Thus you never have to deal with workareas.
by James Bott
Mon Oct 12, 2020 6:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse and nomodal dialogs
Replies: 23
Views: 1812

Re: En RED Local generar un indice CDX en PC Local

... ; [ALL] ; [NEXT <nNumber>] ; [RECORD <nRecNo>] ; [REST] ; [EVAL <bBlock>] ; [EVERY <nInterval>] ; [UNIQUE] ; [ASCENDING|DESCENDING] ; [USECURRENT] ; [ADDITIVE] ; [CUSTOM] ; [NOOPTIMIZE] ; [TEMPORARY] ; [USEFILTER] ; [EXCLUSIVE]
by carlos vargas
Wed Sep 02, 2020 5:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: En RED Local generar un indice CDX en PC Local
Replies: 1
Views: 295

Re: Quiero comenzar con sqlite

Thanks Mr. Rao
Two questions
1.- oRs:ID return 'the object not exist'
oRs:Fields( 'ID' ):Value is unique form?
2.- If I need Find/Seek; what can I do the seek?
Or tell me where read

Many thanks, again
by MarioG
Thu Aug 27, 2020 4:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Quiero comenzar con sqlite
Replies: 34
Views: 5027

Re: error handler acting odd

... there is no way to retrieve the used function from the codeBlock. Anyhow, you can use the function __vmItemId( codeBlock ) to check the codeblock unique ID: function Main()   local bErrorBlock := { || nil }      ? __vmItemId( bErrorBlock )      ? __vmItemId( ErrorBlock() ...
by Antonio Linares
Tue Jul 21, 2020 3:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: error handler acting odd
Replies: 3
Views: 401

Re: Mysql table indexes

Do you mean we don't need index other than a primary key? a) We need to create unique indexes for enforcing unique constraint for a column or set of columns. If we want to create unique constraint to a single column, we can either create while creating the table ...
by nageswaragunupudi
Thu May 07, 2020 1:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mysql table indexes
Replies: 9
Views: 1527
PreviousNext

Return to advanced search