At 07:05 -0700 01-10-2002, Bufford Ennox wrote: >I'm working with Lasso and a FileMaker 5 database wich >is being hosted at Digital forest so I amd not sure >which version of Lasso they are using. I'm assuming 5, >but I can find out today if necessary.
I'm not familiar with Lasso but in PHP I would do something like this: I have three fields in the HTML. <input type="text" name="day" size="2" maxlength="2"> <input type="text" name="month" size="2" maxlength="2"> <input type="text" name="year" size="4" maxlength="4"> On submit PHP automatically assigns the values the user filled in to the variables $day, $month and $year, you can then create a new variable that concatenates these variables: $fulldate = "$year$month$day" // create new variable in format yyyymmdd and then use the variable $fulldate in the query; for mysql: $query = "SELECT * FROM table_name WHERE date_column = "$fulldate"; // * is all columns $result = mysql_query($query); Like I said, I'm not familiar with Lasso but something like this should be possible, if you can't figure it out perhaps the lasso list archive can help out: http://www.ListSearch.com/lassotalk.lasso I would definitely go this way and rely on the browser's javascript engine. HTH, Harold. -- NIL ANXIETAS http://www.haroldbakker.com Dreamweaver extensions, PHP, movies, sillyness -- Mac Webmasters is sponsored by <http://lowendmac.com/> and... Small Dog Electronics has Lasso, Filemaker, and FileMaker Server on Sale! High Technology for low prices. http://www.smalldog.com Support Low End Mac <http://lowendmac.com/lists/support.html> Mac Webmasters info: <http://lowendmac.com/lists/macweb.shtml> Send list messages to: <mailto:[EMAIL PROTECTED]> To unsubscribe, email: <mailto:[EMAIL PROTECTED]> For digest mode, email: <mailto:[EMAIL PROTECTED]> Subscription questions: <mailto:[EMAIL PROTECTED]> List archive: <http://www.mail-archive.com/mac.webmasters%40mail.maclaunch.com/> Using a Macintosh? Get free email and more at Applelinks! <http://www.applelinks.com>
