access+training+london - look up fieldsimported data
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » access+training+london - Look up fields/imported data

access+training+london - Look up fields/imported data

The UK's most regular instructor-led training courses.
Training information: access+training+london · Microsoft access courses · Microsoft Access Training
See also · microsoft access training · access vba courses · access database course

resolvedResolved · Low Priority · Version Standard

Look up fields/imported data

Sinéad has attended:
Access Intermediate course
Access Advanced course
Access VBA course

by - delegate Sinéad [15 posts] (2007 May 21 Mon, 12:01) replyReply

Due to the fact that the database I have set up is used by both remote and office workers, I use forms and import excel spreadsheets to keep the data updated. If I create a table by importing a spreadsheet, and then convert one of those fields to a lookup field, I find that it deletes the date that was already in that field. How do I prevent this from happening?

Access Advanced 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Dec 3 Wed Southwark 5 book now £219 £235
2003 2008 Dec 19 Fri Bloomsbury 5 book now £219 £235
2003 2008 Dec 24 Wed Bayswater 0 FULL    
2003 2009 Jan 7 Wed Southwark 7 book now £203 £230
2003 2009 Jan 14 Wed Bloomsbury 8 book now £187 £224
2003 2009 Jan 23 Fri Bloomsbury 7 book now £203 £230
Full Schedule: See all 45 Access Advanced course dates.
Bookings currently available until 25th November 2009.

RE: Look up fields/imported data

by - trainer Richard platinum contributer[818 posts] (2007 May 24 Thu, 14:41) replyReply

Sinead,

You could create the lookup at the form level, rather than at the table level. That way the underlying table would remain the same as imported and the form could modify the data where required.

Regards

Richard

RE: Look up fields/imported data

by - delegate Sinéad [15 posts] (2007 Jul 19 Thu, 13:11) replyReply

At the risk of sounding obtuse - do you mean typing in the data from a list of options at form level, or referencing a previously created lookup table at form level?

RE: Look up fields/imported data

by - trainer Richard platinum contributer[818 posts] (2007 Jul 26 Thu, 16:03) replyReply

Hi

Both your options above sound like they would work.
Perhaps it would help to know why you are creating a lookup for a date field? What are you looking up?

Thanks

Richard

RE: Look up fields/imported data

by - delegate Sinéad [15 posts] (2007 Jul 27 Fri, 09:53) replyReply

My apologies, I've reread my initial query and I was referring to deleting the data not the date.

RE: Look up fields/imported data

by - trainer Richard platinum contributer[818 posts] (2007 Jul 30 Mon, 11:34) replyReply

ok , thanks.

So you are importing a speadsheet into a table, and then creating a lookup on that field. My thought is that you are using the LOOKUP WIZARD from the data types. By using this the data is deleted at the last step to maintain the data integrity.

So, here is the workaround.

Instead of using the data type, go to the field properties area, and click on the LOOKUP tab.

1. Choose combo box
2. Row Source type will appear and be TABLE / QUERY
3. ROW SOURCE - click on the ....'s next to the arrow.
4. This will open a query window, which you can choose the table and field that you want to lookup.
5. Once the query is built, simply close the query using the X at the top left of the query window, and click YES on the message box
6. This is add an SQL statement like "Select [field] from [table].
7. The last step, if required, is to set the last field in the LOOKUP properties area "LIMIT TO LIST" to either YES or NO, depending on your requirements.

Once this is all done, then you can change to the table view, and save the table.
This should get you around the issue.

Let me know how you do.

Regards

Richard


Related articles

· 3 Useful Things You'll Learn in Microsoft Access Training Courses
· Convert a Paper Trail to a DBMS
· Quick MS Access Training: Creating Custom Database Tables in 12 Simple Steps
· Microsoft Access Mistakes to Avoid
· The Benefits of Certified Microsoft Training in Access

Access tip:

Open A Combo Box Automatically

This is helpful if users need to enter large amounts of data. There are two ways to open ComboBoxes when they get the focus by using the tab keys.

When the ComboBox gets focus:

Press Alt + Down Arrow on the keyboard

For it to happen automatically, needs a bit of coding:

1. Add a combo box and a text box control to the form
2. Set the combo box's On Got Focus property to the following event procedure:

Private Sub ComboBoxName _GotFocus()

Me!ComboBoxName.Dropdown

End Sub


3. Open your form in Form View and use the TAB key to make sure it works.

View all Access hints and tips

Rate this page:
4.0/5 (3 votes cast)
Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz