How does the cursor move to the other box when you press Enter? This is not the default behaviour in Windows applications, so maybe you have coded something in one of the events of the first text box?
Chandra...
User Profile
Collapse
-
What version of VB are you using?
Maybe you could try:
Code:totdays = DateDiff("d",d1,d2)
Leave a comment:
-
I know its way too long after your post... but this might be helpful to you later too ;-)
The message box constant is a number whereas when you use the Line Input statement, you are reading in a string. Convert this string into a number and the code should work.
Hope this helps
Chandra...Leave a comment:
-
Look at the example for opening a record set... you need to mention the connection to the database from which this record set will attempt to fetch the data.
Hope this helps
Chandra...Leave a comment:
-
Just as a matter of explanation...
the Dir() function returns the name (not the full path) of the _first_ file found for the specified string. So Dir("*.*") will return only one name and so the Kill statement only deletes that file....Leave a comment:
No activity results to display
Show More
Leave a comment: