<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/tpvplanit/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/tpvplanit/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 15 Apr 2007 13:35:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/tpvplanit/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Resources GONE on application load</title><link>https://sourceforge.net/p/tpvplanit/bugs/83/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;OH NO! Something rather suprising about this excellent component suite: all your data is LOST when you load the application.&lt;/p&gt;
&lt;p&gt;I am running Delphi 2006 and when I close my application and physically check the table I see the resource is still there, but when I start the program again it is gone!&lt;/p&gt;
&lt;p&gt;Please help!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 15 Apr 2007 13:35:58 -0000</pubDate><guid>https://sourceforge.net4829cbde218f6a45e4912a0060b56a4a8ea5df37</guid></item><item><title>field ResourceID not found</title><link>https://sourceforge.net/p/tpvplanit/bugs/82/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have tables where I changed the fieldnames&lt;br /&gt;
Resource.ResourceID is Gebruiker.ID&lt;br /&gt;
Event.ResourceID is Behandeling.GebruikerID&lt;/p&gt;
&lt;p&gt;Behandeling.GebruikerID has a foreign key relation with&lt;br /&gt;
Gebruiker.ID&lt;/p&gt;
&lt;p&gt;I use TVpFlexDataStore with Mappings&lt;/p&gt;
&lt;p&gt;in the procedure TVpFlexDataStore.PostEvents:&lt;/p&gt;
&lt;p&gt;original :&lt;br /&gt;
FN := GetFieldName(FEventMappings, 'ResourceID');    &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;my version (and I think it's the right one):&lt;br /&gt;
FN := GetFieldName(FResourceMappings, 'ResourceID');    &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;JohnBe from Holland &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Beemsterboer</dc:creator><pubDate>Wed, 28 Sep 2005 14:18:17 -0000</pubDate><guid>https://sourceforge.netf9e116f26d5ae683bfd47b124b081531febb2ef3</guid></item><item><title>Event drawn incorrectly</title><link>https://sourceforge.net/p/tpvplanit/bugs/81/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When you hav an event that lasts over two or more days,&lt;br /&gt;
the event is incorrectly drawn in the dayview.&lt;br /&gt;
For instance, if you insert an event that starts Jan 1&lt;br /&gt;
2005 at 14:00 and ends Jan 2 at 09:00 with no&lt;br /&gt;
recurrence. This event will only show at Jan 1 as an&lt;br /&gt;
event that starts at 9:00 and ends at 14:00. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 09 Jun 2005 14:42:08 -0000</pubDate><guid>https://sourceforge.netd567de79eeb096662b479ae14fc9f5d9c6a07bba</guid></item><item><title>Appointment - reccurence - not visible</title><link>https://sourceforge.net/p/tpvplanit/bugs/80/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
First sorry for my barbare english. &lt;br /&gt;
I have identified an error in the Dayview Module.&lt;br /&gt;
When creating an appointment with a reccurence that is &lt;br /&gt;
beginning (For example) the March 1st 2005, and is &lt;br /&gt;
repeated every week (Weekly).&lt;br /&gt;
Then i create a "normal" appointment for the March 8th &lt;br /&gt;
2005, this entry is not visible in the dayview, but the &lt;br /&gt;
reccurent appointment is visible.&lt;/p&gt;
&lt;p&gt;Thanks for assistance...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 18 Apr 2005 12:35:45 -0000</pubDate><guid>https://sourceforge.net415ec917b119f48a3fdc9d70a96c8dd6192a4497</guid></item><item><title>20 bugs (and here's the fixes)</title><link>https://sourceforge.net/p/tpvplanit/bugs/79/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've just finished work on the latest version of eyebol, my &lt;br /&gt;
source code analyzer (www.pascalanalyzer.com). As a &lt;br /&gt;
way of testing it (and a shameless way of plugging it) I &lt;br /&gt;
run it on my favorite open source programs and publish &lt;br /&gt;
any bugs it finds. Here's 20 occurrences of a common &lt;br /&gt;
mistake it found in Visual PlanIt.&lt;/p&gt;
&lt;p&gt;Can you spot what's wrong with this line ?&lt;/p&gt;
&lt;p&gt;DayStr:=FormatDateTime('hh:mm AM/PM',Now);&lt;/p&gt;
&lt;p&gt;There are 20 places in PlanIt where this sort of mistake &lt;br /&gt;
is made. Know what's wrong with it yet ? &lt;/p&gt;
&lt;p&gt;The mm in a FormatDateTime signifies month, not &lt;br /&gt;
minute even though it is very natural to type h:mm. The &lt;br /&gt;
letter n signifies minute so it should read h:nn. The files &lt;br /&gt;
in happens in are : VpClock.pas, VpEventRpt.pas, &lt;br /&gt;
VpEvntEditDlg, VpMonthView.pas and VpWeekView.pas&lt;/p&gt;
&lt;p&gt;A quick search for 'h:mm' and replacing it with 'h:nn' &lt;br /&gt;
would fix it. Or you could purchase eyebol &lt;br /&gt;
(www.pascalanalyzer.com) and it will automatically &lt;br /&gt;
apply all the changes for you :)&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
Michael&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 23 Mar 2005 19:56:31 -0000</pubDate><guid>https://sourceforge.net983dc9076de78e2d72368c4cce5aaffa74b30675</guid></item><item><title>Resource field mapping of 'Active'</title><link>https://sourceforge.net/p/tpvplanit/bugs/78/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There appear to be inconsistencies in the name of the &lt;br /&gt;
field 'Active' vs 'ResourceActive' in the unit 'VpFlxDS'.&lt;br /&gt;
Corrected by replacing line 432:&lt;br /&gt;
FN := GetFieldName(FResourceMappings, 'Active');&lt;br /&gt;
with:&lt;br /&gt;
FN := GetFieldName&lt;br /&gt;
(FResourceMappings, 'ResourceActive');&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">George Kruzyk</dc:creator><pubDate>Sun, 11 Apr 2004 03:05:12 -0000</pubDate><guid>https://sourceforge.neta4d815daf102bd436dca03708c7ef8e6885664a7</guid></item><item><title>Fix for the AV using F2</title><link>https://sourceforge.net/p/tpvplanit/bugs/77/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Sorre for my long post before but I new in using &lt;br /&gt;
Sourceforge. See the attatched file for my changes.&lt;/p&gt;
&lt;p&gt;/Brian&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian Andersen</dc:creator><pubDate>Tue, 16 Dec 2003 08:52:41 -0000</pubDate><guid>https://sourceforge.net64f534c44ad3e91b2d8972203de6ad13768a1cba</guid></item><item><title>GetNewID on TVpCustomDBDataStore.LoadContacts</title><link>https://sourceforge.net/p/tpvplanit/bugs/76/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I cannot understand why you use GetNewID (just like if &lt;br /&gt;
you were creating a new record in the table when you'r &lt;br /&gt;
just loading the data in memory to display them) when &lt;br /&gt;
you load contacts, tasks or events on changing the &lt;br /&gt;
ressource in the combobox.&lt;br /&gt;
This results in a incontrolable growing of the IDs in the &lt;br /&gt;
IDTable and in a unbearable slow loading of contacts &lt;br /&gt;
when you begin to have lot of records in the table.&lt;/p&gt;
&lt;p&gt;I have replaced the following code : &lt;br /&gt;
procedure TVpCustomDBDataStore.LoadContacts;&lt;br /&gt;
var&lt;br /&gt;
Contact: TVpContact;&lt;br /&gt;
begin&lt;br /&gt;
if (Resource &amp;amp;lt;&amp;amp;gt; nil) then&lt;br /&gt;
with ContactsTable do begin&lt;br /&gt;
SetFilterCriteria(ContactsTable, False,&lt;br /&gt;
ResourceTable.FieldByName&lt;br /&gt;
('ResourceID').AsInteger,&lt;br /&gt;
0, 0);&lt;br /&gt;
First;&lt;br /&gt;
while not EOF do begin&lt;br /&gt;
Contact := Resource.Contacts.AddContact&lt;br /&gt;
(GetNextID(ContactsTableName));&lt;/p&gt;
&lt;p&gt;by this one :&lt;/p&gt;
&lt;p&gt;procedure TVpCustomDBDataStore.LoadContacts;&lt;br /&gt;
var&lt;br /&gt;
Contact: TVpContact;&lt;br /&gt;
begin&lt;br /&gt;
if (Resource &amp;amp;lt;&amp;amp;gt; nil) then&lt;br /&gt;
with ContactsTable do begin&lt;br /&gt;
SetFilterCriteria(ContactsTable, False,&lt;br /&gt;
ResourceTable.FieldByName&lt;br /&gt;
('ResourceID').AsInteger,&lt;br /&gt;
0, 0);&lt;br /&gt;
First;&lt;br /&gt;
while not EOF do begin&lt;br /&gt;
Contact := Resource.Contacts.AddContact&lt;br /&gt;
(FieldByName('RecordID').AsInteger);&lt;/p&gt;
&lt;p&gt;Now everything is working well and quick :).&lt;br /&gt;
Tell me if i have done something wrong&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 30 Sep 2003 13:30:07 -0000</pubDate><guid>https://sourceforge.net9b4131fc758dc4ecbd25fdd203e4bf7c3fae3b69</guid></item><item><title>TVpContacts.FindContactByName </title><link>https://sourceforge.net/p/tpvplanit/bugs/75/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;function TVpContacts.FindContactByName does not &lt;br /&gt;
consider the value of SortBy property for search &lt;br /&gt;
contacts in ContactGrid, It always make a search in &lt;br /&gt;
LastName.&lt;/p&gt;
&lt;p&gt;Below, the correct code:&lt;/p&gt;
&lt;p&gt;function TVpContacts.FindContactByName(const Name: &lt;br /&gt;
string;             &lt;br /&gt;
CaseInsensitive: Boolean): TVpContact;&lt;br /&gt;
var&lt;br /&gt;
I: Integer;&lt;br /&gt;
SearchStr: String;&lt;br /&gt;
SearchLength: Integer;&lt;br /&gt;
SrcStr: String;&lt;br /&gt;
begin&lt;br /&gt;
Result := nil;&lt;/p&gt;
&lt;p&gt;{ to enhance performance, uppercase the input name }&lt;br /&gt;
{ and get its length only once                     }&lt;br /&gt;
if CaseInsensitive then&lt;br /&gt;
SearchStr := uppercase(Name)&lt;br /&gt;
else&lt;br /&gt;
SearchStr := Name;&lt;br /&gt;
SearchLength := Length(SearchStr);&lt;/p&gt;
&lt;p&gt;{ Iterate the contacts looking for a match }&lt;br /&gt;
for I := 0 to FContactsList.Count - 1 do begin&lt;br /&gt;
// ---------&amp;amp;gt;&amp;amp;gt;&lt;br /&gt;
if FContactSort = csFirstLast then&lt;br /&gt;
SrcStr := TVpContact(FContactsList.List^&lt;br /&gt;
[I]).FirstName&lt;br /&gt;
else&lt;br /&gt;
SrcStr := TVpContact(FContactsList.List^&lt;br /&gt;
[I]).LastName;&lt;br /&gt;
//--------------&amp;amp;gt;&amp;amp;gt;&lt;br /&gt;
if CaseInsensitive then begin&lt;br /&gt;
{ not case sensitive }&lt;br /&gt;
//--------------&amp;amp;gt;&amp;amp;gt;&lt;br /&gt;
if UpperCase(Copy(SrcStr, 1, SearchLength)) = &lt;br /&gt;
SearchStr then begin&lt;br /&gt;
//--------------&amp;amp;gt;&amp;amp;gt;&lt;br /&gt;
{ we found a match, so return it and bail out }&lt;br /&gt;
Result := FContactsList.Items[I];&lt;br /&gt;
Exit;&lt;br /&gt;
end;&lt;br /&gt;
end else begin&lt;br /&gt;
{ case sensitive }&lt;br /&gt;
//--------------&amp;amp;gt;&amp;amp;gt;&lt;br /&gt;
if Copy(SrcStr, 1, SearchLength) = SearchStr then &lt;br /&gt;
begin&lt;br /&gt;
//--------------&amp;amp;gt;&amp;amp;gt;&lt;br /&gt;
{ we found a match, so return it and bail out }&lt;br /&gt;
Result := FContactsList.Items[I];&lt;br /&gt;
Exit;&lt;br /&gt;
end;&lt;br /&gt;
end;&lt;br /&gt;
end;                                                                 &lt;br /&gt;
end;                                                                   &lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roberto Chostakovis</dc:creator><pubDate>Wed, 21 May 2003 16:33:33 -0000</pubDate><guid>https://sourceforge.nete566969bde8774569e5d7b982f5cfa468c33021c</guid></item><item><title>TVpFF2DataStore.SetFilterCriteria is not working </title><link>https://sourceforge.net/p/tpvplanit/bugs/74/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When an recurrence event is out of date range ( date +- &lt;br /&gt;
daybuffer) , event is not load.&lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roberto Chostakovis</dc:creator><pubDate>Tue, 20 May 2003 03:31:57 -0000</pubDate><guid>https://sourceforge.net95b8d94e8cd8c6a0e9c8e6d20d16ce35a34e0a00</guid></item></channel></rss>