16df1 What's wrong with this VBA ?
Sign Up |  Live StatsLive Stats    Articles 37,335| Comments 177,292| Members 19,417, Newest tejkang| Online 455
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

What's wrong with this VBA ?

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
How wrong am I? harry haller Sikh Sikhi Sikhism 18 22-Sep-2011 02:23 AM
Is Everything Going Wrong? poundsasson Inspirational Stories 1 14-Nov-2006 09:36 AM
What am I doing wrong! Bob Information Technology 3 28-Jul-2006 08:32 AM
What have I done wrong! Bob Information Technology 12 28-Jul-2006 08:19 AM
What am I doing wrong?? Suzy Information Technology 11 16-Nov-2005 14:51 PM


Tags
wrong, vba
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:13 AM
Martin \(Martin Lee\)'s Avatar Martin \(Martin Lee\)
Guest
 
Posts: n/a
   
   
What's wrong with this VBA ?

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements

If Forms![ABC].[totalyear] Is Not Null And Forms![ABC].[paidyear] Is Not
Null Then
If Forms![ABC].[paidyear] < 3 And Forms![ABC].[regionplace] = "USA" Then
aiprs6 = "Alert, paidyear too small!!!"
End If
Else
End If

MsgBox aiprs6, , "AI"
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10474-whats-wrong-with-this-vba.html


-----------------------------
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10474

The problem ACCESS msg is "needing object" ( I transfer from Chinese to
English, thus not sure the exact English is )



*







Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:13 AM
Pieter Wijnen's Avatar Pieter Wijnen
Guest
 
Posts: n/a
   
   
Re: What's wrong with this VBA ?

Try
if not IsNull(Forms![ABC].[totalyear]) ...

HTH

Pieter

"Martin (Martin Lee)" wrote in message
news:ewQgzDwgGHA.4776@TK2MSFTNGP05.phx.gbl...
>
> If Forms![ABC].[totalyear] Is Not Null And Forms![ABC].[paidyear] Is Not
> Null Then
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10474
> If Forms![ABC].[paidyear] < 3 And Forms![ABC].[regionplace] = "USA"
> Then
> aiprs6 = "Alert, paidyear too small!!!"
> End If
> Else
> End If
>
> MsgBox aiprs6, , "AI"
>
>
> -----------------------------
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10474
>
> The problem ACCESS msg is "needing object" ( I transfer from Chinese to
> English, thus not sure the exact English is )
>



Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:13 AM
Martin \(Martin Lee\)'s Avatar Martin \(Martin Lee\)
Guest
 
Posts: n/a
   
   
Re: What's wrong with this VBA ?

You are great! It works!

However, I wonder why my sentence is not workable, my sentence really seems
like a workable and "reasonable" VBA

Thanks again!

Martin Lee


"Pieter Wijnen"

дÈëÏûÏ¢ÐÂÎÅ:O85UKgwgGHA.1324@TK2MSFTNGP04.phx.gbl ...
> Try
> if not IsNull(Forms![ABC].[totalyear]) ...
>
> HTH
>
> Pieter
>
> "Martin (Martin Lee)" wrote in message
> news:ewQgzDwgGHA.4776@TK2MSFTNGP05.phx.gbl...
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10474
>>
>> If Forms![ABC].[totalyear] Is Not Null And Forms![ABC].[paidyear] Is Not
>> Null Then
>> If Forms![ABC].[paidyear] < 3 And Forms![ABC].[regionplace] = "USA"
>> Then
>> aiprs6 = "Alert, paidyear too small!!!"
>> End If
>> Else
>> End If
>>
>> MsgBox aiprs6, , "AI"
>>
>>
>> -----------------------------
>>
>> The problem ACCESS msg is "needing object" ( I transfer from Chinese to
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10474
>> English, thus not sure the exact English is )
>>

>
>



Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:13 AM
Douglas J Steele's Avatar Douglas J Steele
Guest
 
Posts: n/a
   
   
Re: What's wrong with this VBA ?

"Is Not Null" is SQL, not VBA.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Martin (Martin Lee)" wrote in message
news:uLhGfpygGHA.1276@TK2MSFTNGP03.phx.gbl...
> You are great! It works!
>
> However, I wonder why my sentence is not workable, my sentence really

seems
> like a workable and "reasonable" VBA
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10474
>
> Thanks again!
>
> Martin Lee
>
>
> "Pieter Wijnen"
>

..with.norway>
> дÈëÏûÏ¢ÐÂÎÅ:O85UKgwgGHA.1324@TK2MSFTNGP04.phx.gbl ...
> > Try
> > if not IsNull(Forms![ABC].[totalyear]) ...
> >
> > HTH
> >
> > Pieter
> >
> > "Martin (Martin Lee)" wrote in message
> > news:ewQgzDwgGHA.4776@TK2MSFTNGP05.phx.gbl...
> >>
> >> If Forms![ABC].[totalyear] Is Not Null And Forms![ABC].[paidyear] Is

Not
> >> Null Then
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10474
> >> If Forms![ABC].[paidyear] < 3 And Forms![ABC].[regionplace] = "USA"
> >> Then
> >> aiprs6 = "Alert, paidyear too small!!!"
> >> End If
> >> Else
> >> End If
> >>
> >> MsgBox aiprs6, , "AI"
> >>
> >>
> >> -----------------------------
> >>
> >> The problem ACCESS msg is "needing object" ( I transfer from Chinese to
> >> English, thus not sure the exact English is )
> >>

> >
> >

>
>



Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:13 AM
Martin \(Martin Lee\)'s Avatar Martin \(Martin Lee\)
Guest
 
Posts: n/a
   
   
Re: What's wrong with this VBA ?

  Donate Today!  
Hi Mr. Steele !

I remembered not long before, I have made the same mistake. It looks quite
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10474
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10474
the same to me.


Martin Lee


"Douglas J Steele" дÈëÏûÏ¢ÐÂÎÅ:e0FDaxygGHA.1272@TK2MSFTNGP03.phx.gbl ...
> "Is Not Null" is SQL, not VBA.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "Martin (Martin Lee)" wrote in message
> news:uLhGfpygGHA.1276@TK2MSFTNGP03.phx.gbl...
>> You are great! It works!
>>
>> However, I wonder why my sentence is not workable, my sentence really

> seems
>> like a workable and "reasonable" VBA
>>
>> Thanks again!
>>
>> Martin Lee
>>
>>
>> "Pieter Wijnen"
>>

> > .with.norway>
>> дÈëÏûÏ¢ÐÂÎÅ:O85UKgwgGHA.1324@TK2MSFTNGP04.phx.gbl ...
>> > Try
>> > if not IsNull(Forms![ABC].[totalyear]) ...
>> >
>> > HTH
>> >
>> > Pieter
>> >
>> > "Martin (Martin Lee)" wrote in message
>> > news:ewQgzDwgGHA.4776@TK2MSFTNGP05.phx.gbl...
>> >>
>> >> If Forms![ABC].[totalyear] Is Not Null And Forms![ABC].[paidyear] Is

> Not
>> >> Null Then
>> >> If Forms![ABC].[paidyear] < 3 And Forms![ABC].[regionplace] = "USA"
>> >> Then
>> >> aiprs6 = "Alert, paidyear too small!!!"
>> >> End If
>> >> Else
>> >> End If
>> >>
>> >> MsgBox aiprs6, , "AI"
>> >>
>> >>
>> >> -----------------------------
>> >>
>> >> The problem ACCESS msg is "needing object" ( I transfer from Chinese
>> >> to
>> >> English, thus not sure the exact English is )
>> >>
>> >
>> >

>>
>>

>
>



Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
‘Bigoted’ Facebook...
Today 07:33 AM
0 Replies, 1 Views
Australia mulls allowing...
Today 07:30 AM
0 Replies, 1 Views
Woolwich Killing: The...
Today 06:41 AM
3 Replies, 58 Views
Request for assistance...
Today 04:52 AM
9 Replies, 110 Views
Panjabi
By Ishna
Today 04:40 AM
16 Replies, 306 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 03:09 AM
316 Replies, 7,633 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 03:00 AM
179 Replies, 4,532 Views
How does Sikhi help you...
Today 00:52 AM
31 Replies, 977 Views
Transgenderism ... Right...
By Kaylee
Today 00:33 AM
25 Replies, 1,262 Views
Losing My Religion: Why...
Today 00:00 AM
14 Replies, 389 Views
Occultism - Rejection in...
Yesterday 23:57 PM
61 Replies, 2,624 Views
Kirtan
Yesterday 21:24 PM
0 Replies, 36 Views
Keeping Amrit Vela
Yesterday 16:49 PM
12 Replies, 937 Views
Do you believe in...
Yesterday 15:08 PM
196 Replies, 4,106 Views
Black Sikhs?
Yesterday 06:33 AM
20 Replies, 5,888 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 07:40 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.44399 seconds with 32 queries
0