pls tell me whats wrong, i'm not able to use dbgetprop function used for getting database properties.
thanks
Printable View
pls tell me whats wrong, i'm not able to use dbgetprop function used for getting database properties.
thanks
please explain in detail, I think nobody is able to help you with such a short description, maybe you could post some code.
actually i'm trying to use dbgetprop function,
i saw its help in MSDN, but i'm not able to use this function in code, t says function not defined !
Do you need to add DLL's for this?
Can you post the link to the MSDN you need? maybe I can help you... just look if you have all api declarations and stuff...
here's the msdn note on dbgetprop ...
i ckhecked all the dll's
can u pls try it on ur system
DBGETPROP( ) Function
Example See Also
Returns a property for the current database or for fields, named connections, tables, or views in the current database.
Syntax
DBGETPROP(cName, cType, cProperty)
Returns
Character, Numeric, or Logical
Arguments
cName
Specifies the name of the database, field, named connection, table, or view for which DBGETPROP( ) returns information.
To return information about a field in a table or a view, preface the name of the field with the name of the table or view containing the field. For example, to return information about the custid field in the customer table, specify the following for cName:
customer.custid
cType
Specifies whether cName is the current database, or a field, named connection, table, or view in the current database. The following table lists the values you can specify for cType:
I'm sorry but dbgetprop seems to be a APIcall, well maybe it's not, but my VB (5) doesn't recognizes it, so I'm sorry but I can't help you, maybe the VB helpfiles or the MSKB can help you, oh I looked for you and it can't :mad:
ok thanks anyway !!!
if i find the solution, will definately let u know