# Databases

**URL:** https://forum.xojo.com/c/databases/9.md?page=3

[Latest](https://forum.xojo.com/latest.md) · [Categories](https://forum.xojo.com/categories.md)

**Page:** 4

---

## [Formatting a Number in Listbox (DBkit)](https://forum.xojo.com/t/formatting-a-number-in-listbox-dbkit/83944)

<div class="topic-metadata">

**Author:** [@Yann\_DUPONT](https://forum.xojo.com/u/Yann_DUPONT)\
**Replies:** 7\
**Last updated:** [January 18, 2025, 4:04pm UTC](https://forum.xojo.com/t/formatting-a-number-in-listbox-dbkit/83944 "2025-01-18T16:04:01Z")

</div>

Hi there, Using the Desktop example provided with Xojo, I am trying with no success to figure out how to format the Amount column as “monetary” (like $ 123,456.00).

---

## [Database best practice](https://forum.xojo.com/t/database-best-practice/83806)

<div class="topic-metadata">

**Author:** [@Yann\_DUPONT](https://forum.xojo.com/u/Yann_DUPONT)\
**Replies:** 9\
**Last updated:** [January 17, 2025, 9:03am UTC](https://forum.xojo.com/t/database-best-practice/83806 "2025-01-17T09:03:25Z")

</div>

Hi, I am trying to set an access app using a SQLite DB. Nothing fancy: Visitor comes in, RFID badge read by the app, Add a new record in the DB (id\_people, Date and Time) I placed the DB as a property in the app as …

---

## [DBKit - Accessing table fields not in the window layout](https://forum.xojo.com/t/dbkit-accessing-table-fields-not-in-the-window-layout/83836)

<div class="topic-metadata">

**Author:** [@Keith\_Culotta](https://forum.xojo.com/u/Keith_Culotta)\
**Replies:** 7\
**Last updated:** [January 9, 2025, 11:25pm UTC](https://forum.xojo.com/t/dbkit-accessing-table-fields-not-in-the-window-layout/83836 "2025-01-09T23:25:08Z")

</div>

By way of example of a table of three fields: Name1, Name2, Name2: If Name1 and Name2 are in the layout as DBKit.TextField, the user can modify their contents. While the user is making these modifications, is there a w…

---

## [ORACLE "Returning ... Into" with SQLCommandMBS](https://forum.xojo.com/t/oracle-returning-into-with-sqlcommandmbs/83679)

<div class="topic-metadata">

**Author:** [@Giacomo\_Bernardi](https://forum.xojo.com/u/Giacomo_Bernardi)\
**Replies:** 10\
**Last updated:** [December 24, 2024, 9:40am UTC](https://forum.xojo.com/t/oracle-returning-into-with-sqlcommandmbs/83679 "2024-12-24T09:40:09Z")

</div>

I need the ID of the record I just entered version: ORACLE 11g I created the T1 table with 2 columns: C1 number (value automatically generated by insert command with trigger and sequence) C2 char(1) // my code: va…

---

## [How to close orphaned Postgre connections?](https://forum.xojo.com/t/how-to-close-orphaned-postgre-connections/83671)

<div class="topic-metadata">

**Author:** [@Tim\_Seyfarth](https://forum.xojo.com/u/Tim_Seyfarth)\
**Replies:** 3\
**Last updated:** [December 23, 2024, 11:57pm UTC](https://forum.xojo.com/t/how-to-close-orphaned-postgre-connections/83671 "2024-12-23T23:57:35Z")

</div>

Hello, I have a problem where occasionally an app does not close its connection to PostgreSQL. I am trying to track down where and why this is happening, but in the meantime it is messing with the operation of other ap…

---

## [Postgresql - how to know if there is an existing connection?](https://forum.xojo.com/t/postgresql-how-to-know-if-there-is-an-existing-connection/83653)

<div class="topic-metadata">

**Author:** [@Tim\_Seyfarth](https://forum.xojo.com/u/Tim_Seyfarth)\
**Replies:** 7\
**Last updated:** [December 20, 2024, 9:07pm UTC](https://forum.xojo.com/t/postgresql-how-to-know-if-there-is-an-existing-connection/83653 "2024-12-20T21:07:58Z")

</div>

Hello all, Is there a way to check the Database object to see if there is already a connection from a particular instance of an object? Thanks, Tim

---

## [Snapdragon](https://forum.xojo.com/t/snapdragon/83517)

<div class="topic-metadata">

**Author:** [@friedrich\_boettger](https://forum.xojo.com/u/friedrich_boettger)\
**Replies:** 6\
**Last updated:** [December 15, 2024, 7:33pm UTC](https://forum.xojo.com/t/snapdragon/83517 "2024-12-15T19:33:55Z")

</div>

Friends Anybody develop any database apps on Windows Snapdragon? If so, what are you using for a database and/or connection mechanism? Thanks fritz

---

## [DBKit, making creating database front-ends easier](https://forum.xojo.com/t/dbkit-making-creating-database-front-ends-easier/76916)

<div class="topic-metadata">

**Author:** [@Geoff\_Perlman](https://forum.xojo.com/u/Geoff_Perlman)\
**Replies:** 37\
**Last updated:** [December 11, 2024, 4:09pm UTC](https://forum.xojo.com/t/dbkit-making-creating-database-front-ends-easier/76916 "2024-12-11T16:09:29Z")

</div>

I’ve created a new kit to make building database front-ends for the desktop and web faster. You can get your app’s UI connected to a database with very little code. There are two example projects (one for desktop, one fo…

---

## [SQLite Data Base Currency: I do it](https://forum.xojo.com/t/sqlite-data-base-currency-i-do-it/83544)

<div class="topic-metadata">

**Author:** [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Replies:** 3\
**Last updated:** [December 10, 2024, 10:13am UTC](https://forum.xojo.com/t/sqlite-data-base-currency-i-do-it/83544 "2024-12-10T10:13:27Z")

</div>

We discussed recently about how to store / restore data from a SQLite data base, especially Currency. Below is a project that just do that. NB: The leftmost button is a debug for the dates stored in Tag of Column(1), a…

---

## [Currency in SQLite?](https://forum.xojo.com/t/currency-in-sqlite/83493)

<div class="topic-metadata">

**Author:** [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Replies:** 21\
**Last updated:** [December 6, 2024, 3:05pm UTC](https://forum.xojo.com/t/currency-in-sqlite/83493 "2024-12-06T15:05:41Z")

</div>

I have created a TABLE with a Currency COLUMN, but … LB.CellTextAt(LB.LastAddedRowIndex,4) = row.Column("SRU").CurrencyValue.ToString Have-you used the Currency symbol ? I lost the cents… So I will use .StringValue a…

---

## [Still troubles with DateTime (locale)](https://forum.xojo.com/t/still-troubles-with-datetime-locale/83486)

<div class="topic-metadata">

**Author:** [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Replies:** 12\
**Last updated:** [December 5, 2024, 9:57pm UTC](https://forum.xojo.com/t/still-troubles-with-datetime-locale/83486 "2024-12-05T21:57:27Z")

</div>

How do I set the locale in the line below ? Var foo As Variant = row.Column("BillDate").DateTimeValue That was were I had trouble in the past days, and working on something else… with dates… let me understand the probl…

---

## [DBKit Update](https://forum.xojo.com/t/dbkit-update/83335)

<div class="topic-metadata">

**Author:** [@Geoff\_Perlman](https://forum.xojo.com/u/Geoff_Perlman)\
**Replies:** 1\
**Last updated:** [December 4, 2024, 12:17am UTC](https://forum.xojo.com/t/dbkit-update/83335 "2024-12-04T00:17:59Z")

</div>

For months now I have been working on a significant update to DBKit. Part of this update is to allow users to create their own DBKit controls. I’m also working on making the whole process even easier and more intuitive. …

---

## [PostgreSQL How to sort apha numeric columns?](https://forum.xojo.com/t/postgresql-how-to-sort-apha-numeric-columns/83441)

<div class="topic-metadata">

**Author:** [@Tim\_Seyfarth](https://forum.xojo.com/u/Tim_Seyfarth)\
**Replies:** 6\
**Last updated:** [December 3, 2024, 11:31pm UTC](https://forum.xojo.com/t/postgresql-how-to-sort-apha-numeric-columns/83441 "2024-12-03T23:31:08Z")

</div>

Hello all, I have a column that is of type text. It contains data such as: A1 A10 A100 A300 B1 B10 C001 C010 Any ideas how to construct a SQL query so that these are ordered Correctly, first by Alpha, then by …

---

## [DBKit mystery](https://forum.xojo.com/t/dbkit-mystery/83428)

<div class="topic-metadata">

**Author:** [@Thomas\_Wilcox](https://forum.xojo.com/u/Thomas_Wilcox)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 6:44pm UTC](https://forum.xojo.com/t/dbkit-mystery/83428 "2024-12-02T18:44:11Z")

</div>

Dear All, I updated my app with the latest DBKit, and all sorts of stuff went wrong. I figured out most of it, but I get an error that I just don’t understand. It is deep within the DBKit code. Specifically, in the Tabl…

---

## [Windows ODBC on Snapdragon](https://forum.xojo.com/t/windows-odbc-on-snapdragon/83422)

<div class="topic-metadata">

**Author:** [@friedrich\_boettger](https://forum.xojo.com/u/friedrich_boettger)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 12:32am UTC](https://forum.xojo.com/t/windows-odbc-on-snapdragon/83422 "2024-12-02T00:32:44Z")

</div>

Friends I just bought a Win 11 Surface Snapdragon. Very nice tech, but it seems there’s no odbc from anybody. So I’m limited to using MS Access. I can still connect to my remote MySQL and all that, but if I want to deve…

---

## [Stuck on my Desktop SQLite application](https://forum.xojo.com/t/stuck-on-my-desktop-sqlite-application/83316)

<div class="topic-metadata">

**Author:** [@Kevin\_Cary-Grimm](https://forum.xojo.com/u/Kevin_Cary-Grimm)\
**Replies:** 21\
**Last updated:** [November 24, 2024, 10:03pm UTC](https://forum.xojo.com/t/stuck-on-my-desktop-sqlite-application/83316 "2024-11-24T22:03:22Z")

</div>

I’m trying to build my first SQLite database application on Windows. However, I’m stuck on it failing as it loads up. It has something to do with the query control but It is not giving me clear error. I’m hoping someone …

---

## [DBKit ImageViewer - Issues showing images](https://forum.xojo.com/t/dbkit-imageviewer-issues-showing-images/83228)

<div class="topic-metadata">

**Author:** [@Jason\_Hyde](https://forum.xojo.com/u/Jason_Hyde)\
**Replies:** 0\
**Last updated:** [November 17, 2024, 9:06pm UTC](https://forum.xojo.com/t/dbkit-imageviewer-issues-showing-images/83228 "2024-11-17T21:06:11Z")

</div>

Hi, I’m looking at DBKit, and have been trying to follow the example file. I can get data in and out of the sqlite db fine if it’s text, numbers, bools etc, but I can not get data out of the imageviewer. My imageviewe…

---

## [DBKit: Reload data in QueryRowsListBox](https://forum.xojo.com/t/dbkit-reload-data-in-queryrowslistbox/83207)

<div class="topic-metadata">

**Author:** [@Andreas\_Gelezun](https://forum.xojo.com/u/Andreas_Gelezun)\
**Replies:** 2\
**Last updated:** [November 15, 2024, 9:47pm UTC](https://forum.xojo.com/t/dbkit-reload-data-in-queryrowslistbox/83207 "2024-11-15T21:47:56Z")

</div>

Hello all! When I add a record to my connected SQLite database, I want the QueryRowsListBox to refresh the data. I tried to use the SavingRow-Event, but I had no success. Is there a way to reload the data?

---

## [RowSet.Editrow nothing happens](https://forum.xojo.com/t/rowset-editrow-nothing-happens/83190)

<div class="topic-metadata">

**Author:** [@Ali\_Mustafa\_Korkmaz](https://forum.xojo.com/u/Ali_Mustafa_Korkmaz)\
**Replies:** 8\
**Last updated:** [November 14, 2024, 5:58pm UTC](https://forum.xojo.com/t/rowset-editrow-nothing-happens/83190 "2024-11-14T17:58:52Z")

</div>

Hello, I’m trying to make changes in the database using RowSet.Editrow. Connection Ok., Querying data is OK. But changing it using the following code is not possible. Nothing happens. No error var rs as RowSet rs = SQ…

---

## [SQLITE Memory Issues?](https://forum.xojo.com/t/sqlite-memory-issues/83169)

<div class="topic-metadata">

**Author:** [@William\_Phillips](https://forum.xojo.com/u/William_Phillips)\
**Replies:** 4\
**Last updated:** [November 12, 2024, 7:02pm UTC](https://forum.xojo.com/t/sqlite-memory-issues/83169 "2024-11-12T19:02:02Z")

</div>

I’m getting a huge memory spike (500MB) when making a very modest addition (~2000 records to a single table) to a SQLite db. Actually the first time through the process it doesn’t spike, but additional spikes occur ever…

---

## [mySQLCommunityServer: Autoclose Connections](https://forum.xojo.com/t/mysqlcommunityserver-autoclose-connections/83086)

<div class="topic-metadata">

**Author:** [@Sascha\_S](https://forum.xojo.com/u/Sascha_S)\
**Replies:** 5\
**Last updated:** [November 5, 2024, 8:39pm UTC](https://forum.xojo.com/t/mysqlcommunityserver-autoclose-connections/83086 "2024-11-05T20:39:27Z")

</div>

TLDR; will mySQLCommunityServer Connection automatically be closed when the Programm quits? Since we installed a new firewall, we have had a problem where over a certain period of time, the number of connections to mySQ…

---

## [How to connect Xojo Windows Desktop to an Oracle Autonomous Database with a wallet](https://forum.xojo.com/t/how-to-connect-xojo-windows-desktop-to-an-oracle-autonomous-database-with-a-wallet/82997)

<div class="topic-metadata">

**Author:** [@Alejandro\_Gutierrez](https://forum.xojo.com/u/Alejandro_Gutierrez)\
**Replies:** 0\
**Last updated:** [October 27, 2024, 12:43pm UTC](https://forum.xojo.com/t/how-to-connect-xojo-windows-desktop-to-an-oracle-autonomous-database-with-a-wallet/82997 "2024-10-27T12:43:47Z")

</div>

Help please. I need to connect from Xojo Windows Desktop version 2024 Release 3.1 to an Oracle Autonomous Database with a wallet. I already added the OraclePlugin.xojo\_plugin but haven’t found a way of connecting to th…

---

## [Postgresql how to see how many db connections](https://forum.xojo.com/t/postgresql-how-to-see-how-many-db-connections/82982)

<div class="topic-metadata">

**Author:** [@Tim\_Seyfarth](https://forum.xojo.com/u/Tim_Seyfarth)\
**Replies:** 3\
**Last updated:** [October 25, 2024, 10:39pm UTC](https://forum.xojo.com/t/postgresql-how-to-see-how-many-db-connections/82982 "2024-10-25T22:39:22Z")

</div>

Hello all, I have a problem with at least one of my apps. There are a group of 6-8 apps that all connect to the local PostgreSQL database. Over time, at least one is connecting to the db but not closing the connection…

---

## [DBKit bug workaround](https://forum.xojo.com/t/dbkit-bug-workaround/82928)

<div class="topic-metadata">

**Author:** [@Geoff\_Perlman](https://forum.xojo.com/u/Geoff_Perlman)\
**Replies:** 0\
**Last updated:** [October 21, 2024, 3:18pm UTC](https://forum.xojo.com/t/dbkit-bug-workaround/82928 "2024-10-21T15:18:23Z")

</div>

If you place a non-user interface control on a window using DBKit, you’ll get an IllegalCastException at runtime when that window is opened. It’s fixed for the next beta but in the meantime, replace DBKit.TableConnection…

---

## [DBKit 1.0b12](https://forum.xojo.com/t/dbkit-1-0b12/82739)

<div class="topic-metadata">

**Author:** [@Geoff\_Perlman](https://forum.xojo.com/u/Geoff_Perlman)\
**Replies:** 0\
**Last updated:** [October 4, 2024, 11:32pm UTC](https://forum.xojo.com/t/dbkit-1-0b12/82739 "2024-10-04T23:32:21Z")

</div>

This beta fixes a NilObjectException caused by an event order difference on Windows with the DBKit.SearchField.

---

## [DBKit 1.0b11](https://forum.xojo.com/t/dbkit-1-0b11/82724)

<div class="topic-metadata">

**Author:** [@Geoff\_Perlman](https://forum.xojo.com/u/Geoff_Perlman)\
**Replies:** 0\
**Last updated:** [October 3, 2024, 4:44pm UTC](https://forum.xojo.com/t/dbkit-1-0b11/82724 "2024-10-03T16:44:01Z")

</div>

Apparently simply removing the attribute wasn’t enough. Beta 11 resolves the issue completely. Again, this bug is fixed in the IDE for the next release but since I can resolve it such that you’ll never run into it with t…

---

## [DBKit v1.0b10](https://forum.xojo.com/t/dbkit-v1-0b10/82685)

<div class="topic-metadata">

**Author:** [@Geoff\_Perlman](https://forum.xojo.com/u/Geoff_Perlman)\
**Replies:** 0\
**Last updated:** [October 2, 2024, 3:26pm UTC](https://forum.xojo.com/t/dbkit-v1-0b10/82685 "2024-10-02T15:26:01Z")

</div>

This is just a very minor update to remove the Version attribute from the TableConnection class as there’s a bug in the IDE that can cause a crash when classes with attributes are copied from one project to another. The …

---

## [DBKit YouTube Tutorial Problem](https://forum.xojo.com/t/dbkit-youtube-tutorial-problem/78956)

<div class="topic-metadata">

**Author:** [@Thomas\_Wilcox](https://forum.xojo.com/u/Thomas_Wilcox)\
**Replies:** 10\
**Last updated:** [September 30, 2024, 7:52am UTC](https://forum.xojo.com/t/dbkit-youtube-tutorial-problem/78956 "2024-09-30T07:52:36Z")

</div>

Dear All, I have been working through this YouTube tutorial from Geoff on DBKit. DBKit has changed in organization considerably since the video was released. However, one can still work through it, at least to a point. …

---

## [Tutorial: How to load related data efficiently](https://forum.xojo.com/t/tutorial-how-to-load-related-data-efficiently/81908)

<div class="topic-metadata">

**Author:** [@Maximilian\_Tyrtania1](https://forum.xojo.com/u/Maximilian_Tyrtania1)\
**Replies:** 3\
**Last updated:** [September 26, 2024, 2:30pm UTC](https://forum.xojo.com/t/tutorial-how-to-load-related-data-efficiently/81908 "2024-09-26T14:30:50Z")

</div>

Hi folks, I meant to publish this trick since I don’t know when and finally came around to it. If you are curious about how to load related data from PostgreSQL (or MySQL or even SQLite) efficiently this might give you …

---

## [Noobie: employee tracking client server?](https://forum.xojo.com/t/noobie-employee-tracking-client-server/81832)

<div class="topic-metadata">

**Author:** [@Gerald\_Novak](https://forum.xojo.com/u/Gerald_Novak)\
**Replies:** 18\
**Last updated:** [September 20, 2024, 2:57pm UTC](https://forum.xojo.com/t/noobie-employee-tracking-client-server/81832 "2024-09-20T14:57:38Z")

</div>

One of these days I’m going to get to programming. Here’s the situation : An employer has a bunch of remote employees that spend time on their clients site. The employer needs to track when they start, end but only wh…

[Previous page](https://forum.xojo.com/c/databases/9.md?page=2)

[Next page](https://forum.xojo.com/c/databases/9.md?page=4)
