Sorry,
This seems to get me the asset number, I'm looking for getting the user id if logged onto the system, e.g. User Name = 23543. Is this possible?
Thanks.
Hi,
Anyone know how to read a user id from the user environment/registry in VBScript. I'm new to VBScript and using IIS Server and asp pages. Is there a variable for this?
Thanks
Hi,
Anyone know how to retrieve the actual table value after these steps? New to vb and finding it difficult to figure this out?
Dim dbs As Database
Dim rst As Recordset
Dim strSQL As String
Dim strRequestNo As String
Dim retVal
Dim checker As Integer
Dim ReqNo, stDocName As String
Dim...
Hi,
I'm relatively new to VB and Microsoft Access. I currently have difficulty with the requery function. I'm trying to reload a textareas on the load event of a form. Here is the code
Private Sub Form_Load()
Me.Refresh
DoCmd.Maximize
Me.NoOfRec = Me.lstSearch.ListCount...
Cheers,
I want something like this. When a button is clicked, it creates a new row in table for a user to enter, say a new staff member details. This needs to be done dynamically.
Cheers,
Mark.
Hi,
Does anyone have an idea in Microsoft Access 97, if content on a form can be generated dynamically? I need an example as if someone clicked on a button and a textbox was then created. Can't really use hidden objects, because I need an example like, on button, it says "Create new user" and...
Cheers,
Just trying to find the index number of an element in an array. say $array[3] = "29".
Hoping there's a way of finding the index number, i.e. say the 3 number in this case.
Mark.
Hi,
actually have found solution to what I was interested in doing:
E.g. $microsoftProductNumber = grep /\Q$microsoftProductName/,@microsoftProducts;
Use \Q and this turns off special character meaning for strings when comparing to the regex.
Thanks to everyone who helped in this case.
Cheers...
Cheers,
Thanks for the replies. Have problems with txt files.
reading file line like this:
Visual C++
Error message: Nested quantifiers in regex: <-- Here in m/"InstallShield for Microsoft Visual C++ <-- HERE 6"/
Is there a problem with ++ quantifier?
I already understood the s/[replacement...
Hi,
Anyone know of a complete function that would delimit majority of special characters in a string?
E.g. +,-,@,space, /
Know I can use the translation function for tr/replace/original/d for individual characters, could this be used for groups of characters? Space and + are the major characters...
Hi,
Anyone know is it possible to insert a string value at a specific index in another string?
For example insert "234" into "657878768" at index 5 therefore overwriting it?
Cheers,
Mark.
Hi,
Anyone have an idea behind this one? I'm trying to search a string say:
branchRetrievalDetails.scheduleAtFixedRate(branchDetailsServlet,getTomorrowMorning6am(),repeat);
for something like this:
scheduleAtFixedRate(
but when I do a line =~ string comparison, I get following error:
Unmatched...
Hi,
Anyone know is it possible to replace certain characters in a string with nothing?
Tried: $variable =~ tr/\t\+\"\?//, but doesn't work.
This does work: $variable =~ tr/\t\+\"\?/ /, but replaces with characters with spaces. Any ideas?
Cheers,
Mark.
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.