Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | MS Access Guru sought?

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion

MS Access Guru sought?
Reply
 
Thread Tools
Old 04-08-2004, 15:27   #1
zoombini
cf.mega poster
 
zoombini's Avatar
 
Join Date: Jun 2003
Location: England
Services: I no longer receive cable services, I blame the inept accounts dept for that.
Posts: 3,732
zoombini has reached the bronze age
zoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze age
MS Access Guru sought?

Hello world,

I am wanting to write a small MS Access 97 database to store the information of when a drawing is issued, keeping information in such as:

Drawing name,
issue,
description,
date of issue,
issued to,
issued by
comments.

"Date of issue" to be automaticaly put in (not sure how?)

"issued to" to be selected from a drop down list or overwritten. (I can do the dropdown, but overwriting?)

"issued by" to automaticaly be filled in by finding the windows username (yet overwritable). ((I have no idea where to start with this?)

Can anyone help or suggest ways of doing the ? marked bits above please.

Thankyou,
__________________
Not really visiting CF much these days....
If you need me, PM me.
zoombini is offline   Reply With Quote
Advertisement
Old 04-08-2004, 15:41   #2
Stu038
RIP
 
Stu038's Avatar
 
Join Date: Jun 2003
Location: Leicester
Posts: 818
Stu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful oneStu038 is the helpful one
Re: MS Access Guru sought?

Quote:
Originally Posted by zoombini
"issued by" to automaticaly be filled in by finding the windows username (yet overwritable). ((I have no idea where to start with this?)
Not a great expert on this but my understanding is that you can't get Access to read the windows logon. I think it can only be done from enforcing a database logon. If I'm talking out of the rear orifice and someone show's you how it is done can you let me know how please

As for the overwriteing, in both cases you should be able to do it in the text box properties field, I can't remember exactly how. If I can get to a copy of Access in the next couple of days I'll have a nose and let you know.
Stu038 is offline   Reply With Quote
Old 04-08-2004, 15:42   #3
Jon M
Inactive
 
Jon M's Avatar
 
Join Date: Oct 2003
Location: East Midlands
Age: 48
Services: Rural BB - Radio Link via Virgin Fibre
Posts: 2,947
Jon M has a bronze arrayJon M has a bronze arrayJon M has a bronze array
Jon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze array
Send a message via MSN to Jon M
Re: MS Access Guru sought?

the date field just has to be set as the data type "date/time"

to make a dropdown just use the data type "lookup wizard"

not sure about the username bit.. it would be better to create the database with specific users if you want to do that
Jon M is offline   Reply With Quote
Old 04-08-2004, 15:45   #4
gazzae
Inactive
 
gazzae's Avatar
 
Join Date: Jun 2003
Location: Belfast
Age: 46
Posts: 4,594
gazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronze
gazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronze
Re: MS Access Guru sought?

To get the windows username http://www.techonthenet.com/access/modules/username.htm

I haven't used it so don't know how well it works.
gazzae is offline   Reply With Quote
Old 04-08-2004, 16:00   #5
gazzae
Inactive
 
gazzae's Avatar
 
Join Date: Jun 2003
Location: Belfast
Age: 46
Posts: 4,594
gazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronze
gazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronze
Re: MS Access Guru sought?

If the database is just going to be used on NT, 2000, XP machines then you can just use =Environ("Username") to get the name
gazzae is offline   Reply With Quote
Old 04-08-2004, 16:24   #6
zoombini
cf.mega poster
 
zoombini's Avatar
 
Join Date: Jun 2003
Location: England
Services: I no longer receive cable services, I blame the inept accounts dept for that.
Posts: 3,732
zoombini has reached the bronze age
zoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze age
Re: MS Access Guru sought?

After having had a play I can see now that I can use "=CurrentUser" to make it put the Access users name in a field, however this also then means that I have to create a list of users etc that have access to it.

Not hard I suppose, the link above to use the windows logon name is way over my head, I just want to autofill a field when filling in a form not a query?
__________________
Not really visiting CF much these days....
If you need me, PM me.
zoombini is offline   Reply With Quote
Old 04-08-2004, 16:38   #7
gazzae
Inactive
 
gazzae's Avatar
 
Join Date: Jun 2003
Location: Belfast
Age: 46
Posts: 4,594
gazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronze
gazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronze
Re: MS Access Guru sought?

Quote:
Originally Posted by zoombini
Not hard I suppose, the link above to use the windows logon name is way over my head, I just want to autofill a field when filling in a form not a query?
Then instead of putting the getusername() in the query you would put =getusername() as the control source of the field in the form.
gazzae is offline   Reply With Quote
Old 04-08-2004, 17:51   #8
MovedGoalPosts
Inactive
 
MovedGoalPosts's Avatar
 
Join Date: Jun 2003
Location: 127.0.0.1
Age: 62
Posts: 15,868
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
Re: MS Access Guru sought?

To create a drop down list you are using a "lookup list" for the data field. that can either be from another data table, or you can create a small list embedded in the properties of the field. Use of another table is more versatile and easily changed if your data values are likely to alter.

In the properties for the field simply set "limit to list = No" to enable stuff other than what is in the dropdown to be entered.
MovedGoalPosts is offline   Reply With Quote
Old 04-08-2004, 20:07   #9
Indians
Inactive
 
Indians's Avatar
 
Join Date: Nov 2003
Location: Grimsby
Posts: 199
Indians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of light
Re: MS Access Guru sought?

....for the date, set the field type to date/time then set the default value to =Now()

Also I would put the 'Issue' info in a seperate table linked to the main 'Drawing' table with the Drawing Number as the Primary key (link) you can then put the issue info in as a subform and have all the issue history together, assuming a drawing may be issued several times at different revisions.
Indians is offline   Reply With Quote
Old 04-08-2004, 20:32   #10
Nemesis
Inactive
 
Join Date: Jun 2003
Location: Surrey
Age: 59
Services: Virgin stuff
Posts: 6,407
Nemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny star
Nemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny starNemesis has a nice shiny star
Send a message via MSN to Nemesis
Re: MS Access Guru sought?

ok ... I've got one for you lot

Working on a Db, and I need to feed a date to a query ... preferably from a form.

i.e. get records added after date ..... the date is recorded on each record creation.
Nemesis is offline   Reply With Quote
Old 04-08-2004, 20:40   #11
gazzae
Inactive
 
gazzae's Avatar
 
Join Date: Jun 2003
Location: Belfast
Age: 46
Posts: 4,594
gazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronze
gazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronzegazzae is cast in bronze
Re: MS Access Guru sought?

I'm at home, so can't remember exactly but if you want a query to get the date from the form then its in the query its something like [forms]![formname]![controlonform]
gazzae is offline   Reply With Quote
Old 04-08-2004, 20:51   #12
Indians
Inactive
 
Indians's Avatar
 
Join Date: Nov 2003
Location: Grimsby
Posts: 199
Indians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of light
Re: MS Access Guru sought?

IIRC, gazzae is correct, you could run the query from a control on the form along with a default value for say, today to get all the records from the inputed date to now.
Indians is offline   Reply With Quote
Old 05-08-2004, 01:53   #13
greencreeper
Inactive
 
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 49
Services: Email me for a current price list
Posts: 8,270
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
Re: MS Access Guru sought?

Quote:
Originally Posted by Indians
IIRC, gazzae is correct, you could run the query from a control on the form along with a default value for say, today to get all the records from the inputed date to now.
Yeah. An unbound form with a control to enter the date and a "Go" button to run the query.

There's an Access 2000 database here. It was part of an assignment when I was at Uni. It's not brilliant but it might be useful for ideas.
greencreeper is offline   Reply With Quote
Old 05-08-2004, 10:04   #14
Indians
Inactive
 
Indians's Avatar
 
Join Date: Nov 2003
Location: Grimsby
Posts: 199
Indians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of lightIndians is a glorious beacon of light
Re: MS Access Guru sought?

If u want a small dbase to do 'Transmittals' let me know I have a blank in Access 97 u could use as a basis for your own.
Indians is offline   Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 17:54.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum