Conversion from type 'DBNull' to type 'String' is not valid.


Author
Message
Ricardo Quartier
Ricardo Quartier
StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)StrataFrame User (145 reputation)
Group: Forum Members
Posts: 87, Visits: 779
Hello.. this is what I am doing now... Im trying to pupulate the combo box, but i'm gettin this error "Conversion from type 'DBNull' to type 'String' is not valid.". The funny thing is that I have a a text box that loads from the same BO and loads the same field, and it's working..

PS - I dont have any null info on the "nome_clube" field on the table.

Any Clues.. anyone?

Attachments
combobox_properties.gif (286 views, 77.00 KB)
dbnull_error.gif (292 views, 62.00 KB)
sql_data.gif (261 views, 63.00 KB)
textbox_properties.gif (281 views, 76.00 KB)
Replies
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
I would like to thank Ricardo, Ben and Trent (I hope I did not miss anybody else in this thread) for this great thread. 

As a novice user of SF I am reviewing the previous posts, and then I found this one and by looking at the dedication of the SF developers to guide Ricardo to the correct path and even going the extra mile to provide detail code on how to accomplish Ricardo's request, confirmed that I made the right choice of becoming a member of the StrataFrame family.

I printed out this thread and was able to accomplish the same filtering of a data in a combo based on the selection of a previous combo and it worked the first time and without having to post a request for help.

Once again, thanks to the SF team!

Edhy Rijo

StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Glad we helped out, even if it was indirectly.  That's the whole reason we went with forum based support, so that people could peruse the topics and get some of their questions answered without having to ask them Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Ricardo Quartier - 19 Years Ago
Ricardo Quartier - 19 Years Ago
StrataFrame Team - 19 Years Ago
Ricardo Quartier - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Ricardo Quartier - 19 Years Ago
             Glad to help ;)
Trent L. Taylor - 19 Years Ago
Ricardo Quartier - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Ricardo Quartier - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Ricardo Quartier - 19 Years Ago
             Glad to hear it ;)
Trent L. Taylor - 19 Years Ago
Ricardo Quartier - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Ricardo Quartier - 19 Years Ago
Robert Linton - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Ricardo Quartier - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Ricardo Quartier - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Ricardo Quartier - 19 Years Ago
             Got it...thanks.
Trent L. Taylor - 19 Years Ago
Ricardo Quartier - 19 Years Ago
Trent L. Taylor - 19 Years Ago
Edhy Rijo - 18 Years Ago
StrataFrame Team - 18 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search