June 17, 200322 yr Hi all, Just a quick question Rather than using the menu item Application Preferences to change the Username I was hoping to set up a global field which when scripted would set the current username to whatever was in the global field. I cannot find the set CurrentUsername function anywhere, does anyone know a way to do this please? I'm on FM 6 on Win2K Thanks all Ed.
June 17, 200322 yr Author OK Christian you have officially scared me now! Any chance of a few pointers on this please, have never attempted writing a batch file before and registry scares me! Thanks Ed
June 17, 200322 yr open regedit, look for HKEY_CURRENT_USER/Software/FileMaker/preferences. For instructions on how to implement this, search for registry in all forums. see attachment for registry info (regedit.exe) vbs-solution here http://www.fmforums.com/threads/showflat.php?Cat=&Board=UBB15&Number=39227&Forum=All_Forums&Words=registry&Match=Entire%20Phrase&Searchpage=1&Limit=25&Old=allposts&Main=39227&Search=true#Post39227
June 17, 200322 yr but: it's far easier to implement kind of a "lightweigt" login routine which requires the user to identify first, then put this into a global. see custom login routine for this. if you are using filemaker security, you can setup different passwords with same rights in different groups, then get the group name with status(currentgroup). This will also identify your users, but can be a pain to implement with many users. Why not just trust them to select the right name from a popup list, and type a short password. no tight security necessary here.
June 17, 200322 yr Author Many thanks for all your help Christian, will have a look at all of this now! Regards Ed
Create an account or sign in to comment