Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Access 2003 - VB - SQL

Featured Replies

Hi people :hello:

Am currently designing a Access2k3 database with user/group permissions to access certain parts of the database.. for this I've designed to have different startup forms based on group membership.. however I noticed there is only a CurrentUser() function in VB and no CurrentGroup().. so to get around this I've populated a table with each username in the database and their group membership.

So now the problem:-

I want to run a query that will grab the currentuser() value and check the users table and see what the group is, I have no problems creating the SQL query I want to use to do this but I have no idea how you execute the query under VB and where the result will go.. the only experience I've got in doing this was with MySQL/PHP so any points with be great.

Thanks :)

Mike


  • Author

Hi again,

I've got a deadline of Wednesday to have this done... by lack of responses I take it this must be impossible to do? I've not found much on the net but am not really a VB person so if anyone knows if this can be done or not I'll appreciate it.

Another point of attack is being able to get their group membership from Access... I've used the function CurrentUser() which works fine.. but there isn't any CurrentGroup() function.. anyone got an idea how I could get what group they are in?

Thanks

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.