Search found 377 matches

by AndyGable
Thursday 22nd August 2024 9:57am
Forum: General
Topic: Saving & Recalling A GridView from a file
Replies: 1
Views: 1277

Saving & Recalling A GridView from a file

Hi Everyone, I was just wondering if anyone know a smarter way to store a gridview to a text file and then recall it again Basically what I need to do is sometimes I have to store a transaction on my Point of sale and I am using the following code For i As Integer = 1 To frmSalescreen.GridCurrentSal...
by AndyGable
Friday 9th August 2024 9:33pm
Forum: General
Topic: Chart Usage Advice
Replies: 10
Views: 6435

Re: Chart Usage Advice

Anytime I'm dealing with database issues, I use 'db.Debug = True' to watch any database query. A couple of updates that I though you all would like to know Fist off @Gpt2BeFree I did not know that db.debug option that is a much quicker way to view the SQL Commands I am send then saving them to a te...
by AndyGable
Friday 9th August 2024 3:15pm
Forum: General
Topic: Chart Usage Advice
Replies: 10
Views: 6435

Re: Chart Usage Advice

Anytime I'm dealing with database issues, I use 'db.Debug = True' to watch any database query. A couple of updates that I though you all would like to know Fist off @Gpt2BeFree I did not know that db.debug option that is a much quicker way to view the SQL Commands I am send then saving them to a te...
by AndyGable
Friday 9th August 2024 1:42pm
Forum: General
Topic: Chart Usage Advice
Replies: 10
Views: 6435

Re: Chart Usage Advice

I discovered that you need DrawingArea1.Refresh if the Form is already open. I modified the code in your last post as below:- Hi Cogier, I update my code and if I use your example data it works perfectly but If I try to use data from my database I just a blank chart. below is the updated code that ...
by AndyGable
Wednesday 7th August 2024 9:45pm
Forum: General
Topic: Chart Usage Advice
Replies: 10
Views: 6435

Re: Chart Usage Advice

I have taken as much of your code as I can to get this working. Some of the code has been taken from my ChartExample with is on the Gambas Farm. Run the code in a new graphical program. Hi Cogier, Please see below the code I am using to generate the Chart. I have tired to integrate you code (Even t...
by AndyGable
Monday 5th August 2024 9:55pm
Forum: General
Topic: Chart Usage Advice
Replies: 10
Views: 6435

Re: Chart Usage Advice

@cogier

Once I am back at my development computer I shall post the complete code I am using to generate the chart.

In the mean time I shall study what you have written to see where I'm going wrong.
by AndyGable
Monday 5th August 2024 12:20am
Forum: General
Topic: Chart Usage Advice
Replies: 10
Views: 6435

Chart Usage Advice

Hi Everyone, I hope someone could explain to me what I am doing wrong I have been using post http://forum.gambas.one/viewtopic.php?p=1193 as a base for what I am trying to do I am trying to use a Chart to show taking for the 12 months (both sales and Refunds) I have the following code that I have co...
by AndyGable
Friday 19th July 2024 8:12pm
Forum: General
Topic: Background task with in application - is this possible?
Replies: 15
Views: 5159

Re: Background task with in application - is this possible?

BruceSteers wrote: Friday 19th July 2024 7:19pm Then I guess you broke it somehow.
Only I could break it :lol:
by AndyGable
Friday 19th July 2024 7:11pm
Forum: General
Topic: Background task with in application - is this possible?
Replies: 15
Views: 5159

Re: Background task with in application - is this possible?

Hi All, I have done some updates and it was working but now every time the application run and it comes to the background task I get this error message in the console. I am running 3.19.3 [xcb] Unknown sequence number while processing queue [xcb] You called XInitThreads, this is not your fault [xcb]...
by AndyGable
Thursday 18th July 2024 10:48am
Forum: General
Topic: Background task with in application - is this possible?
Replies: 15
Views: 5159

Re: Background task with in application - is this possible?

Well as most of the code that is called by the task I want to use is no used by any other part of the system I could just move it into the task I assume it would just be a sub with in the class A not like Class endofsaletasks Sub main End Sub renamefiles End Etc and if I do need to use the code else...