Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VisData error: :user-defined type NOT defined?

Status
Not open for further replies.

TheDisciple

Technical User
Joined
Oct 17, 2001
Messages
36
Location
US
Well as u may have guessed i'm new to VB. Not new to Pascal though. Anyway, I've used VisData to create a new DB and a new table. Along with a "dandy" lookin' Data-Aware form.

Problem:
- After setting the created Data-Aware form as the "StrtUp" form in project properties. I ran the form.

- I then added a "dummy" record via the fields in the form.
(or @ least i tried to...)

-Upon hitting the "ADD" button which the VisData Man. created (amongst others, i get an error msg as follows:

"USER DEFINED-TYPE NOT DEFINED."

-Upon pressing "DEBUG", the code-window reveals a highlited sub: PRIVATE SUB datPrimaryRS_...(...) ?

In other words, nothing is being "ADDED", "UPDATED" etc.
Q: What stupid thing am i Not doing? Seeing i am a novice @ VB?

P.S: I thought that VB was much simplier to use w/ DB's.
Aren't the event procedures that's generated fully functional & equipped to handle FUNDAMENTAL operations???


-
 
Mke sure that you have the Microsoft ActiveX data objects referenced in your project. You do this by clicking on the project menu and licking references. The just select the reference you need and click ok. Hope this is what your after. Mark

The key to immortality is to make a big impression in this life!!
 
Hey there "spell", sorry for the long follow-up time. I'm quite new to this forum & as a result had a fairly stupid time trying to find my posted thread.

Anyway, thnx for your much appreciated &quot;2-cents&quot; <: -- )

I'll give your advice a &quot;go&quot; & keep U informed, O.K?
Thnx again for the time taken to reply to me.

--TheDisciple

&quot;The voice of one crying in the wilderness.&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top