Search found 187 matches

by grayghost4
Thursday 12th May 2022 5:00pm
Forum: General
Topic: help with error message
Replies: 4
Views: 1830

Re: help with error message

Not much of a program :D
by grayghost4
Thursday 12th May 2022 4:30pm
Forum: General
Topic: help with error message
Replies: 4
Views: 1830

Re: help with error message

after making the change you suggested I get a different error :(
this is a new install of Fedora 26 Gnome ... May not be completly compatable

QSocketNotifier: Can only be used with threads started with QThread
by grayghost4
Wednesday 11th May 2022 11:00pm
Forum: General
Topic: help with error message
Replies: 4
Views: 1830

help with error message

Anyone know what this is from :

: Gtk-WARNING **: 17:53:17.609: Negative content width -5 (allocation 13, extents 9x9) while allocating gadget (node entry, owner GtkEntry)
by grayghost4
Monday 18th April 2022 4:33pm
Forum: General
Topic: DateAdd problem with month end
Replies: 11
Views: 3881

Re: DateAdd problem with month end

Public Sub Form_Open() Dim iLoop, iMonth As Integer Dim iYear As Integer = 2022 Dim dDate As Date For iLoop = 2 To 13 If iLoop = 13 Then iYear += 1 iMonth = 1 Else iMonth = iLoop End If dDate = Date(iYear, iMonth, 1) - 1 ' ' <<<< this does work Print Format(dDate, "dd/mm/yyyy") & &quo...
by grayghost4
Monday 18th April 2022 11:41am
Forum: General
Topic: DateAdd problem with month end
Replies: 11
Views: 3881

Re: DateAdd problem with month end

Ubuntu 21.10 ... Gnome .... X11

tried with 3.16 and now 3.17
I may try Wayland and see if that makes a difference .
by grayghost4
Sunday 17th April 2022 10:25pm
Forum: General
Topic: DateAdd problem with month end
Replies: 11
Views: 3881

Re: DateAdd problem with month end

this does work correctly Public Sub Form_Open() Dim dDate As Date dDate = Date(Now - 1) Print "today Is " & Format(Date(Now), "mm/dd/yyyy") Print "Yesterday was " & Format(dDate, "mm/dd/yyyy") Print "Tomorrow it will be " & Date(Now + 1) ...
by grayghost4
Sunday 17th April 2022 9:19pm
Forum: General
Topic: DateAdd problem with month end
Replies: 11
Views: 3881

Re: DateAdd problem with month end

Dim dDate As Date dDate = Date(Now) - Day(1) Print "today Is " & Format(Date(Now), "mm/dd/yyyy") Print "Yesterday was " & Format(dDate, "mm/dd/yyyy") Output : today Is 04/17/2022 Yesterday was 04/17/2022 Public Sub Form_Open() Dim dDate As Date dDate ...
by grayghost4
Sunday 17th April 2022 5:07pm
Forum: General
Topic: DateAdd problem with month end
Replies: 11
Views: 3881

Re: DateAdd problem with month end

for me Print day(1) .... returns 0
by grayghost4
Sunday 17th April 2022 3:47pm
Forum: General
Topic: DateAdd problem with month end
Replies: 11
Views: 3881

Re: DateAdd problem with month end

dDate = Date(iYear, iMonth, 1) - Day(1) what is the purpose of "-Day(1) ? seems to work the same without it. dDate = Date(iYear, iMonth, 1) - Day(2) outputs : 31/01/2022 -- Monday 31 January 2022 28/02/2022 -- Monday 28 February 2022 31/03/2022 -- Thursday 31 March 2022 30/04/2022 -- Saturday ...
by grayghost4
Sunday 2nd January 2022 12:31am
Forum: General
Topic: Comparing data from a table in different Databases
Replies: 3
Views: 2064

Re: Comparing data from a table in different Databases

I am not a SQL user ... but a simple google found this :

https://www.google.com/search?channel=f ... +of+update

hope this will help you