yep, Richard's correct. Details can be found at: http://support.microsoft.com/?kbid=161394
hth, Owen --- In [email protected], "Richard" <[EMAIL PROTECTED]> wrote: > I am assuming that you mean the windows login name. There is a system > variable for this. Do a search in the VBA help (may be an API > function - I am not on my computer with Access at the moment). > > Hope this helps! > > Richard > > > > --- In [email protected], "jsivanan" <[EMAIL PROTECTED]> > wrote: > > Hi! > > I need the current user id to determine the pathname of "My > Documents". > > Anybody know how to extract it from the system while in Access VB? > > Specifying "C:\My Documents\filename" didn't generate an error, but > > the file couldn't be found. > > > > Just leaving out "C:\My Documents" works sometimes because it > > defaults, but several times it went to the desktop!!! > > > > Thanks in advance for your help. > > > > Jnana ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/q7folB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AccessVBACentral/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
