Re: DCount text and autonumber
- From: "DevourU" <devouru@xxxxxxxxxxx>
- Date: Wed, 09 Nov 2005 00:30:13 GMT
CDbl did the trick. Thankx
-JS
"DevourU" <devouru@xxxxxxxxxxx> wrote in message
news:ggbcf.12089$q%.1064@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Never mind, format did the trick. Thankx
>
> -JS
>
> "DevourU" <devouru@xxxxxxxxxxx> wrote in message
> news:d%acf.12046$q%.2217@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> Thankx for the help. It works, but listed ascending, it shows as text.
>> 1
>> 10
>> 100
>> 101
>> 102
>> etc
>>
>> I am trying to sequentially number records in a query and return record
>> numbers < [value supplied from form]
>>
>> -JS
>>
>> "Duane Hookom" <duanehookom@xxxxxxxxxxxxxxxxx> wrote in message
>> news:%23wGpj0L5FHA.476@xxxxxxxxxxxxxxxxxxxxxxx
>>> Text and numbers (and Dates) are handled differently in expressions. You
>>> don't need the extra quotes for numbers.
>>> DCount("field1","QueryName","field1 <=" & [field1])
>>>
>>>
>>> --
>>> Duane Hookom
>>> MS Access MVP
>>> --
>>>
>>> "DevourU" <devouru@xxxxxxxxxxx> wrote in message
>>> news:cracf.12039$q%.5793@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>>> DCount("field1","QueryName","field1 <='" & [field1] & "'") works fine
>>>> with a text field. What am I missing for an autonumber field? I get
>>>> data type mismatch error. TIA
>>>>
>>>> -JS
>>>>
>>>
>>>
>>
>>
>
>
.
- References:
- DCount text and autonumber
- From: DevourU
- Re: DCount text and autonumber
- From: Duane Hookom
- Re: DCount text and autonumber
- From: DevourU
- Re: DCount text and autonumber
- From: DevourU
- DCount text and autonumber
- Prev by Date: Re: query needed please
- Next by Date: Re: Duplicate values in a runningsum query
- Previous by thread: Re: DCount text and autonumber
- Next by thread: Re: DCount text and autonumber
- Index(es):
Relevant Pages
|