PC Review


Reply
Thread Tools Rate Thread

Cmd Button Module

 
 
Greg
Guest
Posts: n/a
 
      17th Sep 2003
Hi,

I have an equipment form, that contains the SN, model
number, and similar data elements. At the bottom I have
a cmd button, w/ the on click as =basOpenForm("RMA")

What I need is to have certain elements of information
from the equipment form to be prefilled to several fields
on the RMA Form, such as an employee id, serial number,
etc... When these are prefilled, then other elements are
displayed or can be prefilled based on the initial data.

I'm not sure what I need to write in the code to get the
fileds prefilled as indicated. Any examples, downloads,
etc... would be great!

Thanks,
Greg


 
Reply With Quote
 
 
 
 
HSalim
Guest
Posts: n/a
 
      17th Sep 2003
You can use OpenArgs to pass a comma-delimited string of values which are
then
written the fields you specify.

Look for the topic "New Item selected in Combo" in access.formscoding
I have posted a reply to the question that is very similiar to yours

HS


"Greg" <(E-Mail Removed)> wrote in message
news:0d6f01c37d5b$a545b210$(E-Mail Removed)...
> Hi,
>
> I have an equipment form, that contains the SN, model
> number, and similar data elements. At the bottom I have
> a cmd button, w/ the on click as =basOpenForm("RMA")
>
> What I need is to have certain elements of information
> from the equipment form to be prefilled to several fields
> on the RMA Form, such as an employee id, serial number,
> etc... When these are prefilled, then other elements are
> displayed or can be prefilled based on the initial data.
>
> I'm not sure what I need to write in the code to get the
> fileds prefilled as indicated. Any examples, downloads,
> etc... would be great!
>
> Thanks,
> Greg
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run a module from a button on a form Steve in S.F. Microsoft Access VBA Modules 3 7th Mar 2009 08:42 PM
Re: How to click the button from module? Tom Ogilvy Microsoft Excel Programming 0 7th Sep 2005 08:14 PM
command button for vba module =?Utf-8?B?ZGVsbWFj?= Microsoft Excel Programming 1 23rd Jun 2005 06:04 PM
run button in module is grayed out? =?Utf-8?B?TWFyaW8=?= Microsoft Access VBA Modules 1 4th Oct 2004 07:29 AM
Executing Module from Button Newman Microsoft Dot NET Framework Forms 1 18th Dec 2003 10:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:43 PM.