Problem with "Dim as Field" 
Author Message
 Problem with "Dim as Field"


I use VB4/16 under Win95.

I try to add a field to a TabeleDef.
But I get an error 91 (Object-variable not defined)

I have no problem opening databases and creating recordsets, why can I not
define a new field ?

What is wrong with my code ?

Dim myField as Field
myField.Name = "Name"   <--- error 91
myField.Type = dbtext


please CC an e-mail, thx.


Heinz Wieczorek   74226 Nordheim   Germany

Out-of-coffee-error at 2 am. System halted.

Fri, 30 Jul 1999 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Problem with "Dim as Field"

2. dynamically dim a variable ie dim "variable"&n

3. Problem With "window.showmodaldialog("")"

4. "late" DIM statements

5. PROB with "dim as new ADODB...."

6. "Un-dim" Array

7. PROB with "dim as new ADODB...."

8. What is "Dim X%"?

9. PROB with "dim as new ADODB...."

10. VB7 and "Dim WebPublic"

11. Access 2000 "Required" Field Problem

12. Problem accessing field using "!"


Powered by phpBB® Forum Software