[mso] Re: Access - Expression in Macro Argument (Disregard)

  • From: "John Rischmiller" <john@xxxxxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Wed, 23 Jun 2004 17:04:54 +0100

<I wish I were younger; I'd go to school and learn how to code.>

My 2-penny(cent)worth:

1. You're not too old to learn to code, ever! I've been teaching Visual
Basic in Adult Education for 7 years and it's great seeing the range of
students I get, from 18 year-olds who are looking to get a job, through
middle-aged to improve their skillset at work, to people who've retired
and do it for fun and to keep the brain active.

2. I come to access from a coding background, and can't get on with Access
macros, mainly 'cos I don't try hard enough. Then again I hated WordBasic
too. I even coded 123 (for DOS) macros once.

Convert it to code. It's easier to debug (many more tools available,
breakpoints, immediate window, watches etc.), much more logical/flexible.

3. VBA knowledge is transferable, i.e. same VBA language for Access,
Excel, Word, Outlook plus 3rd party stuff, and of course VB itself.

OK, start the next "Access vs Excel" type war!

Regards - John

-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf
Of Peter Chiavaro
Sent: 23 June 2004 15:39
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Access - Expression in Macro Argument (Disregard)


-----Original Message-----
]On Behalf Of Green
Sent: Wednesday, June 23, 2004 6:03 AM
Subject: [mso] Re: Access - Expression in Macro Argument (Disregard)

er... what did you find Peter?

Lisa



I found that sometimes I'm really stupid! (sometimes) LOL.

I had a macro action that was crashing BEFORE the one I thought was =
crashing. As a result, I kept adjusting the one I thought was faulty but =
was not. (I was in a loop for 4 hours. It ruined my whole day)

That's the problem with macros... hard to debug.

I wish I were younger; I'd go to school and learn how to code. I am so =
jealous of those code dweebs, you have no idea. I want to choke them.

Using a Macro to change the record source of a form.

Action: SetValue


The correct syntax:

Item: [Forms]![AnyForm].[RecordSource]
Expression: "[AnyTable]"

I did this many times to change the record source to a report, but only =
a few times for a form. Instead of writing 10,000 different reports, you
can simply use the same = report and just change the record source. (if
need be)


More Later.

Peter C.
Stuart, FL=20

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes)
in the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also
allow you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send
a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
invitation with instructions.  Once you are a member of the files group,
you can go here to upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: