comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Finding a structure in a structure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Finding a structure in a structure [message #28675] Mon, 07 January 2002 13:09 Go to previous message
timothy.williams is currently offline  timothy.williams
Messages: 20
Registered: October 2001
Junior Member
I have an application that is using Dataminer to access a database,
one of the functions being to display the tables in the database. So
far, my database has been Oracle on a Sun, where my IDL on a PC. I'm
now migrating over some of the tables to Access on the PC. I now have
a problem because one of my fields has a date in it which was a STRING
before, but in the Access database is the structure
ODBC_SQL_TIMESTAMP. I'm getting an error that structures can't contain
other structures.

My plan now is to write code to convert this structure to a string so
I can put the date in the table widget structure.

How? I can do a tag_names(recordset, /structure_name) and test for
'ODBC_SQL_TIMESTAMP', but I'm not sure how to search through each
member in the database recordset structure. I don't know how to handle
the errors I will have when I call tag_names() with the members that
aren't structures.

Thanks for any help.
[Message index]
 
Read Message
Read Message
Previous Topic: WIDGET REALIZATION BUG in 5.5 ?
Next Topic: splitting difficult(?) strings

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:48:07 PDT 2025

Total time taken to generate the page: 1.19611 seconds