Welcome, Guest
Username: Password: Remember me
General Purpose Components and Libraries, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

Visual Planit - I created an example 10 years 8 months ago #5279

  • Francesco Sammarco
  • Francesco Sammarco's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Finally after a while I downloaded codetyphon and I took the package of visual planit. I created the database (firebird - agenda.fdb) found that in the sample project. The SQL structure was created by going to trial.
It does not work well events management. He shows me only the last event inserted when I restart the program. Can anyone tell me why?!

Here you will find the package to install:
www.lazaruspascal.it/laz_packages/pl_VisualPlanIt.zip

Here is the example to download the db included:
www.lazaruspascal.it/esempi/agenda.zip

Please Log in or Create an account to join the conversation.

Visual Planit - I created an example 10 years 8 months ago #5280

  • universe
  • universe's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
Hello,
All events are selectable by the resourceid key (is datastore.resource), so you should verify this key after inserting and when reading and you have to call LoadEvents or RefreshEvents method after changing it.

Please Log in or Create an account to join the conversation.

Last edit: by universe.

Visual Planit - I created an example 10 years 8 months ago #5282

  • Francesco Sammarco
  • Francesco Sammarco's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
I can not seem to use any other value for the field RecordId -1073749720. It then updates the same record. I do not understand why. Even if you change the primary key does not work. It seems to be a bug

Please Log in or Create an account to join the conversation.

Visual Planit - I created an example 10 years 8 months ago #5283

  • universe
  • universe's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
Hello, I'll try to upload a simple working example with Postgres asap.
Edit:
Did you map database fields?

Please Log in or Create an account to join the conversation.

Last edit: by universe.

Visual Planit - I created an example 10 years 8 months ago #5288

  • Francesco Sammarco
  • Francesco Sammarco's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
We have mapped the data. I would be very grateful if you put the example :)

So I look forward

Please Log in or Create an account to join the conversation.

Visual Planit - I created an example 10 years 8 months ago #5289

  • universe
  • universe's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
I'll do my best to prepare it in the next weekend, but I just want to inform you that the mapped fields should have exactly the same names as defined in the datatstore fields, changing the names will create a non-common behavior (certainly a bug) for some methods call even after a correct mapping.

Please Log in or Create an account to join the conversation.

Visual Planit - I created an example 10 years 8 months ago #5293

  • Francesco Sammarco
  • Francesco Sammarco's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
There's just a different field because that name is private into firebird.

Please Log in or Create an account to join the conversation.

Visual Planit - I created an example 10 years 7 months ago #5303

  • universe
  • universe's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
That could be the root cause of the failure, if you have another database server on your computer (mysql, postgres) try your code on it.

Please Log in or Create an account to join the conversation.

Visual Planit - I created an example 10 years 7 months ago #5304

  • Francesco Sammarco
  • Francesco Sammarco's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
I'll try. Meanwhile, You can create me that example?!

Please Log in or Create an account to join the conversation.

Visual Planit - I created an example 10 years 7 months ago #5305

  • universe
  • universe's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
Yes
The following user(s) said Thank You: Francesco Sammarco

Please Log in or Create an account to join the conversation.

Visual Planit - I created an example 10 years 7 months ago #5306

  • universe
  • universe's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
Well, this is a simple example , just create the database with the tables in creates.txt and then launch the application and connect, it will load a default resource named "PlanThis" then you could right click on the WeekView and plan events. Hope this helps. (tested on Postgres 8 and 9)

Please Log in or Create an account to join the conversation.

Visual Planit - I created an example 10 years 1 month ago #6080

  • Maximiliano
  • Maximiliano's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 3
I'm test this, but run to slow. is normal?
CT5.1 lab

Please Log in or Create an account to join the conversation.

  • Page:
  • 1