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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Types from Recordsets in Lotus Notes

Status
Not open for further replies.

uthomsst

MIS
Sep 18, 2001
15
GB
I've wrote some code to extract some data from lotus notes into access using odbc but I have a problem with the field types. If I use the code

Let texttest = rstnot![NorD]

This will set my text field to the correct value from the notes recordset field.

BUT
===

In some cases you cannot use the notes field names to query the data and have to use the command such as

Let texttest = rstnot!(1)

This should give me the same as before as the field NorD is the first one in the recordset and if I debug the code it does display the correct value but I get the error message.

Type declaration character does not match declared data type.

It does not matter what data type I try to move the field into it does not work. I have tried variant but nothing works

Can anyone help with this problem.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top