Re: Add button acting as Save button on first use

Joshua Brickel <[email protected]> Tue, 20 Sep 2005 13:41:59 -0200
Newsgroups gmane.comp.db.rekall.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============0498016492==
Content-Type: multipart/alternative;
	boundary="------------030709030803020702000305"

This is a multi-part message in MIME format.
--------------030709030803020702000305
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

 Hi,

I will try to be clearer...

   1. I created a table called "test", it had two columns.  One is an
      index called "id" that is declared the primary key.  The second is
      a VARCHAR field called "name".
   2. Next I created a Form using the "Create Form With..." with the
      following atributes:
          * A field to fill in a "name"
          * The "Add", "Save", "Delete" buttons were added
          * the MiniNavi Bar is activated
   3. I then used the form to add two names into the table "test."
   4. I then closed the form.
   5. I then reopened the form.  At this point I noticed that the form
      shows the first item in table "test" and the MiniNavi Bar indeed
      shows "Record 1 of 2"
   6. I then change the name in the text filed and press the button "Add".

What I would expect at this point is that I would have added a new entry 
to the bottom of the table.  However what occurs is that Record #1 is 
overwritten.

   7. After that the MiniNavi Bar skipps over to say "New Record"

If I add another entry at this point it will now add this new entry to 
the end of the table.

So in summary, what I would expect is that if I use the "add" button 
from in step 6 that a new entry would be added to the table "test".  If 
I wanted the entry overwritten I would have pushed on the "save" button.

If between steps 5 and 6 above I pressed on "add" then the form skips to 
the end of the list, but does not actually add a record. 

If I am still not clear enough, please let me know in which areas 
(steps) I should be more specific.

Regards,

Joshua

Mike Richardson wrote:

>On Tuesday 20 September 2005 14:31, Joshua Brickel wrote:
>  
>
>>Hi,
>>
>>I have begun to experiment with using Rekall to design front ends to the
>>MySQL database.  I hve been having a problem with the "add" button when
>>creating a form.
>>
>>The problem is that it would appear that the add button should "add" a
>>new entry into the database.  However the first time the "add" button is
>>pressed it actually to replaces the first entry in the list.  After that
>>an additional entries are actually added to the dB.  The add button
>>should NOT replace the first entry.
>>    
>>
>
>Sorry, not quite sure what you mean, could you elaborate a bit (a blow-by-blow 
>account :)
>
>Ta
>Mike
>
>  
>
>>In fact the Rekall system seems to treat the first one as if I had
>>pressed "save" instead of "add."
>>
>>I am using Rekall ver.  2.2.3, with MySQL ver. 4.0.24 running on a
>>Debian Linux system.
>>
>>Has this bug been reported by anyone else?  Does anyone have a work
>>around?  Also is there a place (mailing list, website, etc.) for me to
>>report the bug.
>>
>>Regards,
>>
>>Joshua
>>
>>
>>
>>_______________________________________________
>>Rekall-devel mailing list
>>[email protected]
>>http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall-devel
>>    
>>
>
>  
>


--------------030709030803020702000305
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=iso-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
&nbsp;Hi,<br>
<br>
I will try to be clearer...<br>
<br>
<ol>
  <li>I created a table called "test", it had two columns.&nbsp; One is an
index called "id" that is declared the primary key.&nbsp; The second is a
VARCHAR field called "name". <br>
  </li>
  <li>Next I created a Form using the "Create Form With..." with the
following atributes:</li>
  <ul>
    <li>A field to fill in a "name"</li>
    <li>The "Add", "Save", "Delete" buttons were added</li>
    <li>the MiniNavi Bar is activated</li>
  </ul>
  <li>I then used the form to add two names into the table "test."<br>
  </li>
  <li>I then closed the form.</li>
  <li>I then reopened the form.&nbsp; At this point I noticed that the form
shows the first item in table "test" and the MiniNavi Bar indeed shows
"Record 1 of 2"</li>
  <li>I then change the name in the text filed and press the button
"Add".</li>
</ol>
What I would expect at this point is that I would have added a new
entry to the bottom of the table.&nbsp; However what occurs is that Record
#1 is overwritten.<br>
<br>
<ol start="7">
  <li>After that the MiniNavi Bar skipps over to say "New Record"</li>
</ol>
If I add another entry at this point it will now add this new entry to
the end of the table.<br>
<br>
So in summary, what I would expect is that if I use the "add" button
from in step 6 that a new entry would be added to the table "test".&nbsp; If
I wanted the entry overwritten I would have pushed on the "save" button.<br>
<br>
If between steps 5 and 6 above I pressed on "add" then the form skips
to the end of the list, but does not actually add a record.&nbsp; <br>
<br>
If I am still not clear enough, please let me know in which areas
(steps) I should be more specific.<br>
<br>
Regards,<br>
<br>
Joshua<br>
<br>
Mike Richardson wrote:
<blockquote cite="mid200509201049.07956.mike-1gTsUfBLqWsG2Il/[email protected]"
 type="cite">
  <pre wrap="">On Tuesday 20 September 2005 14:31, Joshua Brickel wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,

I have begun to experiment with using Rekall to design front ends to the
MySQL database.  I hve been having a problem with the "add" button when
creating a form.

The problem is that it would appear that the add button should "add" a
new entry into the database.  However the first time the "add" button is
pressed it actually to replaces the first entry in the list.  After that
an additional entries are actually added to the dB.  The add button
should NOT replace the first entry.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Sorry, not quite sure what you mean, could you elaborate a bit (a blow-by-blow 
account :)

Ta
Mike

  </pre>
  <blockquote type="cite">
    <pre wrap="">In fact the Rekall system seems to treat the first one as if I had
pressed "save" instead of "add."

I am using Rekall ver.  2.2.3, with MySQL ver. 4.0.24 running on a
Debian Linux system.

Has this bug been reported by anyone else?  Does anyone have a work
around?  Also is there a place (mailing list, website, etc.) for me to
report the bug.

Regards,

Joshua



_______________________________________________
Rekall-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall-devel">http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall-devel</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
</body>
</html>

--------------030709030803020702000305--

--===============0498016492==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Rekall-devel mailing list
[email protected]
http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall-devel
--===============0498016492==--