A simple method of encryption would be to Xor the Asci value of each character, although this is very easy to break by a determine hacker it will confuse the average user.
Function Crypter(pStrSent As String) As String
Dim i As Integer
Dim NewLetter As String
For i = 1 to Len(pStrSent)...
If you use a delimiter in the file (comma, tab) then you could import this through the import right click and then save the file specification.
To automate importing you would then be able to use the DoCmd.TransferText function in VBA (Look it up in vba help for full list of parameters)
Danny...
Is this supposed to be a variable representing the form name
[+transcript]
or is this the actual form name? Is the Form Loaded (Open)?
Danny
Never Think Impossible
You can either set up custom menus for each type of user and activate the respective one for each form as the enter the database.
Or if the permutations are going to be too many then you might consider coding these in at run-time, although trickier it can be done.
You would be better using the...
mordja,
because you are submitting to the logerror function before your if statement you are infact sending the information from the Error Object, which will populate your table.
Inside this function you are again setting the error event handler, so therefore you are resetting the Err object...
Traycee,
The function will take parameters not table fields.
Could you post some more of the function so we can establish what is trying to be achieved.
Danny
Never Think Impossible
You can capture the form names by using the AccessObjects Collection..
It does however depend on what version of Access you are using.
If A2K or above then I'll demonstrate.
Danny
Never Think Impossible
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.