WillyBanjo
08-18-2000, 02:45 PM
Hi chaps. Got a question. I'm setting up my accounts as an Access DB; basically consists of amount, description, and whether it's going in :) or going out :(
Very simple ASP pulls info out, and writes a table with it.
Now, I would dearly love any entries in the "Amount" field to appear in my table with black text when the "IN?" field was TRUE, and red text when it was FALSE (ie: money going out). I can do this in JavaScript, but have no idea in VBScript. So: can someone either (a) show me if (and how) I can pass info from VBScript to JavaScript, or (b) show me how to set text properties (and other fun stuff like bgcolor) in VBScript?
Is it just a case of making an if statement with several possible response.write's in it?
Oh - and while I'm here: assuming I'm not going to be swamped by thousands of eager surfers, how reliable is Access as a live DB?
[Edited by WillyBanjo on 08-18-2000 at 08:50 AM]
Very simple ASP pulls info out, and writes a table with it.
Now, I would dearly love any entries in the "Amount" field to appear in my table with black text when the "IN?" field was TRUE, and red text when it was FALSE (ie: money going out). I can do this in JavaScript, but have no idea in VBScript. So: can someone either (a) show me if (and how) I can pass info from VBScript to JavaScript, or (b) show me how to set text properties (and other fun stuff like bgcolor) in VBScript?
Is it just a case of making an if statement with several possible response.write's in it?
Oh - and while I'm here: assuming I'm not going to be swamped by thousands of eager surfers, how reliable is Access as a live DB?
[Edited by WillyBanjo on 08-18-2000 at 08:50 AM]