access-database-training - showing info another form
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » access-database-training - Showing info from another form

access-database-training - Showing info from another form

resolvedResolved · Low Priority · Version Standard

replyReply Thu 2 Aug 2007, 12:51Delegate Marie said...

Marie has attended:
Access Intermediate course

Showing info from another form

I'm rebuilding a database and want to replicate something it does in another form. In a nutshell, the form has a lookup combo box which contains details from another table, so when you enter a piece of equipment you can choose from the combo box what kind of equipment it is. The bit that's puzzling me is that once you've chosen what you want from the pop-up in the combo box, it displays info from the line you chose in extra fields on the form. How is it doing this?? In design view, the fields that shows this info contain:

=[ComboItemKey].[Column](4)

and

=([ComboItemKey].[Column](1))+(" ")+([ComboItemKey].[Column](2))

I want to replicate this elsewhere in other forms but can't work out what this bit of code is doing/pointing at - can anyone help me out or suggest anything?

For upcoming training course dates see: Pricing & availability

replyReply Mon 13 Aug 2007, 12:12Trainer Richard said...

RE: Showing info from another form

Hi Marie

In principal, it looks like one lookup off another, however, unless I see the whole proces, it might not be. Anyway.
There may be some additonal code running this process. From what it looks like the two peices of data you send are pure lookup sources. The second one is joining the contents of two fields (Column 1 and 2) from the ComboItemkey object, wheras the first piece of data only brings through column 4.

Lookups can be a bit more complex that just pointing to the field. If you would like to to look at it a bit more closely, sned your Database to richard AT microsofttraining DOT net and I can take a look.

Regards

Richard

replyReply Mon 13 Aug 2007, 12:15Delegate Marie said...

RE: Showing info from another form

Thanks Richard - dug a bit deeper into the lookups and figured it out. Very grateful!

 

Access tip:

Convert A Form Into A Report

If there is a form that you want to to save as a report:

1. Open that form in Design View
2. Select File and Save As
3. In the Save As Dialog box Select Report

The system creates a report based on the form.

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard