• Want to help us with this year's BoS Trials?
    Let us know before 30 June. See this thread for details
  • Looking for HSC notes and resources?
    Check out our Notes & Resources page

programming question (1 Viewer)

IronyHigh

New Member
Joined
May 8, 2004
Messages
24
mouse-over tag and addnew to multiple fields

I have questions on two things in VB coding:

1) How do I make the caption-like thing that pops up when the mouse is hovered over something? Such as the "click here to begin" caption on the Start menu on MS Windows.

2) If I have 2 textboxes that are linked to two fields in a database (Field1 and Field2) how can I Add a new record to both of them using one button?

any help would be appreciated, thanks

EDIT: somehow the subject line shows as "-"....
 
Last edited:

sunny

meh.
Joined
Jul 7, 2002
Messages
5,350
Gender
Male
HSC
2002
1) Use the tooltip property

If I have 2 textboxes that are linked to two fields in a database (Field1 and Field2) how can I Add a new record to both of them using one button?
Add a new record to a field? :confused:
 
Joined
May 27, 2004
Messages
107
Gender
Male
HSC
2004
u have to use a insert SQL

is the program/webpage connected into the database? if so then use the SQL below...

("INSERT INTO nameoftable (Field1, Field2) VALUES (' " & textbox1.text & " ', ' " & textbox2.text & " ')", Field1, Field2)

i think this is right try it and see

PM if u wanna chat more
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top