Yeah i did the response.Write to the browser and i was blank. I will try the 
other things you suggested. WHat variable type would you suggest to hold 
this value? I am using access as a database. I added this field and they are 
all blank now as people have to login first to make a value. In access is 
there a way to paste a 1 into all the fields at once instead of one at a 
time? Usually things like this are simple but not this time. Thanks


Have a nice day.
----- Original Message ----- 
From: "Mark E" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 07, 2004 2:07 PM
Subject: Re: [AspClassicAnyQuestionIsOk] If then else block very simple?


>
> Try trimimg the field name/variable:
>
> If Trim(strLoginAmount) = "" Then
>
> Or
>
> If Len(Trim(strLoginAmount)) = 0 Then
>
> If neither work, response.write your values to the browser to see what 
> they hold.
>
> Mark
>
> [EMAIL PROTECTED] wrote:
> I have a field name LoginAmount that is empty in my access DB as I added 
> it
> way after I have 1600 plus members. I have a code block now to test if it 
> is
> emplty and if it is then it will = 1. It is not working.
>
>
> 'If strLoginAmount = "" Then
>   strLoginAmount = 1
>
> 'Else
>   'strLoginAmount = strLoginAmount + 1
>
> 'End If
>
>
>
> I just want it to = 1 if it is emply Else will be incemented. What is the
> proper syntax?
>
>
>
> Yahoo! Groups SponsorADVERTISEMENT
>
>
> ---------------------------------
> Yahoo! Groups Links
>
>   To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
>
>   To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
>   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to