T
Ted
Hi all,
I have a Make Table Query. How do I control the data type that comes from a
Make Table Query? I need the data type of the table to be a number but it
keeps coming in as text. The data type of the underlying table is text and i
can't change that. i'm using the CStr function but it gives me an error. I'm
guessing bc some of the fields are blank.
i've tried
Rating Modification Factor: CSng([RatingModificationFactor])
but i get errors bc of the null values
i've tried
Rating Modification Factor: IIf(Not
(IsNull([RatingModificationFactor])),CSng([RatingModificationFactor]),[RatingModificationFactor])
but it still comes up as a Text field in the new table
i've also tried
Rating Modification Factor: CSng(nz([RatingModificationFactor]))
it works but it forces a 0 in all of the blank fields
any help would be very much appreciated
TIA
Ted
I have a Make Table Query. How do I control the data type that comes from a
Make Table Query? I need the data type of the table to be a number but it
keeps coming in as text. The data type of the underlying table is text and i
can't change that. i'm using the CStr function but it gives me an error. I'm
guessing bc some of the fields are blank.
i've tried
Rating Modification Factor: CSng([RatingModificationFactor])
but i get errors bc of the null values
i've tried
Rating Modification Factor: IIf(Not
(IsNull([RatingModificationFactor])),CSng([RatingModificationFactor]),[RatingModificationFactor])
but it still comes up as a Text field in the new table
i've also tried
Rating Modification Factor: CSng(nz([RatingModificationFactor]))
it works but it forces a 0 in all of the blank fields
any help would be very much appreciated
TIA
Ted