Current location: Hot Scripts Forums » Programming Languages » Visual Basic » Problem with date in combobox. Periodically lose valu


Problem with date in combobox. Periodically lose valu

Reply
  #1 (permalink)  
Old 01-09-04, 03:10 AM
Danie Danie is offline
New Member
 
Join Date: Jan 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Problem with date in combobox. Periodically lose valu

Hello everyone!
I have the following problem with date (format ‘yyyy’) in combobox: This combobox is used in a main form with more then 5 button. Each of this buttons open the new sub form on click in which the data are related with the same date in the combobox. The problem is that when you choose/click some button in the main form, after than exit of the form (automatic turn back to the main form) and try to choose some other button (to open another form) the date in combobox disappear and the “run time error 94: Invalid use of null” received.
But the real problem is that this main form work without problem to the other more than 10 (not in network) different PC-s.
The combobox has following properties
Row source type: Table/Query
Row source: SELECT Format$([YEAR],"0000") AS Expr1 FROM MODEL_YEARS; ‘Models Years is a table which contains date-year in the case 2003,2004,2005,2006 as year field is a number, field size- integer, format-fixed, decimal places-0.
That’s is. I’ll appreciate any help.
Thanks.
Reply With Quote
  #2 (permalink)  
Old 03-04-04, 02:41 PM
myxparadise myxparadise is offline
New Member
 
Join Date: Mar 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
may be your computer time or date format
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 01:18 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.