msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VB not totaling last item

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax
Author Message
DN



Joined: 04 Oct 2007
Posts: 1

PostPosted: Fri Jul 07, 2006 9:46 am    Post subject: VB not totaling last item Reply with quote

I cross posted this on the Front Page list because that is what I am using to
generate my web pages along with VB script and SQL.

I have an Access database and am using Front Page with a little SQL and VB
script to manipulate and display data. I am having some problems with a page
that is displaying data properly but is not totaling points correctly by the
desired variable. It is also not providing total points for the last entry
on the page. I'm not sure this is the correct list to get help with this or
not. Here is some of the code from the page. I need it to total points by
NWHAHP
even if there is a newshow or lastshow. I also need it to provide total
points for the last NWHAHP entry on the page. Thanks in advance for any
suggestions and assistance. If you need more information, please let me
know.......DN



<%dim Lastshow, Newshow, LastNWHAHP, NewNWHAHP
Lastshow = " "
Newshow = " "
LastNWHAHP = " "
NewNWHAHP = " "
%>

<%dim Totalpoints
Totalpoints = 0.0
%>

Within this area is the Database Results info.








LastNWHAHP) and (LastNWHAHP " ")) or ((Newshow
Lastshow) and (Lastshow " ")) then%>
size="1" >Total Points









LastNWHAHP) ) then%>
Jeff Johnson



Joined: 04 Oct 2007
Posts: 1327

PostPosted: Fri Jul 07, 2006 3:44 pm    Post subject: Re: VB not totaling last item Reply with quote

"DN" wrote in message @microsoft.com...

>I cross posted this on the Front Page list because that is what I am using
>to
> generate my web pages along with VB script and SQL.

A) You did not crosspost, you multiposted.

B) This group is for the full, standalone version of VB. It is not for
VBScript. Try microsoft.public.scripting.vbscript.

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Set value of combo box to first item in list Hi I have a combo box that is populated using the AddItem method How can I set the value of the combobox to the first item in the list?

Placing Icon beside item in ListBox Is there any way to do the following: I want to add an icon beside an item in a ListBox. The functionality must be dynamic, meaning if a user is a certain type, then assign this icon beside their name. Does anyone know if there is a control out there (o

How to fulfil comment item at textfile? I would like to fulfil comment item at textfile in VBScript. This Item we can find in Explorer. At the actual file we can view Properties and there in the Summary is item Comment. I would like to know, which object can i use for it? Thanks

List boxes and Item Data Reference Hi All I have a question regarding referencing the ItemData property of List and Combo boxes. I tend to use the following code: If = but wonder if this is faster / better than holding the ListIndex value seperatly.

10 to 20 item optimizer? I am looking to write a optimizer but my math is not what it should be. I have tried a brute force method of iterating every possible combination until I get the results I want but it takes days or weeks to run that way. Has anybody written a "general" op
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group