G
glenn
Hi,
I save a MS Project as a MS Access database. If I open the database in MS
Access and I look at the Task Table (MSP_TASKS), I see that the Cost field
has a Number data-type and the Duration field also has a Number data type.
The Cost field should have a Currency data type.
In my ASP code, I can check between dates and numbers by simply asking,
if IsNumeric (value) then .... the value is a number otherwise it is a
date.
But if the value is a cost which in this case has a number data type, then
it should have a currency data type and not a number type. Since my code has
no way of knowing if my data is a number, as in a duration, or a cost (which
should be set as currency), my ASP code sets all numeric data to currency
which is wrong if the data is a duration or any other non-currency number.
Do I need to write an Access VBA app that changes all cost related fields to
currency? Is there a way for me to check if the value comes from a cost
field in my recordset. This could be messy...
Thanks for any tips.
Glenn
I save a MS Project as a MS Access database. If I open the database in MS
Access and I look at the Task Table (MSP_TASKS), I see that the Cost field
has a Number data-type and the Duration field also has a Number data type.
The Cost field should have a Currency data type.
In my ASP code, I can check between dates and numbers by simply asking,
if IsNumeric (value) then .... the value is a number otherwise it is a
date.
But if the value is a cost which in this case has a number data type, then
it should have a currency data type and not a number type. Since my code has
no way of knowing if my data is a number, as in a duration, or a cost (which
should be set as currency), my ASP code sets all numeric data to currency
which is wrong if the data is a duration or any other non-currency number.
Do I need to write an Access VBA app that changes all cost related fields to
currency? Is there a way for me to check if the value comes from a cost
field in my recordset. This could be messy...
Thanks for any tips.
Glenn