|
-
Sep 18th, 2000, 04:59 AM
#1
Thread Starter
Addicted Member
Hi guys
I'm looking for help with arrays. I have a slight problem with running a program on a few computers and am trying to figure out whats wrong.
Code:
Dim Userss As dynaset
Dim UserAudit As Table
Userss.Edit
Userss![Expiry Date] = Format$(Date + PasswordExpiry, "dd/mm/yyyy")
Call logtofile(DebugLog, ":Problem is here")
' What I'm trying to do after this is declare an array of type variant and put the values that are in the Userss![Expiry Date] = Format$(Date + PasswordExpiry, "dd/mm/yyyy") into it.???
' Then what I want to do is is print all these values to a log file.
'I have the log file bit already, I just don't know how to print the values of a table to it.
I would appreciate the help. Thanks a lot
JK
[Edited by kanejone on 09-18-2000 at 07:00 AM]
-
Sep 18th, 2000, 05:42 AM
#2
Frenzied Member
I don't know about dynasets, but with recordsets you have to loop through each record and explicitly work with the data, you can't just print a whole recordset to a log file in one or two commands.
Is that what you're trying to do?
Harry.
"From one thing, know ten thousand things."
-
Sep 18th, 2000, 05:49 AM
#3
Thread Starter
Addicted Member
Thanks for the reply. Ye, that's what I was trying to do. I was trying to dim XXX as Variant an then use getRows to show the values of the RS. Is there any way this can be done??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|