Search found 32 matches: incrementing

Return to advanced search

Re: Create help system with F1

chatGPT proposal: Topic ID: A unique identifier for each help topic. This field can be an auto-incrementing numeric value or a GUID (Globally Unique Identifier) that serves as a primary key for the table. Topic Title: The title or heading of the help topic. This field ...
by Antonio Linares
Tue Jul 11, 2023 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create help system with F1
Replies: 15
Views: 867

Re: Problem with tdatabase

You need to use relational databases like this:

ITEMS.DBF
ITEMID <---primary key (auto incrementing)
DESCRIPTION
CATAGORYID
BRANDID

CATAGORY.DBF
CATAGORYID <--- primary key (auto incrementing)
CATAGORYNAME

BRAND.DBF
BRANDID <--- primary key (auto incrementing)
BRANDNAME
by James Bott
Sat Dec 18, 2021 8:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with tdatabase
Replies: 14
Views: 1841

Re: trying with tdatabase

... to write, the better. Less chance of errors, faster, and easier to read. If you use one of the above, you don't have to write any code to get auto-incrementing primary-key values. James NOT RUN TAUTOINCREMENTAL I NOT SEE SYSFILE:DBF WHERE IS the FILE Sysfile.dbf you se eit ? where https://i.postimg.cc/L6KGd5vm/gggg.png
by Silvio.Falconi
Tue Jan 29, 2019 7:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: trying with tdatabase
Replies: 34
Views: 4794

Re: trying with tdatabase

... to write, the better. Less chance of errors, faster, and easier to read. If you use one of the above, you don't have to write any code to get auto-incrementing primary-key values.
by James Bott
Mon Jan 28, 2019 7:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: trying with tdatabase
Replies: 34
Views: 4794

Re: New field type ?

... issues or potential issues. I may take another look at it myself, since you have pointed out that you can APPEND FROM without getting automatic incrementing. That was a show-stopper for me before I knew how it worked. James
by James Bott
Mon Oct 29, 2018 4:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New field type ?
Replies: 17
Views: 3068

Re: New field type ?

... database, or IDs out of sync. Not possible. These RDDs are very reliable. You still can't reuse deleted records, though. I do agree that auto-incrementing ID's is very useful, in fact indispensable, and I have always used my own system of doing this. And since I can replace the ID field, I ...
by nageswaragunupudi
Mon Oct 29, 2018 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New field type ?
Replies: 17
Views: 3068

Re: New field type ?

... could APPEND FROM duplicate IDs into an existing database, or IDs out of sync. You still can't reuse deleted records, though. I do agree that auto-incrementing ID's is very useful, in fact indispensable, and I have always used my own system of doing this. And since I can replace the ID field, I ...
by James Bott
Mon Oct 29, 2018 2:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New field type ?
Replies: 17
Views: 3068

Re: New field type ?

As I mentioned, if you use it you cannot reuse deleted records because the autoincrementing field cannot be changed. Also, if you need to change the file format, you can't just export it, change the database structure, then import that data again because the new ...
by James Bott
Sun Oct 28, 2018 7:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New field type ?
Replies: 17
Views: 3068

Re: New field type ?

... What is exactly the problem with this extended type. This week I was reading about this and I was thinking in use DBF with this + type. Auto-Incrementing is normal that can not be changed. Another feature that I am thinking is about the PASSWORD to protected the dbf. Do you think that is ...
by Lailton
Sun Oct 28, 2018 12:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New field type ?
Replies: 17
Views: 3068

Re: New field type ?

Silvio,

I recommend that you not use the + type (auto incrementing) due to some issues. One problem is that you can't reuse deleted records (because the auto-incrementing field cannot be changed). Do a forum search for "auto incrementing" for more information.

James
by James Bott
Fri Oct 26, 2018 3:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New field type ?
Replies: 17
Views: 3068

New FTDN April/Abril 2018 (FWH 18.04)

... * TGET: - Extension to SPINNER clause. SPINNER BUTTONS <cbmp1>,<cbmp2> displays two buttons on left and right for decrementing and incrementing the values. If cbmp1 or cbmp2 or both is/are empty, default bitmaps are provided. Each button's width is equal to the height of the Get. ...
by Antonio Linares
Mon Jun 04, 2018 6:34 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2018 (FWH 18.04)
Replies: 1
Views: 2162

Re: ADO and Lock

Antonio F. Thanks for confirming that. I have been meaning to ask about it. So, it seems, that my original auto-incrementing system should still work with the ADORDD. I will do some testing to confirm it. Using the ADORDD is too easy, where's the challenge? ;-) Keep working your ...
by James Bott
Wed Aug 26, 2015 2:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO and Lock
Replies: 27
Views: 6944

Re: DBF to SQL converter program

How is this different from an auto-incrementing field? Is it a date/time field? Does it have the same issues as an auto-incrementing field (the possibility of being renumbered)?   No, it is totally different than an auto-increment field. Yes, ...
by reinaldocrespo
Tue Aug 25, 2015 7:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to SQL converter program
Replies: 59
Views: 17989

Re: DBF to SQL converter program

... that DBFs had auto-increment fields until a few months ago, so I have not been using them. I have my own database class that does it's own auto-incrementing using the method I mentioned in the post above. I always put the primary key into the first field so I can use the same code in my database ...
by James Bott
Tue Aug 25, 2015 7:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to SQL converter program
Replies: 59
Views: 17989

Re: DBF to SQL converter program

... a sequential number? I'm sure there is one, I just don't know what it is. (3) implement a row version field. How is this different from an auto-incrementing field? Is it a date/time field? Does it have the same issues as an auto-incrementing field (the possibility of being renumbered)? 4) keep ...
by James Bott
Tue Aug 25, 2015 6:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to SQL converter program
Replies: 59
Views: 17989
Next

Return to advanced search