LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default HELP: Auto Populate Excel Userform fields from access query result

Hi All,

How do I populate Access query results in excel userform text fields?

For eg;

I have a Query: "SELECT Student_ID, Course, Grade, Qtr_ID" & _
" FROM Student_Info WHERE Student_ID = " & _
Me.StudentId.Value

Here Me.StudentId.Value is a text box in excel userform

And here is what the query results look like:

Student_ID Course Grade Quarter_ID
JP1124 Math A SP01
SP1164 Phy B SP01

Here "Student_ID, Course, Grade, Quarter_ID" are the column headers in Access

The userform looks like this:

Student ID: [ ]

Course Grade Quarter_ID

[ ] [ ] [ ]
[ ] [ ] [ ]
[ ] [ ] [ ]

So the query results will go into different textboxes [ ]

Hope I made it clear,

Thanks in advance



Thanks in advance
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP PLEASE: Populate certain userform fields from access database sam Excel Programming 13 November 25th 09 09:44 PM
HELP Error: Trying to populate userform fields from access databas sam Excel Programming 1 November 18th 09 09:41 PM
populate some userform fields from access database sam Excel Programming 1 November 9th 09 05:35 PM
Populate userform fields from access database sam Excel Programming 1 November 7th 09 12:49 PM
HELP JOEL: auto populate certain userform fields from access datab sam Excel Programming 0 November 5th 09 07:16 PM


All times are GMT +1. The time now is 12:32 AM.

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

About Us

"It's about Microsoft Excel"