Search found 195 matches
- Wednesday 1st November 2023 7:37am
- Forum: General
- Topic: find a control
- Replies: 11
- Views: 11795
Re: find a control
OK, with this code:- Public Sub Form_Open() Dim hFrame As Frame Dim i As Integer For i = 0 To 4 With hFrame = New Frame(Me) .Name = "A" & i .X = (i * 60) .Y = 50 .W = 50 .H = 50 .Text = "B" & i End With Next End How best can I find the .text value of one of the frames? At...
- Tuesday 31st October 2023 5:13pm
- Forum: General
- Topic: find a control
- Replies: 11
- Views: 11795
find a control
I have a number of frames on a form which are generated dynamically, to recover information about a specific frame I do this: Dim hCtrl As Control For Each hCtrl In Me.Controls If hCtrl.Name = Last.Name Then do things! Endif Next Having set the frame's .Name to a unique value. Is there a better way ...
- Thursday 5th October 2023 7:29am
- Forum: General
- Topic: mysql date of min, max
- Replies: 2
- Views: 1647
Re: mysql date of min, max
Thanks for that, struggling to translate your query to mysql syntax.
However, there would be a problem because there could easily be several maximum temperatures with completely different dates.
I need to re-think this.
Thanks again
However, there would be a problem because there could easily be several maximum temperatures with completely different dates.
I need to re-think this.
Thanks again
- Tuesday 3rd October 2023 8:31am
- Forum: General
- Topic: mysql date of min, max
- Replies: 2
- Views: 1647
mysql date of min, max
I have a mysql table of temperature readings.
How can I find the date of MAX(Temperature) and the date of MIN(Temperature)?
My table looks like this:-
EpochDate as String
ReadingDate as Date
Temperature as Float
Pressure as Float
How can I find the date of MAX(Temperature) and the date of MIN(Temperature)?
My table looks like this:-
EpochDate as String
ReadingDate as Date
Temperature as Float
Pressure as Float
- Thursday 18th May 2023 2:15pm
- Forum: General
- Topic: Strange mysql date problem
- Replies: 2
- Views: 773
Re: Strange mysql date problem
Thank you gbWilly, panic over. I think a visit to the opticians might be in order!
- Thursday 18th May 2023 12:16pm
- Forum: General
- Topic: Strange mysql date problem
- Replies: 2
- Views: 773
Strange mysql date problem
ORDER BY date seems not to be working. hResult = hConn.Find("transactions", "ORDER BY TransDate") produces:- 27/01/0022 00:00:00 27/01/0022 00:00:00 31/01/0022 00:00:00 31/01/0022 00:00:00 01/12/2021 00:00:00 01/12/2021 00:00:00 01/12/2021 00:00:00 01/12/2021 00:00:00 01/12/2021 ...
- Wednesday 5th April 2023 7:30am
- Forum: General
- Topic: Problem with installing gambas3
- Replies: 7
- Views: 1123
Re: Problem with installing gambas3
Thanks Bruce-all is well now.
Bill
Bill
- Tuesday 4th April 2023 9:52am
- Forum: General
- Topic: Problem with installing gambas3
- Replies: 7
- Views: 1123
Re: Problem with installing gambas3
Looking very closely, its possible that the console has shrunk to zero height!
Right click on that area produced a message saying that the console is set to 'invisible', selected set to 'visible' and console now shows.
Right click on that area produced a message saying that the console is set to 'invisible', selected set to 'visible' and console now shows.
- Tuesday 4th April 2023 9:11am
- Forum: General
- Topic: Problem with installing gambas3
- Replies: 7
- Views: 1123
Re: Problem with installing gambas3
No 'Print' shows nothing. I see a post by BruceSteers on 05th February 2023 where he says:- Find something like the following text in $HOME/.config/gambas3/gambas3.conf Code: Select all [FMain] Geometry=[12,59,1219,849,0,0] panProject=[False,293,True,False] panProperty=[False,265,True,False] panDebu...
- Tuesday 4th April 2023 7:34am
- Forum: General
- Topic: Problem with installing gambas3
- Replies: 7
- Views: 1123
Re: Problem with installing gambas3
Thank you cogier, gambas is running again.
ide console still missing though.
F11 does nothing.
Any ideas?
ide console still missing though.
F11 does nothing.
Any ideas?