catalyst2 community forums  

Go Back   catalyst2 community forums > catalyst2 Community > Sites Hosted by catalyst2

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 08-07-2004, 06:05 PM   #1 (permalink)
web/accordion programmer
 
JoeWass's Avatar
 
Join Date: Apr 2004
Location: A London Suburb...
Posts: 101
Send a message via MSN to JoeWass
Book Quest

Hiya guys another proud release o'mine... well release. It's a monster job, cataloguing an entire book shop.

This is two days' cataloguing.. http://www.book-quest.com/
I know the formatting of the currenty isn't exatctly great (anyone know how to use the format( function (at least I think that's what it's called) so I can turn 8.5 into 8.50 ?

And I will be writing a legend to things like dj, foxed, etc etc. It's second hand book lingo i'll have you know...

anyhow your please comments, sirs!
JoeWass is offline   Reply With Quote
Old 08-07-2004, 06:42 PM   #2 (permalink)
Applications Developer
 
Tim Marshall's Avatar
 
Join Date: Oct 2003
Location: Cheshire
Posts: 275
Try Format Number, should do what you need. Change the '2' to display the amount of numbers after the decimal point!!

<%="£" & FormatNumber(Session("price"),2)%>

Tim Marshall
Tim Marshall is offline   Reply With Quote
Old 08-07-2004, 06:45 PM   #3 (permalink)
Applications Developer
 
Tim Marshall's Avatar
 
Join Date: Oct 2003
Location: Cheshire
Posts: 275
The sites good, i'd think about removing the 'entire stock link' because it will slow your page down if it loads a lot of records.

Perhaps a top 20 of the month instead or the more rare books could be shown instead as you do have a thorough search section.

Nice Job!

Tim Marshall
Tim Marshall is offline   Reply With Quote
Old 08-07-2004, 06:57 PM   #4 (permalink)
web/accordion programmer
 
JoeWass's Avatar
 
Join Date: Apr 2004
Location: A London Suburb...
Posts: 101
Send a message via MSN to JoeWass
format etc

Cheers! That's only one cabinet out of about 15...
Thanks for format code. I'd done it before in some dim and distant project but had clean forgoten... and how did you (nearly) guess the variable name I'd chosen?

Also the customer isn't ... hands on with computers. Certainly not enough to make a selection of the month! Full stock list was so client can do exactly that and for google. Hits and that. Why not take full advantage? And I don't believe in anything underhand like making it the same colour as background. Neither does google from its docs.

Point taken onboard however; I might consider a precompiled html one tho...

Last edited by JoeWass; 08-07-2004 at 07:07 PM.
JoeWass is offline   Reply With Quote
Old 09-07-2004, 05:49 PM   #5 (permalink)
web/accordion programmer
 
JoeWass's Avatar
 
Join Date: Apr 2004
Location: A London Suburb...
Posts: 101
Send a message via MSN to JoeWass
So how's this
http://www.book-quest.com/stocklist.htm
I like it when things work
JoeWass is offline   Reply With Quote
Old 09-07-2004, 05:55 PM   #6 (permalink)
Applications Developer
 
Tim Marshall's Avatar
 
Join Date: Oct 2003
Location: Cheshire
Posts: 275
Looks good, need to sort the tags at the bottom though!!!

Nice job!

Tim Marshall
Tim Marshall is offline   Reply With Quote
Old 09-07-2004, 08:25 PM   #7 (permalink)
web/accordion programmer
 
JoeWass's Avatar
 
Join Date: Apr 2004
Location: A London Suburb...
Posts: 101
Send a message via MSN to JoeWass
ssh! you really think I revisited the horror of all that data again by scrolling down? Later. Friday night is not for tags.
JoeWass is offline   Reply With Quote
Old 09-07-2004, 08:29 PM   #8 (permalink)
Applications Developer
 
Tim Marshall's Avatar
 
Join Date: Oct 2003
Location: Cheshire
Posts: 275
This won't hurt too bad, your 'BODY' and 'HTML' tags just need a closing '>'

Tim Marshall
Tim Marshall is offline   Reply With Quote
Old 09-07-2004, 08:55 PM   #9 (permalink)
Registered User
 
markjanssen's Avatar
 
Join Date: May 2003
Location: /home/mark/
Posts: 389
Send a message via ICQ to markjanssen Send a message via AIM to markjanssen Send a message via MSN to markjanssen Send a message via Yahoo to markjanssen
I remember .NET has some functions for currencies..it'll then add currency signs etc.

If anyone wants to I will search for the code.
__________________
#mark
-bash: /dev/mind: No such file or directory

homepage: http://www.givemehelp.co.uk/ / support forums: http://www.givemehelp.co.uk/forums/ / irc: #givemehelp on quakenet
email: mark@givemehelp.co.uk / msn: mark@givemehelp.co.uk / aim: mark177283829 / icq: 177283829 / yahoo: mark177283829
Mozilla Firefox: Safer, Faster, Better
markjanssen is offline   Reply With Quote
Old 10-07-2004, 01:53 AM   #10 (permalink)
web/accordion programmer
 
JoeWass's Avatar
 
Join Date: Apr 2004
Location: A London Suburb...
Posts: 101
Send a message via MSN to JoeWass
I know re tags its just I had some barbecueing to do... re currency worry not. Thanks for offer, but 1) it's not .net and 2) solution found in formatnumber or numberformat or whatever it was (thanks whoever gave me that syntax).

If only there were import and translation functions for shop inventory > data ...

How big can I stretch this access file before it breaks? It looks like I'm looking at ... 5550 entries..? each no more than 3k. I'm _assuming_ that's acceptable, but MS never ceases to shock me. Answers on the back of a twenty pound note...
JoeWass is offline   Reply With Quote
Old 10-07-2004, 09:06 AM   #11 (permalink)
Registered User
 
markjanssen's Avatar
 
Join Date: May 2003
Location: /home/mark/
Posts: 389
Send a message via ICQ to markjanssen Send a message via AIM to markjanssen Send a message via MSN to markjanssen Send a message via Yahoo to markjanssen
What'd you mean, 'before it breaks'?

btw, use html entities for non-alphanumeric characters (like the copyright sign, pound sign, euro sign). This ensures end-users will see the character and not another.
copyright sign: &copy;
pound sign: &pound;
euro sign: &euro;
__________________
#mark
-bash: /dev/mind: No such file or directory

homepage: http://www.givemehelp.co.uk/ / support forums: http://www.givemehelp.co.uk/forums/ / irc: #givemehelp on quakenet
email: mark@givemehelp.co.uk / msn: mark@givemehelp.co.uk / aim: mark177283829 / icq: 177283829 / yahoo: mark177283829
Mozilla Firefox: Safer, Faster, Better

Last edited by markjanssen; 10-07-2004 at 09:09 AM.
markjanssen is offline   Reply With Quote
Old 10-07-2004, 09:21 AM   #12 (permalink)
web/accordion programmer
 
JoeWass's Avatar
 
Join Date: Apr 2004
Location: A London Suburb...
Posts: 101
Send a message via MSN to JoeWass
re entities. you're right changed.
re 'before it breaks'. The number of people who tell me that Access can't take the strain (apparently Paul asked my friend's brother to move over to mysql or something for that reason) has started to frighten me, and I was wondering if anyone knew what that breaking point was.
JoeWass is offline   Reply With Quote
Old 10-07-2004, 09:52 AM   #13 (permalink)
Registered User
 
markjanssen's Avatar
 
Join Date: May 2003
Location: /home/mark/
Posts: 389
Send a message via ICQ to markjanssen Send a message via AIM to markjanssen Send a message via MSN to markjanssen Send a message via Yahoo to markjanssen
It hasn't got to do with the number of records but more how you query the database..when you do lots of complex queries, access simply breaks easier (or does everything very slow). Of course with more records, queries also take more time.

We're developing a technology in .NET to reduce the number of database queries by 50% .
__________________
#mark
-bash: /dev/mind: No such file or directory

homepage: http://www.givemehelp.co.uk/ / support forums: http://www.givemehelp.co.uk/forums/ / irc: #givemehelp on quakenet
email: mark@givemehelp.co.uk / msn: mark@givemehelp.co.uk / aim: mark177283829 / icq: 177283829 / yahoo: mark177283829
Mozilla Firefox: Safer, Faster, Better
markjanssen is offline   Reply With Quote
Old 10-07-2004, 09:56 AM   #14 (permalink)
web/accordion programmer
 
JoeWass's Avatar
 
Join Date: Apr 2004
Location: A London Suburb...
Posts: 101
Send a message via MSN to JoeWass
I see. I will have to look into getrows, as I'm not learning .net. It all looks so completely logical and oop i'm not too sure I like it

I had considered precaching searches by term like with stocklist.htm . Or maybe not. It's not exactly popular as popular...
JoeWass is offline   Reply With Quote
Old 10-07-2004, 03:45 PM   #15 (permalink)
Registered User
 
markjanssen's Avatar
 
Join Date: May 2003
Location: /home/mark/
Posts: 389
Send a message via ICQ to markjanssen Send a message via AIM to markjanssen Send a message via MSN to markjanssen Send a message via Yahoo to markjanssen
Our system will work like that but a bit more intelligent...
__________________
#mark
-bash: /dev/mind: No such file or directory

homepage: http://www.givemehelp.co.uk/ / support forums: http://www.givemehelp.co.uk/forums/ / irc: #givemehelp on quakenet
email: mark@givemehelp.co.uk / msn: mark@givemehelp.co.uk / aim: mark177283829 / icq: 177283829 / yahoo: mark177283829
Mozilla Firefox: Safer, Faster, Better
markjanssen is offline   Reply With Quote
Reply

Thread Tools
Display Modes 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 01:11 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.