|
| |
|
|
pmagas
Posts: 367 Joined: 3/26/2002 From: St. Louis MO USA Status: offline
|
"Loop without do" - 8/11/2004 16:31:30
I'm having problems with FP2003 & the DRW. I've copied the 'old' _fpclass files in but now get this strange error message: quote:
Microsoft VBScript compilation error '800a040e' 'loop' without 'do' /analysis/_fpclass/fpdbrgn2.inc, line 5 Loop ^ I've looked through the forum and the problems relating to the DRW in FP2003 and don't see this one. Is it a problem with my site rather than the fpdbrgn2.inc file?
_____________________________
Penny humble webmaster of We Sell St. Louis http://www.WeSellStLouis.com http://www.MarkSellsStLouis.net http://www.St-Louis-Mo.info http://www.NealSellsStLouis.com
|
|
|
|
pmagas
Posts: 367 Joined: 3/26/2002 From: St. Louis MO USA Status: offline
|
RE: "Loop without do" - 8/11/2004 19:03:02
Thanks, Bobby! I started some pages 'fresh' using FP 2000 so I don't have to worry about the _fpclass problems. Now I have a logic problem. Here's my code: quote:
<% fp_sQry="SELECT * FROM MF2old WHERE ([Listing Price] >= ::From:: AND [Listing Price] <= ::To:: AND [Address - Zip] LIKE '::Zip::' AND [Area Desc] LIKE '::Area::' AND [Type of Units Desc] = '::Type::' AND [Unit 1-# of Bedrooms] >= ::Bedrooms:: OR [Listing Price] >= ::From:: AND [Listing Price] <= ::To:: AND [Address - Zip] LIKE '::Zip::' AND [Area Desc] LIKE '::Area::' AND [Type of Units Desc] = '::Type::' AND [Unit 2-# of Bedrooms] >= ::Bedrooms:: OR [Listing Price] >= ::From:: AND [Listing Price] <= ::To:: AND [Address - Zip] LIKE '::Zip::' AND [Area Desc] LIKE '::Area::' AND [Type of Units Desc] = '::Type::' AND [Unit 3-# of Bedrooms] >= ::Bedrooms:: OR [Listing Price] >= ::From:: AND [Listing Price] <= ::To:: AND [Address - Zip] LIKE '::Zip::' AND [Area Desc] LIKE '::Area::' AND [Type of Units Desc] = '::Type::' AND [Unit 4-# of Bedrooms] >= ::Bedrooms::) ORDER BY [Net Income] DESC,[Listing Price] DESC" fp_sDefault="From=&To=&Zip=&Area=&Type=&Bedrooms=&From=&To=&Zip=&Area=&Type=&Bedrooms=&From=&To=&Zip=&Area=&Type=&Bedrooms=&From=&To=&Zip=&Area=&Type=&Bedrooms=" fp_sNoRecords="No records returned." fp_sDataConn="Database1" fp_iMaxRecords=256 fp_iCommandType=1 fp_iPageSize=5 fp_fTableFormat=False fp_fMenuFormat=False fp_sMenuChoice="" fp_sMenuValue="" fp_iDisplayCols=31 fp_fCustomQuery=True BOTID=0 fp_iRegion=BOTID %> (I've put it on a Spooky diet.) From the search page, using the defaults, it gives "No Records Found." There are about 440 records and at least 100 should come up with the defaults. I imagine the problem is in my query but I can't find it. Thanks for any insight you might offer.
_____________________________
Penny humble webmaster of We Sell St. Louis http://www.WeSellStLouis.com http://www.MarkSellsStLouis.net http://www.St-Louis-Mo.info http://www.NealSellsStLouis.com
|
|
|
|
BeTheBall
Posts: 6359 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
RE: "Loop without do" - 8/11/2004 19:21:17
Back to your original issue, it seems to me I got that error message when I tried to replace only one of the 2003 includes with the FP 2000 versions. Make sure you replace these 3 files with the FP 2000 version: fpdblib.inc fpdbrgn1.inc fpdbrgn2.inc
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|