PC Review


Reply
Thread Tools Rate Thread

Database Update Buttons

 
 
SS
Guest
Posts: n/a
 
      25th May 2005
Hi

When creating a form to be able to update it automatically puts the arrows
at the bottom but they seem to be the wrong way around ie you have to press
> to go back one and < to go forward one.


Can anyone one work out in the script what I have to change to make it more
logical so that the person presses < to go back and > to go forward.

<!--webbot bot="DatabaseRegionEnd" startspan b-tableformat="FALSE"

b-menuformat="FALSE" u-dbrgn2="../../../_fpclass/fpdbrgn2.inc"

i-groupsize="1" clientside tag="BODY"

local_preview="&lt;table border=0
width=&quot;100%&quot;&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#FFFF00&quot;
align=&quot;center&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;End of
Database Results region.&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;TR&gt;&lt;TD
ALIGN=LEFT VALIGN=MIDDLE&gt;&lt;FORM&gt;&lt;NOBR&gt;&lt;INPUT TYPE=Button
VALUE=&quot; |&lt; &quot;&gt;&lt;INPUT TYPE=Button VALUE=&quot; &lt;
&quot;&gt;&lt;INPUT TYPE=Button VALUE=&quot; &gt; &quot;&gt;&lt;INPUT
TYPE=Button VALUE=&quot; &gt;| &quot;&gt;
[1/1]&lt;/NOBR&gt;&lt;/FORM&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;"

preview="&lt;table border=0 width=&quot;100%&quot;&gt;&lt;tr&gt;&lt;td
bgcolor=&quot;#FFFF00&quot; align=&quot;left&quot;&gt;&lt;font
color=&quot;#000000&quot;&gt;This is the end of a Database Results
region.&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;TR&gt;&lt;TD ALIGN=LEFT
VALIGN=MIDDLE&gt;&lt;NOBR&gt;&lt;INPUT TYPE=Button VALUE=&quot; |&lt;
&quot;&gt;&lt;INPUT TYPE=Button VALUE=&quot; &lt; &quot;&gt;&lt;INPUT
TYPE=Button VALUE=&quot; &gt; &quot;&gt;&lt;INPUT TYPE=Button
VALUE=&quot; &gt;| &quot;&gt;
[1/1]&lt;/NOBR&gt;&lt;BR&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;" --><!--#in
clude file="../../../_fpclass/fpdbrgn2.inc"-->

<!--webbot bot="DatabaseRegionEnd" endspan i-CheckSum="9297" -->



Any help would be great thanks Shona.


 
Reply With Quote
 
 
 
 
Kathleen Anderson [MVP - FrontPage]
Guest
Posts: n/a
 
      25th May 2005
That shouldn't be happening - is this live on the web where we can see it?

--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/



SS <(E-Mail Removed)> wrote:
> Hi
>
> When creating a form to be able to update it automatically puts the
> arrows at the bottom but they seem to be the wrong way around ie you
> have to press
>> to go back one and < to go forward one.

>
> Can anyone one work out in the script what I have to change to make
> it more logical so that the person presses < to go back and > to go
> forward.
>
> <!--webbot bot="DatabaseRegionEnd" startspan b-tableformat="FALSE"
>
> b-menuformat="FALSE" u-dbrgn2="../../../_fpclass/fpdbrgn2.inc"
>
> i-groupsize="1" clientside tag="BODY"
>
> local_preview="&lt;table border=0
> width=&quot;100%&quot;&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#FFFF00&quot;
> align=&quot;center&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;End
> of Database Results
> region.&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;TR&gt;&lt;TD ALIGN=LEFT
> VALIGN=MIDDLE&gt;&lt;FORM&gt;&lt;NOBR&gt;&lt;INPUT TYPE=Button
> VALUE=&quot; |&lt; &quot;&gt;&lt;INPUT TYPE=Button VALUE=&quot;
> &lt; &quot;&gt;&lt;INPUT TYPE=Button VALUE=&quot; &gt;
> &quot;&gt;&lt;INPUT TYPE=Button VALUE=&quot; &gt;| &quot;&gt;
> [1/1]&lt;/NOBR&gt;&lt;/FORM&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;"
>
> preview="&lt;table border=0
> width=&quot;100%&quot;&gt;&lt;tr&gt;&lt;td
> bgcolor=&quot;#FFFF00&quot; align=&quot;left&quot;&gt;&lt;font
> color=&quot;#000000&quot;&gt;This is the end of a Database Results
> region.&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;TR&gt;&lt;TD ALIGN=LEFT
> VALIGN=MIDDLE&gt;&lt;NOBR&gt;&lt;INPUT TYPE=Button VALUE=&quot;
> |&lt; &quot;&gt;&lt;INPUT TYPE=Button VALUE=&quot; &lt;
> &quot;&gt;&lt;INPUT TYPE=Button VALUE=&quot; &gt;
> &quot;&gt;&lt;INPUT TYPE=Button VALUE=&quot; &gt;| &quot;&gt;
> [1/1]&lt;/NOBR&gt;&lt;BR&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;"
> --><!--#in clude file="../../../_fpclass/fpdbrgn2.inc"-->
>
> <!--webbot bot="DatabaseRegionEnd" endspan i-CheckSum="9297" -->
>
>
>
> Any help would be great thanks Shona.

 
Reply With Quote
 
SS
Guest
Posts: n/a
 
      26th May 2005
No I'm afraid it isn't it's on an Intranet site

"Kathleen Anderson [MVP - FrontPage]" <(E-Mail Removed)> wrote in
message news:%(E-Mail Removed)...
> That shouldn't be happening - is this live on the web where we can see it?
>
> --
>
> ~ Kathleen Anderson
> Microsoft MVP - FrontPage
> Spider Web Woman Designs
> web: http://www.spiderwebwoman.com/resources/
>
>



 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      26th May 2005
When you say backwards it is relative to the way your DB is sorted and called (if sorted in reverse order)
- the button are scrolling thru the records in the sequence in your DB or any sort applied in the DBRW
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"SS" <(E-Mail Removed)> wrote in message news:d73sut$4e3$(E-Mail Removed)...
| No I'm afraid it isn't it's on an Intranet site
|
| "Kathleen Anderson [MVP - FrontPage]" <(E-Mail Removed)> wrote in
| message news:%(E-Mail Removed)...
| > That shouldn't be happening - is this live on the web where we can see it?
| >
| > --
| >
| > ~ Kathleen Anderson
| > Microsoft MVP - FrontPage
| > Spider Web Woman Designs
| > web: http://www.spiderwebwoman.com/resources/
| >
| >
|
|


 
Reply With Quote
 
SS
Guest
Posts: n/a
 
      26th May 2005
Ah thanks

Don't suppose you know how I could change the buttons though so it looks OK
to the person using them? Still wanted it sorted highest number first.

Cheers Shona
"Stefan B Rusynko" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> When you say backwards it is relative to the way your DB is sorted and

called (if sorted in reverse order)
> - the button are scrolling thru the records in the sequence in your DB or

any sort applied in the DBRW
> --
>
> >

>



 
Reply With Quote
 
Kathleen Anderson [MVP - FrontPage]
Guest
Posts: n/a
 
      26th May 2005
If you add the proper sort criteria to the query the buttons will look OK to
the user.

--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/



SS <(E-Mail Removed)> wrote:
> Ah thanks
>
> Don't suppose you know how I could change the buttons though so it
> looks OK to the person using them? Still wanted it sorted highest
> number first.
>
> Cheers Shona
> "Stefan B Rusynko" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> When you say backwards it is relative to the way your DB is sorted
>> and

> called (if sorted in reverse order)
>> - the button are scrolling thru the records in the sequence in your
>> DB or any sort applied in the DBRW --


 
Reply With Quote
 
SS
Guest
Posts: n/a
 
      26th May 2005
OK thanks as I want highest number first as hopefully that is the one that
the persons needs to update most of the time then Idon't think it can be
done unless it can be done in the custom query somehow which is

Update DISTINCTROW results
SET
Approve='::Approve::',Reject='::Reject::',Approve1='::Approve1::',Reject1=':
:Reject1::',
Approve2='::Approve2::',Reject2='::Reject2::',Approve3='::Approve3::',Reject
3='::Reject3::',
Approve4='::Approve4::',Reject4='::Reject4::',Approve5='::Approve5::',Reject
5='::Reject5::',
Approve6='::Approve6::',Reject6='::Reject6::',Comments='::Comments::',Commen
ts1='::Comments1::',
Comments2='::Comments2::',Comments3='::Comments3::',Comments4='::Comments4::
',Comments5='::Comments5::',
Comments6='::Comments6::'
WHERE ID=::ID::




"Kathleen Anderson [MVP - FrontPage]" <(E-Mail Removed)> wrote in
message news:e0Tci$(E-Mail Removed)...
>



 
Reply With Quote
 
MikeR
Guest
Posts: n/a
 
      26th May 2005
Shona -
The buttons are defined in the
&lt;INPUT TYPE=Button VALUE=&quot; |&lt; &quot;&gt;
statements buried in the stuff FP produced.
In straight HTML this would look like
<INPUT TYPE=Button Value="<">
to change the arrow to point the other way, the statement
would be
&lt;INPUT TYPE=Button VALUE=&quot; |&gt; &quot;&gt;

&lt; = < &gt; = >
I have no idea if you can edit web-bot code directly. I suspect not. Sort is a
display idea. The database doesn't care, and is only sorted if data is entered
sorted. I didn't see an "order by" clause in your query, but I don't use the DRW
and don't know how it works.

Hope this is of some help....
MikeR

SS wrote:
> Hi
>
> When creating a form to be able to update it automatically puts the arrows
> at the bottom but they seem to be the wrong way around ie you have to press
>
>>to go back one and < to go forward one.

>
>
> Can anyone one work out in the script what I have to change to make it more
> logical so that the person presses < to go back and > to go forward.
>
> <!--webbot bot="DatabaseRegionEnd" startspan b-tableformat="FALSE"
>
> b-menuformat="FALSE" u-dbrgn2="../../../_fpclass/fpdbrgn2.inc"
>
> i-groupsize="1" clientside tag="BODY"
>
> local_preview="&lt;table border=0
> width=&quot;100%&quot;&gt;&lt;tr&gt;&lt;td bgcolor=&quot;#FFFF00&quot;
> align=&quot;center&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;End of
> Database Results region.&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;TR&gt;&lt;TD
> ALIGN=LEFT VALIGN=MIDDLE&gt;&lt;FORM&gt;&lt;NOBR&gt;&lt;INPUT TYPE=Button
> VALUE=&quot; |&lt; &quot;&gt;&lt;INPUT TYPE=Button VALUE=&quot; &lt;
> &quot;&gt;&lt;INPUT TYPE=Button VALUE=&quot; &gt; &quot;&gt;&lt;INPUT
> TYPE=Button VALUE=&quot; &gt;| &quot;&gt;
> [1/1]&lt;/NOBR&gt;&lt;/FORM&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;"
>
> preview="&lt;table border=0 width=&quot;100%&quot;&gt;&lt;tr&gt;&lt;td
> bgcolor=&quot;#FFFF00&quot; align=&quot;left&quot;&gt;&lt;font
> color=&quot;#000000&quot;&gt;This is the end of a Database Results
> region.&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;TR&gt;&lt;TD ALIGN=LEFT
> VALIGN=MIDDLE&gt;&lt;NOBR&gt;&lt;INPUT TYPE=Button VALUE=&quot; |&lt;
> &quot;&gt;&lt;INPUT TYPE=Button VALUE=&quot; &lt; &quot;&gt;&lt;INPUT
> TYPE=Button VALUE=&quot; &gt; &quot;&gt;&lt;INPUT TYPE=Button
> VALUE=&quot; &gt;| &quot;&gt;
> [1/1]&lt;/NOBR&gt;&lt;BR&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;" --><!--#in
> clude file="../../../_fpclass/fpdbrgn2.inc"-->
>
> <!--webbot bot="DatabaseRegionEnd" endspan i-CheckSum="9297" -->
>
>
>
> Any help would be great thanks Shona.
>
>

 
Reply With Quote
 
SS
Guest
Posts: n/a
 
      27th May 2005
Thanks for that unfortunately it doesn't change looks like I will just have
to live with it!

Thanks Again


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update Excel Database via Access Main Database with a script Finnbar Microsoft Excel New Users 2 3rd Nov 2008 07:24 PM
Using Excel as a database and need macro or vba to take data entered on one tab and update the database by adding to the next avail row rjr Microsoft Excel Programming 5 11th Jun 2006 09:43 PM
Database moving buttons =?Utf-8?B?U21pc2xv?= Microsoft Frontpage 2 28th Sep 2005 04:58 PM
DATA UPDATE FROM CLIENT SIDE DATABASE TO WEB-SERVER DATABASE http://www.visual-basic-data-mining.net/forum Microsoft Access 0 23rd Sep 2004 03:35 PM
Database Results Wizard Buttons CJ Microsoft Frontpage 6 9th Apr 2004 07:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:02 PM.