OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

DRW, SQL and Numeric Data Types

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP, PHP, and Database >> DRW, SQL and Numeric Data Types
Page: [1]
 
JMo

 

Posts: 13
From: Kansas, USA
Status: offline

 
DRW, SQL and Numeric Data Types - 2/16/2004 15:01:54   
I have SQL tables that I am trying to edit by using the DRW. They worked in FP2000 and now that I have 2003 any table that has a field with a numeric data type blows up the edit portion of the DRW saying that the precision is invalid. I've tried changing the precision in the SQL table and nothing seems to work. Numeric is the only data type I have had this problem with so far..... If I change the data type to Int, it works. Anyone have any ideas? I really need numeric values for my calculations...

Thanks!
Spooky

 

Posts: 26680
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: DRW, SQL and Numeric Data Types - 2/16/2004 16:31:53   
Where are the calculations being performed?
Whats the exact error message?

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

Sp:)ky


(in reply to JMo)
JMo

 

Posts: 13
From: Kansas, USA
Status: offline

 
RE: DRW, SQL and Numeric Data Types - 2/16/2004 16:52:57   
The calculations are done in views after the data is in the SQL tables. For example, they enter 50 numbers and then I use a view to sum them.

The DRW works until you hit enter on the edit screen. The error I get on new DRW's I'm creating is this:

Database Results Wizard Error
Description: The precision is invalid.
Number: -2147467259
Source: Microsoft OLE DB Provider for SQL Server.


The error I get on my old DRW's that were initially created in 2002 is:

Database Results Wizard Error
Your page contains a query with user input parameters that could not be resolved.
This could happen if your DatabaseRegionStart webbot has an empty or missing s-columnnames or s-columntypes attributes.
You may need to read Microsoft Knowledge Base Article 817029.

If you have any information that could help, I would greatly appreciate it. I have checked all over the web and have done all the updates to try and fix it and I am stuck!

THANKS!!!

(in reply to Spooky)
Spooky

 

Posts: 26680
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: DRW, SQL and Numeric Data Types - 2/16/2004 18:56:55   
For the error, I would suggest trying the old include files first - does it cure the problem?

Attachment (1)

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

Sp:)ky


(in reply to JMo)
cfreema7

 

Posts: 41
Joined: 6/4/2003
Status: offline

 
RE: DRW, SQL and Numeric Data Types - 2/25/2004 15:23:51   
Spooky,

This close but its extremely unstable. I have seven tables in a database, in a page returning various bits of project status. First hit nothing worked. Then I refreshed, and two tables returned, then all seven, then six. I then replaced the hard coded parameter with the variable, and now only four of the tables return data, the other three give the error message.

As I said before, this all worked under fp2002. The tables are small and are components driven by two variables, Proj_ID and Date. When I hard code the criteria, everything works. When I use a variable, ?proj=1015, and hard code the date, all seven worked. Then I used the date variable, ?proj=1015&d=02/13/04 and code the each table:
fp_sQry="SELECT * FROM status WHERE (proj_id = '::proj::' AND date = '::d::')"

This returns six of seven tables :) . I get the feeling that if I refresh it enough times, this will shake things up, but its too unstable.

Here's the page: http://www.sflocals.com/evaguru/kaiser/kaiser.asp?proj=1015&d=02/13/04

Any other thoughts?

< Message edited by cfreema7 -- 2/25/2004 16:37:41 >

(in reply to Spooky)
cfreema7

 

Posts: 41
Joined: 6/4/2003
Status: offline

 
RE: DRW, SQL and Numeric Data Types - 2/25/2004 18:13:01   
Spooky,
I may have found a workaround for the _fpclass problem. The issue may not be with the fp2003 app, but with an additional file the app writes to the server.

I couldn't get things working right, so I decided to back out for a moment, and create a new database, outside of my usually web folder. I used the DRW to create a whole new database. I created the fields via DRW step 2, and followed the full process as usual. At the end, the database worked fine and allowed for hyperlinked parameters. Then, I took a look at the _fpclass folder and noticed that in addition to the _vti_cnf folder, there was a 2000 folder. this folder had a new FPDBLIB.INC, all caps, file in it. Don't know what the difference was, but I copied the entire contents of the new _fpclass folder into the web site where I was having problems, replacing the old folder, and voila, everything is working again.

Spooky, you had the zip file with the old include files, but it does not have the new 2000 file. This may need to be created for each website on an individual basis. My website has over 30 databases with close to 80 tables and hundreds of pages, and after I ftp'd the new _fpclass folder over, every database was back to working properly.

Thanks for the shove in the right direction, because I was ready to some damage to my software setup, and that's wasn't the problem.

Chris

_____________________________

Chris Freeman
www.postcardsfromthenet.com
www.evaguru.com
www.sflocals.com

(in reply to Spooky)
JMo

 

Posts: 13
From: Kansas, USA
Status: offline

 
RE: DRW, SQL and Numeric Data Types - 2/27/2004 9:20:47   
You guys are great for all of the help! My initial fix was to change the numeric data types to 3 in the html code and it has worked great. At least now my most important db is running! As soon as I get up the guts, I will try the fp_class fixes. Thanks for all your help! I still can't believe Microsoft doesn't address the issue! I knew I wasn't crazy! Thanks again! JMo

(in reply to cfreema7)
Page:   [1]

All Forums >> Web Development >> ASP, PHP, and Database >> DRW, SQL and Numeric Data Types
Page: [1]
Jump to: 1





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