A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Module or query



 
 
Thread Tools Display Modes
  #1  
Old June 24th, 2009, 07:37 PM posted to microsoft.public.access.gettingstarted
Striker
external usenet poster
 
Posts: 47
Default Module or query

Can anyone point me to a simply module that handles executing a SQL
statement, then populating a form with the results?

I'm finding VBA for Access2007 very different from when I learned VBA 6
years ago.

I'm wondering if there is any advantage in pre-defining queries, as the
person before me did. Or is it better to place the code in a module and
execute it on command. Then pop the date into a form. At least this way I
can do some error checking and validation before updates are made.

Do these sound like an Access Newbie questions?

Thanks

  #2  
Old June 24th, 2009, 11:16 PM posted to microsoft.public.access.gettingstarted
Beetle[_4_]
external usenet poster
 
Posts: 36
Default Module or query

It depends somewhat on what you're doing. In some cases
it might be better to have a stored query, other cases it might
be better run SQL in VBA.

Can you give us some more info about what exactly you
are trying to accomplish?

_________

Sean Bailey

"Striker" wrote in message
...
Can anyone point me to a simply module that handles executing a SQL
statement, then populating a form with the results?

I'm finding VBA for Access2007 very different from when I learned VBA 6
years ago.

I'm wondering if there is any advantage in pre-defining queries, as the
person before me did. Or is it better to place the code in a module and
execute it on command. Then pop the date into a form. At least this way I
can do some error checking and validation before updates are made.

Do these sound like an Access Newbie questions?

Thanks



 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:28 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.