Z_Beeblebrox
asked on
Call a function Open
Hi,
I am trying to create a class to wrap around an adodb recordset. I am trying to create a disconnected recordset. As a result, certain recordset commands (move next, etc) I want to pass to the recordset but other (open, etc) I want to handle myself. But anyways in terms of user friendliness I want to conform to the adodb recordset interface as much as possible. To do this I need to create a function called open. VB won't let me because open is a reserved word. Is there any way to get around this?
Zaphod.
I am trying to create a class to wrap around an adodb recordset. I am trying to create a disconnected recordset. As a result, certain recordset commands (move next, etc) I want to pass to the recordset but other (open, etc) I want to handle myself. But anyways in terms of user friendliness I want to conform to the adodb recordset interface as much as possible. To do this I need to create a function called open. VB won't let me because open is a reserved word. Is there any way to get around this?
Zaphod.
ASKER
I want to write this in VB, not C++. Is there any way to create a class function called open in VB?
Zaphod.
Zaphod.
I know what you mean, but you are better off just naming your methods with descriptive(non-reserved) names like "OpenRecordset"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Seeing as how I accidentally posted this question for 0 points, I guess I'll just accept an answer rather than deleting the question.
Zaphod.
Zaphod.
Good luck!