473,321 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Very simple noobie question!

its the most basic thing in the world but im just getting started with access and VB, i am more used to C++ but still a bit hazy on that too, anyway its a simple names database which to start with we will say has the fields:

first name
second name
department

i have a form with two buttons, add and edit, (add i can handle) when you click edit, i have a listbox that pops up with the names, i want to be able to double click a name and have a form with the 3 fields pop up already populated with the data of the selected person so you can change it and then press an enter button

my main problem is lack of knowledge about access obviously so any help would be very welcome, thanks!!!
Nov 21 '07 #1
2 1092
just to clarify with a bit more looking at this, the list box is bound to the name ID, i'm assumign i'll have to include a query for the next part?

if it helps, i am using access 2002
Nov 21 '07 #2
ok, in case it helps anyone else, i found out for myself what to do!

--> create new query like 'edit name' and a for like 'edit name form' etc.

get the list with all the names to be bound to the name id by including it in the properties and setting Name ID as the bound column

in the query set the criteria for the Name ID as the function for Name ID and in the form edit name, set record source as the query edit name and bingo bango, it works! (ish)
Nov 21 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Gene Ellis | last post by:
Very simple question. If I have the XML file below: <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="newspage.xsl"?> <newspage> <content>Click here for blah...
6
by: Aristotelis E. Charalampakis | last post by:
Hi all, this is a newbie question :-) I was wondering if there was a way to use the switch statement in a manner that each case statement includes more that a simple value. i.e.: switch (...
1
by: Aristotelis E. Charalampakis | last post by:
Hi everyone, this is a newbie question... I have a dll written in c++. This dll is called from a executable written in VB 6.0 I want to use a variable (say a float) within multiple functions...
2
by: jimi_xyz | last post by:
Hi, I current have a from with 12 textboxes, and want to index all of them, i keep getting this error.. 'System.Windows.Forms.Control.ControlCollection' does not contain a definition for...
3
by: alcapoontje | last post by:
hi there, i'm already searching the internet for a couple of days to find an answer on this (simple) questions but i couln't find anything usefull. - how to quit and open a programm like "word" with...
3
by: maharg | last post by:
Hi, I have a small application that displays an html file locally from the hard drive. Using Navigate2, I would like to launch the html from the same directory using a relative path. Right...
6
by: gonzlobo | last post by:
I've been using Python for a few days. It's such the perfect language for parsing data! I really like it so far, but I'm having a hard time reading a file, reading the first few hex characters &...
6
by: ianbrn | last post by:
Hello, I have a struct defined thus: typedef struct myStruct { int j; } myStruct; I saw somewhere calls with the following syntax: f1(&*a)
1
by: nick777 | last post by:
Hope the Community can bear with me as I muddle with the vocabulary since I am not really sure if I am going about this the correct way. My question is as follows: If I had some sample data in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.