If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Why always stop on a line?
Hi, I am using Access 2000. I created some code behind a form. When the
form loading, it always stop at a line. The line is highlighted, press RUN, the code will be executed smoothly and next time run to this line was fine. This happens only when open the database and run this line first time. The line is: dtPicker = Date This line caused an error when I copy the database to a new PC, because the PC's date format mismatch the previous one. I changed the date form of the PC, everything seemed fine except just whenever running to this line First Time, it will stopped and the line is highlighted. Anyone can help? |
#2
|
|||
|
|||
Occasionally, a phantom break got stuck in the code.
Try: * Open any code window * Type some space characters at the end of any line then move the cursor to another line. This simply allows you to re-compile the code. * Use the Menu Debug... / Clear all breakpoints. * Recompile and save. * Close your database & re-open for testing. -- HTH Van T. Dinh MVP (Access) "Min" wrote in message ... Hi, I am using Access 2000. I created some code behind a form. When the form loading, it always stop at a line. The line is highlighted, press RUN, the code will be executed smoothly and next time run to this line was fine. This happens only when open the database and run this line first time. The line is: dtPicker = Date This line caused an error when I copy the database to a new PC, because the PC's date format mismatch the previous one. I changed the date form of the PC, everything seemed fine except just whenever running to this line First Time, it will stopped and the line is highlighted. Anyone can help? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I stop [SPAM] in the Subject line of my messages? | vb53708 | General Discussion | 1 | April 2nd, 2005 07:21 AM |
How do I stop the auto capitalization of words on a new line? | JWA | General Discussion | 1 | March 1st, 2005 04:00 PM |
axis label multi line help | SP | Charts and Charting | 4 | January 23rd, 2004 09:44 PM |